Hi everyone,
I am a university student, so I am a beginner with STATA.
My question is simple:
I have 2 dummies; Fondation (0,1) and Export (0,1).
I need to create a new dummy that will have value=1 ONLY IF both Fondation and Export are =1.
What command should I use?
Thank you, Michele :D
Related Posts with Create a dummy with 2 condition
Whether paired variable reduction is difference between groupsI have two variables, triglyceride before and after treatment. So I run the paired t test to see if…
Converting 5-year interval to yearly panel dataDear Statalisters, I would like to insert the missing years in a large multi-country five-year inter…
Quintile graph as bar chartHi all, I'm new with stata and learning to visualize data in stata. I have some issue with bar graph…
Bootstrapping standard errors moves the p-value of a variable from 0.000 to 1.000Hi all, To overcome the generated regressor problem, I perform bootstrapping to correct the standar…
Difficulties installing outreg2I am using Stata 14. I typed: ssc install outreg2, followed the link to outreg2 and got the followin…
Subscribe to:
Post Comments (Atom)
0 Response to Create a dummy with 2 condition
Post a Comment