Dear Statalist,
I am facing problem in decoding string variable. For example, the following command has been called to recode.
recode Var=1 if var1== 1-2.
because my variable is in string format which is attached here. When I tried using the above said command i have got a "type mismatch" error. So kindly can anyone help me to solve the problem.
Array
Related Posts with having problem in recoding
closest date to another date variableHi, i have a table with announcement date (anndat) and statistical period which is counts as a forec…
Identifying closest date to another date variableHi, i have a table with announcement date (anndat) and statistical period which is counts as a forec…
Marginal effects for count data models from interval data: intcountHi, I am using intcount to estimate a count data model with interval data, i. e. the dependent vari…
Eaalogit: Attribute non-attendance within classesHello Statalist, I am trying to control for attribute non-attendance in a choice experiment. The ch…
xtreg with fe - cluster by time (nesting error)Hi, I have a balanced panel with a firmid variable and a time variable. I want to run a regression …
Subscribe to:
Post Comments (Atom)
0 Response to having problem in recoding
Post a Comment