[Bayesian Statistics] Parametric Nonlinear Models
Ch19. Parametric nonlinear models
This post is a summary of Chapter 19 of the textbook Bayesian Data Analysis.
Table of Contents
19.1 Example: serial dilution assay
19.2 Example: population toxicokinetics
19.0 Linear vs Nonlinear
GLM: The function of the mean response is modeled as a linear combination of the predictor variables.
However, problem is that not all phenomena behave linearly even under transformation.
- Complicated relationships between predictors and outcomes can be represented using usual pdfs!
- parametric nonlinear model: prespecified functional form with unknown parameters.
- Difficulties arise in parameter interpretation and there is no one-size-fits-all approach.
19.1 Example: serial dilution assay
Serial dilution assay: A common design for estimating concentrations of compounds in biological samples, where measurements are taken at several different dilutions of a sample.
laboratory data illustration
Example of cockroach allergens in the homes of asthma sufferers:
- We want to estimate the concentrations of the “Unknowns” 1-10, using observed concentrations of “Standards”.
- Asterisks indicates “below detection limit”, which cannot be estimated by standard procedures. Neglecting these estimates is problematic because there seem to be some information in these lower measurements as they decline consistently with dilution.
- Bayesian inference allows this distinction between “zero” concentrations and “merely-zero” concentrations.
Model Specification
Joint model is decomposed into four submodels:
- 1. Expected color intensity for a given concentration
- 2. Measurement errors for the optical readings
- 3. Errors introduced during the dilution preparation process
- 4. Prior distributions for all of the parameters
1. Expected color intensity for a given concentration
- Note that the mean response (concentrations) is in nonlinear relationship with the predictors.
- This functional relationship is defined using field-specific prior knowledge.
2. Measurement errors
- A is arbitrarily determined as 30 which is the median of x (included so that $\sigma_y^2$ can be more directly interpreted as the error sd for a “typical” measurement)
- The error is accounted by the variance of the Gaussian distribution.
- Since the measurements are skewed towards 0, we don’t want our model to overstate the precision near 0 concentration.
3. Dilution errors
- We only consider the initial dilution error, which can possibly happen when the measurements of standards is interfered by inert liquid.
4. Priors
- We use noninformative priors with the constraint that probability of a specific sample must add up to 1.
Inference
Posterior samples were attained by implementing MCMC algorithm with BUGS package in R.
- The posterior median estimates and posterior 50% intervals are:
- Estimated concetrations for the unknown samples:
- We can see that the estimates are obtained even for samples like 8, where it was classified as “below detection limit” using traditional methodologies.
- Residual plot implies reasonable fit.
19.2 Example: population toxicokinetics
As a more complicated application of Bayesian parametric nonlinear models, we consider an example with multivariate parameters and hierarchical model structure.
Background
- Perchloroethylene (PERC) is a industrial byproduct which is believed to cause cancer. This is breathed in by air and metabolized in the liver so our interest is in the amount of metabolized PERC.
- In this sense, we want to estimate the “fraction of PERC metabolized” as a function of the concentration of the compound in the breathed air while taking into account the population variation.
- The existing toxicokinetic model can be a good starting point as a prior knowledge. In fact, we have to to use somewhat informative prior in order to properly estimate the parameters.
- It is known that there exists 15 parameters to determine metabolized PERC for each subjects.
Notation
Model Specification
The model can be decomposed into 3 parts such that:
- Measurement model
- Population model
- Priors
1. Measurement model
- Existing toxicological model is utilized as a component of the nonlinear model.
- It is assumed that the expected amount of blood concentration and air concentration have some functional (nonlinear) relationship with respect to the parameters, exposure level and time.
- To account for some possible measurement error, we define the measurement model as follows:
- Note that the prior mean is centered at zero, since our goal is in comparing the response among different subjects.
2. Population model for parameters
- We take into account some domain knowledge that a skewed, lognormal-like distribution is generally observed for a biological parameters. Furthermore, it is often exhibited that these parameters have physical bounds, so a prior distribution must be able to take this into account.
- Some of the parameters are by definition constrained as the following: (specific details are out omitted)
- This is considerable amount of prior information and this transformation reduces the correlation of the parameters as well.
- For a data with k subjects, we have 15k number of hyper parameters $\psi$ to evaluate.
- Note that we don’t have to explicitly evaluate the parameters $\theta$ as they can be transformed using the hyper prior $\psi$.
3. Prior Information
- We have to assign proper prior distributions to each of the parameter we have designated.
- Thus, the full joint poterior distribution of this hierarchical model is as follows:
Computation
We can implement Gibbs Sampler to the illustrated hierarchical nonparametric model by exploiting conjugate relationships.
- For a hyperparameter $\psi$ that doesn’t have a closed-form full conditional distribution, we use Metropolis algorithm instead. Note that Metropolis algorithm iteratively updates the parameters one person at a time, so we only have to consider the parameters specific to that person (can possibly save some computational time).
- As a result, we get posterior samples for every parameters and hyper parameters. The original parameter of interest $\theta$ can be computed using the posterior samples of $\psi$ to interpret the results on the natural scales.
Inferences for quantities of interest
- For each individual k, we can compute the fraction metabolized for each simulated parameter vector $\psi_k$. In turn, we get a distribution for this quantity for every individual.
- The variance in this distribution comes from the uncertainty of posterior distribution $\psi$, which is the physiological parameter that we have defined earlier.
- We can also calculate 95% HPD interval for the fraction metabolized for each exposure levels.
- The model fit can be evaluated by comparing the observed data $y_{jkmt}$ with their expected value $g_m(\theta_k, E_j, t)$ for all of the measurements based on the posterior simulations of $\theta$ ($\psi$).
- The residual plot assures reasonable model fit.
Summary
In a nutshell, the analysis we have looked at has five key components:
- Physiological model - sufficient domain knowledge ensures reasonable starting point for prior specifications
- Population model - allows inference on a individual-level
- Prior constructions of the parameters - modeling procedure
- Experimental data - modeling procedure
- Bayesian inference - yields a distribution of parameters consistent with information from both the prior knowledge and observed data
References
- Gelman et. al. 2013. Bayesian Data Analysis. 3rd ed. CRC Press. p.471-485.