Home arrow PHP arrow Implementing Bayesian Inference Using PHP: Part 2

Implementing Bayesian Inference Using PHP: Part 2

While the first article in this series discussed building intelligent Web applications through conditional probability, this Bayesian inference article examines how you can use Bayes methods to solve parameter estimation problems. Relevant concepts are explained in the context of Web survey analysis using PHP and JPGraph. (This intermediate-level article was first published by IBM developerWorks on April 12, 2004 at  http://www.ibm.com/developerWorks).

TABLE OF CONTENTS:
  1. Implementing Bayesian Inference Using PHP: Part 2
  2. Defining simple surveys
  3. What is parameter estimation?
  4. Computing the MLE
  5. Graphing the likelihood distribution
  6. Algebraic cleverness
  7. Bayes estimators
  8. Beta distribution sampling model
  9. Beta distribution source code
  10. Conclusions
By: developerWorks
Rating: starstarstarstarstar / 2
January 12, 2005

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Statistics consists of a set of classic problems and knowledge about the methods that might be used to solve those problems. Classic problems in statistics include parameter estimation, hypothesis testing, prediction, model selection, and decision making. Researchers in artificial intelligence have added classification, clustering, and learning to this list of inference problems.

Bayes inference methods are distinguished from other inference methods (such as least squares, maximum likelihood, maximum entrophy, minimum description length) by the fact that a Bayes inference method can be applied to every type of problem in this list and often represents the optimal method to use. Statisticians, philosophers, and computer scientists have proposed numerous guides to reliable inference, but Bayes inference methods reign supreme as the most versatile and often the most effective set of methods to use for a vast range of inductive inference problems.

In this article, I will discuss the classic problem of parameter estimation and develop Bayesian parameter estimation code using the popular Web scripting language PHP. I am specifically concerned with developing parameter estimation code that might be used in the analyses of simple Web surveys.



 
 
>>> More PHP Articles          >>> More By developerWorks
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: