Hi! I am new to STATA and I am trying to recode a variable with 40 values. For values 1 to 38, i want to keep their original codes so Im effectively just recoding 39 and 40. Is there a syntax to code 1 to 38 so that they keep their original values instead of having to type recode var (1=1) (2=2) (3=3)...?
Thanks
Related Posts with Tip with recoding 40+ values in a variable
DCC-GARCH model commandsDear Statalist, I am doing my dissertation now about the contagion between return prices: UK and US…
Moving percentile rankHi Everyone, I was hoping somebody could help me with my following problem: I have an unbalanced pa…
How to solve a problem of XSMLE that requires strongly balanced panel data without missing valuesDear everyone, I'm estimating spatial panel data models using XSMLE command. This command requires …
New Package: respThis concerns people, who are working with the Activity Index (AI), Relative Patent Activity (RPA), …
three-year moving sumDear Statalist I have a yearly dataset of chinses non-financial listed firms from (2010-2017), I wa…
Subscribe to:
Post Comments (Atom)
0 Response to Tip with recoding 40+ values in a variable
Post a Comment