Hi,
I would like to create about 20,000 dummy variables from one variable studentID. When I used the code tab studentID,gen(studentID). Stata say that there were too many values. Is there any other way to create the dummy variables instead of doing it manually one by one?
Thank you.
Related Posts with Creating dummy variables using tabulate (Too many values)
Update to -dstat- (and -moremata-) available from SSCAn update to the dstat package is available from SSC. dstat is a general command to estimate summary…
"Reshaping" data to panel dataI cannot include my source data due to sensitivity, but if needed I will post a template with made u…
density plot y-axis (density) larger than 1Dear all, I am plotting three kdensity graphs in one graph. The variable "x" is for all the same (a…
Construct parents' education from the censusHi, I have a problem on constructing parents' education from the census data. The original variable…
a command to create a new variable starting from a specific yearI have data set from two different time periods, the first periods from the year 1990 to 2019 and th…
Subscribe to:
Post Comments (Atom)
0 Response to Creating dummy variables using tabulate (Too many values)
Post a Comment