Creating A Set of Dummy Variables To Represent A Categorical Variable
This document describes two methods for creating dummy variables to represent a categorical variable: 1) The labor intensive method of manually generating and replacing dummy variables for each category. 2) A much easier tabulate command that generates dummy variables for each category in one step.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
39 views2 pages
Creating A Set of Dummy Variables To Represent A Categorical Variable
This document describes two methods for creating dummy variables to represent a categorical variable: 1) The labor intensive method of manually generating and replacing dummy variables for each category. 2) A much easier tabulate command that generates dummy variables for each category in one step.
Solution Manual for MATLAB: A Practical Introduction to Programming and Problem Solving 5th Edition - Full Version With All Chapters Is Ready For Download