Learn R Programming

rethinking (version 1.35)

precis: Precis of model fit

Description

Displays concise parameter estimate information for an existing model fit.

Usage

precis( model , type.s=FALSE , ci=TRUE , level=0.95 , corr=FALSE )

Arguments

model

Fit model object

type.s

Show Type-S error probabilities for each estimate

ci

Show quadratic estimate confidence intervals

level

Width of confidence intervals

corr

If TRUE, show correlations among parameters in output

Value

A data frame with a row for each parameter.

Details

Creates a table of estimates and standard errors, with optional confidence intervals and Type-S error probabilities. Confidence intervals are quadratic estimates, derived from standard errors. Type-S probabilities are also derived from normal approximation to posterior of each parameter.

Supported model classes include lm, mle2, mer, and polr. Can also provide expected value, standard deviation, and HPDI columns for a data frame, on the assumption that the columns in the data frame are the product of a Markov chain.

References

McElreath 2011, Statistical Rethinking.

See Also

summary