variable_names {markets} | R Documentation |
Variable name access
Description
Methods that provide access to the prefixed variable names that the package uses.
prefixed_const_variable
: The constant coefficient name is
constructed by concatenating the equation prefix with CONST
.
prefixed_independent_variables
: The names of the independent
variables are constructed by concatenating the equation prefix with the column names
of the model's data frame.
prefixed_price_variable
: The price variable name is
constructed by concatenating the equation prefix with the name of the price column.
prefixed_control_variables
: The controls of the equation are the
independent variables without the price variable. Their names are constructed by
concatenating the equation prefix with the name of the price column.
prefixed_control_variables
: The variance variable is
constructed by concatenating the equation prefix with VARIANCE
.
prefixed_quantity_variable
: The quantity variable name is
constructed by concatenating the equation prefix with the name of the quantity
column.
lagged_price_variable
: The lagged price variable name is
constructed by concatenating LAGGED
with the price variable name.
price_differences_variable
: The price difference variable name is
constructed by concatenating the price variable name with DIFF
.
Usage
prefixed_const_variable(object)
prefixed_independent_variables(object)
prefixed_price_variable(object)
prefixed_control_variables(object)
prefixed_variance_variable(object)
prefixed_quantity_variable(object)
## S4 method for signature 'equation_base'
prefixed_const_variable(object)
## S4 method for signature 'equation_base'
prefixed_independent_variables(object)
## S4 method for signature 'equation_base'
prefixed_price_variable(object)
## S4 method for signature 'equation_base'
prefixed_control_variables(object)
## S4 method for signature 'equation_base'
prefixed_variance_variable(object)
## S4 method for signature 'equation_base'
prefixed_quantity_variable(object)
lagged_price_variable(object)
price_differences_variable(object)
## S4 method for signature 'system_base'
lagged_price_variable(object)
## S4 method for signature 'system_base'
price_differences_variable(object)
Arguments
object |
An equation object. |
Value
The prefixed variable name(s).
Functions
-
prefixed_const_variable()
: Constant coefficient variable name. -
prefixed_independent_variables()
: Independent variable names. -
prefixed_price_variable()
: Price coefficient variable name. -
prefixed_control_variables()
: Control variable names. -
prefixed_variance_variable()
: Variance variable name. -
prefixed_quantity_variable()
: Quantity variable name. -
lagged_price_variable()
: Lagged price variable name. -
price_differences_variable()
: Price differences variable name.