bdlimlmbw | R Documentation |
This estimates the model for a group specific weight funciton and group specific effects
bdlimlmbw(Y, X, Z, G, B, niter, nburn, nthin, prior)
Y |
Outcome vector |
X |
Exposure matrix |
Z |
Matrix of covariates. An intercept will be added |
G |
Vector indicating group membership |
B |
Basis object from build.basis |
niter |
Number of MCMC iterations |
nburn |
Number of MCMC iterations to be discarded as burning |
nthin |
Number of draws taken to obtainone sampl |
prior |
List with the entries: sigma = a numeric 2-vector with the shape and rate paramters for the pirior in the error precision (1/sigma^2); betavar = the prior variance for beta; and gamma = the prior variance for the covarites. The priors on beta and gamma are iid normal mean zero. |
Ander Wilson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.