To fit many types of statistical models, it is necessary
to change each value of a categorical variable to a vector with binary
entries. These vectors are then stored as sub-rows within a matrix
To fit many types of statistical models, it is necessary
to change each value of a categorical variable to a vector with binary
entries. These vectors are then stored as sub-rows within a matrix