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
Convert variables to numeric results in data loss when a regression is runDear all, A dataset with 11 variables was imported to STATA using File -> Import Excel spreadshe…
Creating multiple bootstrapped samplesI'd like to create, say, B=100 bootstrapped samples of a dataset. I was a little surprised to learn …
Which family and link for GLM?Hello! I am trying to find the right model that matches the distribution of my data. I use cross-se…
Help needed to estimate a Panel (Longitudinal) Multinomial Logit ModelDear Stata Users, Before explaining my problem, I should say that I have tried Stata's femlogit, cm…
Exporting regressions to excel Effect of various farm practices on crop yield (Kg/Acre) Lentil Lentil green gram gree…
Subscribe to:
Post Comments (Atom)
0 Response to Recode with if does not work
Post a Comment