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
RDD with multivariate local-linear regressionGreetings to everyone, For my research, I am conducting an RD analysis where in addition to the run…
Generalized Hausman test 'suest' after GMM estimation 'xtdpdgmm'Dear friends, I am trying to run a 'suest' generalized Hausman test after 'xtdpdgmm' estimation, I d…
Crude incidence rate stratified by calendar yearI have estimated the overall crude incidence rate of diabetes in people with hypertension (the study…
Creating a variable that counts how many months since you started receiving a 1 for a certain variableHi, I have code set up in the following way (below). I have three important variables, mci= an id f…
Indicator Variable dropped from fixed effects regression resultsGood evening everybody, I have posted this question elsewhere in stata forum but I did not get any …
Subscribe to:
Post Comments (Atom)
0 Response to Binary regression and dummies variables
Post a Comment