This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post. |
Here is a macro to generate binary features (also called dummy coding) from a nominal variable (also called a categorical variable, such as eye color). The automation saves time and avoids mistakes when there are many possible values to a category or the values can change. Continue reading
This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post. |