Hi everyone. I have a problem. There are two dummy. The first one is e6_m_c1 and it's equal to 1 if firms have financial constraints and zero otherwise. The second one is e6_m_c7 and it's equal to 1 if firms don't have factors preventing growth and zero otherwise. So, I have to replace missing values of e6_m_c1 with the values of e6_m_c7. The command that I use is: replace e6_m_c1=0 if e6_m_c7==1 & missing (e6_m_c1), but there aren't changes in observations. How can I resolve?
Related Posts with Problem with replace in a dummy
How to correct the alignment of outputI am doing data cleaning and the output is hard to clean because of how it is coming out. For some t…
cmp multivariate probitHi, I am running a multivariate probit model using the cmp function on 4 binary dependent variables…
Panel GARCH Model?Dear all, I am attempting to estimate a panel EGARCH-M model in STATA, as of yet I have had no luck…
Boxplot in complex design surveyDear Statalist users: I have a data set with weight syntax as below, How can I run a box plot with …
Year and Month fixed effectsHi, I would like to run a regression with year month fixed effects. My data consists of year and mo…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with replace in a dummy
Post a Comment