Pass in entire data set, the design matrix for the entire data, the batch means, the batch variances, priors (m, t2, a, b), columns of the data matrix for the batch. Uses the EM to find the parametric batch adjustments
it.sol(sdat, g.hat, d.hat, g.bar, t2, a, b, conv = 1e-04)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.