Be the first to rate this file! 12 Downloads (last 30 days) File Size: 246.83 KB File ID: #11645
image thumbnail

Bayesian Analysis Exploiting Discretization

by Hovav Dror

 

06 Jul 2006 (Updated 07 Jul 2006)

Numerically evaluation a posterior through discretization

| Watch this File

File Information
Description

Bayesian analysis is often hard to implement. While working on sequential experimental design for GLM, we suggested a simple implementation that numerically assesses the posterior in cases where the closed form of the Bayesian posterior is hard to formulate, exploiting a discretization of the prior. Our representation is reminiscent of importance sampling, in that we simulate the discrete points from the prior, and then weight by the ratio of the posterior to the prior, that is, by the likelihood.
We have used Bayesian analysis as a reliable method for analyzing GLM when there are only few observations. Using regression techniques for analyzing GLM with a small sample often leads to unreliable results, including large confidence ellipsoids and high bias. Furthermore, this method allows estimation of the model coefficients even when the number of observations is smaller than the number of coefficients.

For details, see section 3.1 of Hovav A. Dror and David M. Steinberg (2006). ?Sequential Experimental Design for Generalized Linear Models,? Technical Report RP-SOR-0607, Tel Aviv University, available at http://www.math.tau.ac.il/~dms/GLM_Design

Examples for utilization of the method are found in the examples provided for sequential experimental design, either on the website, and in a different file on MATLAB central file exchange. In addition, this file contains two examples which focuses only in this issue:

Binomial example, providing Bayesian Posterior Interval (?Credible Interval?): BayesianInterval.html, BayesianInterval.m, Screenshot: BaysianInterval.jpg
Bayesian Inference for a Poisson multivariate example: BayesianInferencePoisson.html, BayesianInferencePoisson.m, Screenshot: BayesianInferencePoisson.jpg

Most recent details are available at: http://www.math.tau.ac.il/~dms/GLM_Design

Required Products Statistics Toolbox
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
07 Jul 2006

updated "inspired by"

Tag Activity for this File
Tag Applied By Date/Time
statistics Hovav Dror 22 Oct 2008 08:32:16
probability Hovav Dror 22 Oct 2008 08:32:16
bayesian inference Hovav Dror 22 Oct 2008 08:32:16
small sample Hovav Dror 22 Oct 2008 08:32:16
credible intervals Hovav Dror 22 Oct 2008 08:32:16
bayesian inference Moises Sanchez 31 Oct 2008 12:19:45

Contact us at files@mathworks.com