Learn R Programming

dynamite (version 1.5.6)

confint.dynamitefit: Credible Intervals for dynamite Model Parameters

Description

Extracts credible intervals from dynamitefit object.

Usage

# S3 method for dynamitefit
confint(object, parm, level = 0.95, ...)

Value

The rows of the resulting matrix will be named using the following logic: {parameter}_{time}_{category}_{group} where parameter is the name of the parameter, time is the time index of the parameter, category specifies the level of the response the parameter is related to if the response is categorical, and group determines which group of observations the parameter is related to in the case of random effects and loadings. Non-applicable fields in the this syntax are set to NA.

Arguments

object

[dynamitefit]
The model fit object.

parm

Ignored.

level

[numeric(1)]
Credible interval width.

...

Ignored.

See Also

Model outputs as.data.frame.dynamitefit(), as.data.table.dynamitefit(), as_draws_df.dynamitefit(), coef.dynamitefit(), dynamite(), get_code(), get_data(), get_parameter_dims(), get_parameter_names(), get_parameter_types(), ndraws.dynamitefit(), nobs.dynamitefit()

Examples

Run this code
data.table::setDTthreads(1) # For CRAN
confint(gaussian_example_fit, level = 0.9)

Run the code above in your browser using DataLab