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
Robustness test with GENDERDear Statalist, here is my situation that may sound a bit silly.... I'd like to ask if I want to ru…
Quantile Diff-in-diff with fixed effectsDear Stata users. I wish to estimate quantile difference-in-difference (DID) model with fixed effect…
Inconsistency with corr2data commandHi all, I am having some trouble with replicability using the corr2data command to simulate autocor…
Tabulating/ graphing with an unconventional time variableGood afternoon, I have a 5-quarter longitudinal dataset and am trying to tabulate and graph the cha…
Multiplicative interaction with a continuous outcomeHi, I am fitting a model with a continuous outcome and an interaction between two binary predictors…
Subscribe to:
Post Comments (Atom)
0 Response to Binary regression and dummies variables
Post a Comment