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

Description Usage Arguments Details Value Author(s) References

View source: R/postsim.R

Description

DEFUNCT. Use posterior instead.

Usage

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


jsta/rv documentation built on Feb. 12, 2022, 5:13 p.m.