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
Interpretation of the interaction terms of two categorical variables in Non Linear modelsHi, I have been searching online but cant find much. I need help in understanding the interpretatio…
Running a regression and variables are omitted due to collinearity but i don't know whyHi i was wondering if anyone could help me I am running the following tobit regression: Code: to…
Trivial question: what does f. stand for?Sorry if this is obvious, but I cannot find an answer As an example gen treatment=0 if (expectatio…
Ordered Logit RegressionDear Statalisters, I have a quick question regarding ordered logits. I have a panel dataset with i…
How to Esttab SHOWING THE FIRST STAGE ONLY (Without Showing the Second Stage) with ivreg2?Hi! My question is how to use Esttab to show the first stage WITHOUT Showing the Second Stage with i…
Subscribe to:
Post Comments (Atom)
0 Response to Recode with if does not work
Post a Comment