Hi all,
I'm working with a dataset with around 350.000 rows and 20 columns. When I try to encode some variables, as they are recognized as string for some reason, it won't let me as it returns the error Too Many Values (r134). Basically, what I'm trying to do is just to convert my variable into a numerical variable by using encode. I also tried destring, but it gives me the error "contains nonnumeric values", which I cannot find at all in my dataset.
Please help me out,
Luc
Related Posts with Too Many Values
Date ArithmeticIf you need to add (or subtract) a period measured in days to a date, it is straightforward to do so…
How to form this table?Array just copy and paste numbers in latex? …
Tabulate multiple continous variables in one tableHello, I am new to Stata and I have, for a few days by now, been stuck with the following problem: …
A note: fileread() assigning binary string scalarsAn observation after failing to read a Stata scalar using Stata Python sfi Scalar getString(); The s…
How to declare data to be choice model data (cmset command) in STATA 16?Hello, I have a problem with writing a suitable code for the "cmset" command in STATA 16. We have a…
Subscribe to:
Post Comments (Atom)
0 Response to Too Many Values
Post a Comment