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
Test of Endogeneity after Fixed and Random EffectsHi Dear, Is there any test of endogeneity after running xtreg, fe or re? Thank you. …
Having Trouble Understanding Structural Break Test (-sbknown-) +other odditiesCouple of questions about Wald structural break test- (running latest Stata in Win 10) When running…
xtreg, fe and xtreg, re when T>NHi Dear, Can we use xtreg, fe and xtreg, re when T>N in our panel data? Many Thanks. …
Trying to combine several graphsDear Statalist, I want to combine in a single graph (image) several marginsplot done through contou…
data manipulation!Dear All, I was asked this question (https://bbs.pinggu.org/forum.php?mod...=1#pid57861683). Suppose…
Subscribe to:
Post Comments (Atom)
0 Response to Encode many observations
Post a Comment