Dear all,
I have just concluded cleaning up my dataset with around 848,950 observations. Nevertheless, some of the variables are string variables which I need to encode (convert to numeric). When I follow the typical procedure of encoding the variables, I get the following error message:
error . . . . . . . . . . . . . . . . . . . . . . . . Return code 134
too many values
1) You attempted to encode a string variable that takes on
more than 65,536 unique values. 2) You attempted to tabulate
a variable or pair of variables that take on too many values.
If you specified two variables, try interchanging them.
3) You issued a graph command using the by option. The
by-variable takes on too many different values to construct
a readable chart.
Is there any other way I could encode these string variables?
Thank you so much!
Related Posts with Encode many observations
How to assign unique ID to duplicate entries in two rows ?X Y Unique ID (this is what I want)? 11 18 1 11 37 4 11 45 5 11 18 1 11 48 6 11 50 7 11 51 8 11 54 9…
Referring to matrix columns and rowsDear All, It should be fairly simply, but I am very confused as to how I should refer to a location …
adjustrcspline and plotting axis/limitsHi all. I've been hunting online for a while now but can't seem to find a good solution for this yet…
Calculations based on rankHi everyone, I'm an undergraduate student studying economics and am having trouble with Stata. I'm …
meta regression using STATA 16Hi to everybody.. I try again to explain my problem, hoping that somebody answer me. Not being very …
Subscribe to:
Post Comments (Atom)
0 Response to Encode many observations
Post a Comment