postsim: Generate Posterior Simulations for lm or glm Objects...

View source: R/postsim.R

postsimR Documentation

Generate Posterior Simulations for lm or glm Objects (defunct)

Description

DEFUNCT. Use posterior instead.

Usage

postsim(fit)

Arguments

fit

an lm or glm object

Details

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

Value

A (named) random vector for each fitted coefficient.

Author(s)

Jouni Kerman jouni@kerman.com

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").


rv documentation built on March 18, 2022, 5:55 p.m.