precis: Precis of model fit

Description Usage Arguments Details Value Author(s)

Description

Displays concise parameter estimate information for an existing model fit.

Usage

1
2
precis( model , depth=1 , pars , ci=TRUE , prob=0.89 , 
    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

prob

Width of posterior 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

Details

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

Can also provide expected value, standard deviation, and HPDI columns for a data frame.

Value

A data frame with a row for each parameter.

Author(s)

Richard McElreath


joepowers16/rethinking documentation built on June 2, 2019, 6:52 p.m.