scalation.modeling.ExpandableVariable
The ExpandableVariable trait provides the framwork for replacing categorical variables with dummy variables. A dummy variable having nl levels is replaced with nl-1 dummy variables.
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Members list
Expand the vector zt into a vector of terms/columns including dummy variables.
Expand the vector zt into a vector of terms/columns including dummy variables.
Value parameters
nCat
the number of categorical variables in the zt
zt
the vector with categorical values (at the end) to expand
Attributes
Given the vector zt, expand it and predict the response value.
Given the vector zt, expand it and predict the response value.
Value parameters
zt
the vector with categorical values (at the end) to expand
Attributes