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
How do I get time difference (gap) in second?I have a dataset like this Code: * Example generated by -dataex-. To install: ssc install dataex cl…
text file without the .txt extensionHi Stata Users. I have multiple text file but without .txt extension. As I have many files I do not …
How to Reduce Rows by Collapsing Repeating DatesI'm trying to create an appropriate time series from the below data. The dates repeat because of the…
Help!!! Convergence error in calculating of productivity by SFA - "Kumbhakar, S.C, 2015"Hi everyone, I am calculating total factor productivity by the SFA model in using STATA. When I ru…
PPML extraction of standard errors matrix of fixed effectsDear @Joao Santos Silva As PPML produces robust standard errors, I am wondering how I can extract t…
Subscribe to:
Post Comments (Atom)
0 Response to having problem in recoding
Post a Comment