bivariate-grid - Chapter 6 Beyond the Normal. Other...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Chapter 6 Beyond the Normal. Other Bivariate Posteriors using the grid method. No conjugacy and no easy conditional distributions situation (I) 6.1 Introduction Beyond the normal distribution, few multiparameter sampling models allow simple explicit calculation of posterior distributions. To illustrate that practical analysis is possible for some problems using simple simulation techniques, we present here an example of nonconjugate models. This is an example of a nonconjugate model for a bioassay experiment, drawn from literature on applied bayesian statistics. This case was analyzed in Gelman et als book (1995, p. 82), and we only add the programming to it, along with some interpretations. The model is a two-parameter example from the broad class of generalized linear models to be considered more thoroughly later in the course. Required reading for this topic, in addition to this lesson, is chapter 4 of Ho ff s book and the discussions on grid in chapter 6 of Ho ff . 6.2 Preliminary knowledge required The parameter that will appear in this problem is between 0 and 1. The logistic function applied to a variable z is given by f ( z ) = 1 1 + e- z- < z < f ( z ) 1 Now lets go from the logistic function to the logistic model, which is usually the primary focus. To obtain the logistic model from the logistic function we make z = + x . We will also call = f ( z ) and, then we have that = 1 1 + e- ( + x ) The parameters and are unknown and need to be estimated from the data. When a probability parameter is written in this form, we say that the model is a logistic model. There is an alternative way of writing the logistic model, called the logit form of the model. To get the logit from the logistic model, we make a transformation of the model. The logistic transformation of is defined as logit ( ) = log 1- 37 Stats C180 / C236 Introduction to Bayesian Statistics Juana Sanchez UCLA Department of Statistics where the log is the natural log (base e). Substituting for , we get logit ( ) = 1 1 + e- ( + x ) 1- 1 1 + e- ( + x ) = log 1 1 + e- ( + x )- 1 ! = log 1 e- ( + x ) ! = + x This last expression is called a logistic regression model. As we will see below, a count of deaths are binomial random variables P ( x | ) = n x ! x (1- ) n- x So we do the inverse transformation of the logit to put it into this probability distribution. Lets go through the steps: logit ( ) = log 1- This implies that e logit ( ) = 1- e + x = 1- e + x- e + x = (1 + e + x ) = e + x = e + x 1 + e + x With this background on the logistic model (which, by the way, is more interesting when you have more covariates), we can investigate the data that follows....
View Full Document

This note was uploaded on 11/24/2010 for the course STAT 201a taught by Professor Wu during the Spring '10 term at Pasadena City College.

Page1 / 13

bivariate-grid - Chapter 6 Beyond the Normal. Other...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online