Learn R Programming

rethinking (version 1.50)

precis: Precis of model fit

Description

Displays concise parameter estimate information for an existing model fit.

Usage

precis( model , depth=1 , pars , ci=TRUE , level=0.95 , 
    corr=FALSE , digits=2 , warn=TRUE )

Arguments

model

Fit model object

depth

If 1, suppresses vectors and matrices of parameters. If 2, displays all parameters

pars

Optional character vector of parameter names to display

ci

Show quadratic estimate confidence intervals

level

Width of confidence intervals

corr

If TRUE, show correlations among parameters in output

digits

Number of decimal places to display in output

warn

If TRUE, warns about various things

Value

A data frame with a row for each parameter.

Details

Creates a table of estimates and standard errors, with optional confidence intervals and parameter correlations. Confidence intervals are quadratic estimates, derived from standard errors, unless the model uses samples from the posterior distribution, in which case HPDI is used instead.

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.

See Also

summary