print.stapreg: Print method for stapreg objects

Description Usage Arguments Details Value See Also

View source: R/print-and-summary.R

Description

The print method for stapreg objects displays a compact summary of the fitted model. See the Details section below for descriptions of the different components of the printed output. For additional summary statistics and diagnostics use the summary method.

Usage

1
2
## S3 method for class 'stapreg'
print(x, digits = 1, ...)

Arguments

x

A fitted model object returned by one of the rstap modeling functions. See stapreg-objects.

digits

Number of digits to use for formatting numbers.

...

Ignored.

Details

Point estimates

Point estimates are medians computed from simulations. For models fit using MCMC ("sampling") the posterior sample is used. The point estimates reported are the same as the values returned by coef.

Uncertainty estimates (MAD_SD)

The standard deviations reported (labeled MAD_SD in the print output) are computed from the same set of draws described above and are proportional to the median absolute deviation (mad) from the median. Compared to the raw posterior standard deviation, the MAD_SD will be more robust for long-tailed distributions. These are the same as the values returned by se.

Additional output

Value

Returns x, invisibly.

See Also

summary.stapreg, stapreg-methods


rstap documentation built on May 1, 2019, 9:21 p.m.