Recoding Qualitative Variables
Key concepts/commands:
gen()option withtab: create binary variables indicating each value from a frequency tabletab overallgrade, gen(grade_)save: save the current datasetsave "nycschools_modified.dta", replace
gen() option with tab: create binary variables indicating each value from a frequency table
tab overallgrade, gen(grade_)save: save the current dataset
save "nycschools_modified.dta", replace