regressor_names_from_params_vector {bdsm}R Documentation

Helper function to extract names from a vector defining a model

Description

For now it is assumed that we can only exclude linear relationships between regressors and the dependent variable.

Usage

regressor_names_from_params_vector(params)

Arguments

params

a vector with parameters describing the model

Details

The vector needs to have named rows, i.e. it is assumed it comes from a model space (see init_model_space_params for details).

Value

Names of regressors which are assumed to be linearly connected with dependent variable within the model described by the params vector.

Examples

params <- c(alpha = 1, beta_gdp = 1, beta_gdp_lagged = 1, phi_0 = 1, err_var = 1)
regressor_names_from_params_vector(params)


[Package bdsm version 0.2.1 Index]