get_parameter_names function

Get Parameter Names of the dynamite Model

Get Parameter Names of the dynamite Model

Extracts all parameter names of used in the dynamitefit object.

get_parameter_names(x, types = NULL, ...) ## S3 method for class 'dynamitefit' get_parameter_names(x, types = NULL, ...)

Arguments

  • x: [dynamitefit]

    The model fit object.

  • types: [character()]

    Extract only names of parameter of a certain type. See get_parameter_types().

  • ...: Ignored.

Returns

A character vector with parameter names of the input model.

Details

The naming of parameters generally follows style where the name starts with the parameter type (e.g. beta for time-invariant regression coefficient), followed by underscore and the name of the response variable, and in case of time-invariant, time-varying or random effect, the name of the predictor. An exception to this is spline coefficients omega, which also contain the number denoting the knot number.

Examples

data.table::setDTthreads(1) # For CRAN get_parameter_names(multichannel_example_fit)

See Also

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