Performance Profiling

In my last post I illustrated the performance boost generated by using matrix operations to conduct least squares regression calculations.  Matrices by their nature require numerical data.  So what about handling a categorical predictor variable?  To do this it’s necessary to create dummy variables – separate variables for each unique level of the predictor variable.

(more…)