Hi all,
I have the following problem. I am trying to recode values of a variable conditioning on given vales of another variable as follows:
recode dup_cc (0=-1) if pag_indici_all_2007!=.
The recode command gives 0 changes.
Any idea on why it does not work?
Thank you in advance.
Rezart
Related Posts with Recode with if does not work
Results are generating omitted dummy variables for fixed effect panel regressionsI have the following fixed effect regression where i wanted to control for ID and year fixed effects…
Interpreting Difference in Difference Regression ResultsFirst of all apologies that I am a novice statistician. My data set is a national panel survey from …
Extracting labels and renaming variables using loopsDear Statalist members, I am working with a dataset in .csv format that is separated in different f…
Forming new variable using several existing variablesHi, I am trying to create a variable "IN" that takes value from existing variables "IN_1 IN_2 IN_3 I…
logit regression with categorical variables: obtain p-value of the difference to the basecategoryHi, I am trying to estimate a logit model using survey data. I have a categorical variable (age gro…
Subscribe to:
Post Comments (Atom)
0 Response to Recode with if does not work
Post a Comment