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

Description Usage Arguments Value Author(s) References

View source: R/postsim.R

Description

DEFUNCT. Use posterior instead.

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

Usage

1
  postsim(fit)

Arguments

fit

an lm or glm object

Value

A (named) random vector for each fitted coefficient.

Author(s)

Jouni Kerman [email protected]

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 May 29, 2017, 8:53 p.m.