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
Panel data with more than one observation in a YearHi all, My data set looks like below, input int YEAR str47 Acquirer long DealNumber double MA_DVAL…
Singletons, Cluster-Robust Standard Errors in reghdfeDear all, I try to use the command reghdfe to estimate the following fixed effect model: Array My s…
cmp commandDear, Now, I would like to investigated the mediation effect of A on B and C. There is potentially …
Coordinate of a date on x-axisI am trying to generate scatter points, but my x-axis is a date variable in format %d. Do I have to …
String Variables to NumericGood evening, I just downloaded a dataset containing over a million observations and more than 60 v…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with replace in a dummy
Post a Comment