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
Not getting a collinearity errorI apologize if this is a simple question. I have created dummy variables for highest degree earned. …
How to calculate ICC1 and ICC2 with unbalanced data?Hi all, I have a problem with the -icc- command. It omits a large number of observations with unbala…
Sorting string variable fromDear All, I'm having hassle sorting a string variable. Even after using the Code: sort code, the en…
Using coefplot to plot the effect of categorical variable with interactionDear Statalist users, I wondered if you could help me with this issue in particular. I am running …
Days overlap in two date rangesThis may be a basic question, but is there a straightforward way to calculate the number of days tha…
Subscribe to:
Post Comments (Atom)
0 Response to Encode many observations
Post a Comment