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
Program to calculate a percentile and rank by percentile and a factorI have a dataset that looks like this, 2 observations per id: id observation birth year diabetes …
Question for logistic regression analysisGreetings, If i have an ordinal dependend variable , which is a 5 scale likert skala and i want to …
Panel dataHi everyone ,I have panel data from BHPS and i want to use descriptive statistics (one table and one…
what is the correct specification of lagged variables using xtpmg ?Hi everyone, I'm using xtpmg to run an ardl model on panel data using the pooled mean group estimato…
Help with saving the coefficients and confidence intervals of only one variable in multiple regressionsDear all, I am running -qreg- for 9 deciles separately, and I want to create 3 variables containing…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with replace in a dummy
Post a Comment