DEFUNCT. Use posterior instead.

postsim(fit)

Arguments

fit

an lm or glm object

Value

A (named) random vector for each fitted coefficient.

Details

Generate posterior simulations for a given fitted linear or general linear model, assuming the standard "noninformative" priors on the unknowns.

References

Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.

See also vignette("rv").

Author

Jouni Kerman jouni@kerman.com