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
Y-Axis labelHello guys, I'll try to keep this as short as possible, thanks for any advice in advance. I'm curre…
Dropped Observations after Importing Excel Sheet as a CSV FileI have an excel sheet I downloaded as a csv file. The number of observations is over 150,000. I impo…
Estimating models with stochastic volatility using Bayesian techniques involving MCMC. .Hi, I am trying to estimate the following model with a standard deviation that is random. The model …
Help with longitudinal mixed modelHi all New to this forum. I'm working on a longitudinal mixed model and wanted to ensure the model …
Interpretation of Outreg2 table on terrorism event studyHi everyone! I am a student and do a thesis on the abnormal return generated by domestic terrorism …
Subscribe to:
Post Comments (Atom)
0 Response to Tip with recoding 40+ values in a variable
Post a Comment