Hello all,
I am not exactly new to Stata, but I am quite new to importing my own files after converting them to a .dta format via the Data Editor.
Anyway, I have imported a pretty big data set with 20,000 observations total. Within this dataset I have a variable: income. Income contains the information you would think it does; the exact values of each of the 20,000 obs. incomes. When I attempt to
the error appears: "income has too many values." I have read other forums mentioning the creation of dummy variables, or even reshaping the variables. However, I have tried running these suggestions and I've failed in each attempt.
Could one of you Stata wizards help explain to me how I should go about shortening a variable without eliminating potentially valuable numeric data?
Thanks in advance,
David
I am not exactly new to Stata, but I am quite new to importing my own files after converting them to a .dta format via the Data Editor.
Anyway, I have imported a pretty big data set with 20,000 observations total. Within this dataset I have a variable: income. Income contains the information you would think it does; the exact values of each of the 20,000 obs. incomes. When I attempt to
Code:
tabulate income
Could one of you Stata wizards help explain to me how I should go about shortening a variable without eliminating potentially valuable numeric data?
Thanks in advance,
David
Comment