regressor_names_from_params_vector: Helper function to extract names from a vector defining a...

View source: R/model_space.R

regressor_names_from_params_vectorR 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 initialize_model_space 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)


bdsm documentation built on April 4, 2025, 1:06 a.m.