Hi everyone,
I want to estimate the coefficient of the following regression : y = Alpha0 + Theta* dt + Alpha1 * xt * (1-dt) + Alpha 2 * xt * dt + ut
with dt = dummy variable.
I have implemented the code attached on Stata:
However, as you can see, there is a main effect for xt in stata and I want to remove it, in order to have the regression above in BOLD (without main effect for xt).
Because I get from stata, the following regression : yt = Alpha0 + Theta * dt + Alpha1 * xt + Alpha 2 * xt * (1-dt) + Alpha 3* xt * dt + ut when I have run the
command: reg y x d c.x#d
Could you explain to me how I can write the right regression in BOLD on stata ?
Thanks in advance,
Pita
Related Posts with Binary regression and dummies variables
How to Add Deterministic Trend to Panel Data?Hello, I have a panel data with 115 countries and 20 years. I did unit root test in all my independ…
Multilevel modelling: How to predict upper-level outcomes?Dear all I have the following problem that I hope to find help with: My data structure is as follo…
Looking for alternatives to outreg2Dear Statalist, I am trying to do some descriptives and to export the table to a word document. I u…
esttab, eststo and appendmodelsDear all, I am tabulating different dependent variables in consecutive rows (not consecutive columns…
Parameter constraints for MLE modelDear forum guests! I need to introduce a range constraint for the sum on parameters in MLE model. T…
Subscribe to:
Post Comments (Atom)
0 Response to Binary regression and dummies variables
Post a Comment