- Conjugate Priors
- Independence Priors
- Two-Sample Normal Model
- Diasorin Example
Idea is to ask for information that is easier to think about, e.g. percentiles of the sampling distribution or an estimate of uncertainty.
Common to consider prior sensitivity analysis.
n1 <- 19 n2 <- 15 low <- c(91, 46, 95, 60, 33, 410, 105, 43, 189,1097, 54,178, 114, 137, 233, 101, 25,70,357) normal <- c(370, 267, 99,157, 75,1281, 48, 298, 268, 62,804,430,171,694,404) diasorin <- c(low,normal) group <- c(rep(1,n1),rep(2,n2)) group1 <- factor(group, 1:2, c('Low','Normal'))
R
, WinBUGS
, or MATLAB
.