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
How do I check goodness of fit when using "xtmlogit"?Hello, I'm trying to use "xtmlogit", a newly introduced command in stata17. How do I check the goodn…
Estimating adjusted mean difference by treatment group, following -regress-I am looking to calculate the adjusted mean difference in heart rate by treatment groups (alloc) - t…
ANCOVA or MANCOVA? Help is MUCH appreciatedHi all, I am undertaking a thesis and it has been a long while since I've been at university (and u…
Predicting values using Simple Linear Regression on Categorical DataHi everyone, I have student scores for two test components (Component1 & Component2) from 485 s…
xttobit or fracreg for panel data? My dependent variable is from 0 to 1.Hello everyone, I am a PhD student from strategy area. I encountered a problem in model choice. My d…
Subscribe to:
Post Comments (Atom)
0 Response to Recode with if does not work
Post a Comment