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
regexr - Regular Expression in StataHi everyone! I am working on some regular expression problem. The data I have is something like this…
Bivariate Dynamic Probit Model for Panel DataHello All, I would like to estimate a Bivariate Dynamic Probit model for panel data using Simulated…
Manually estimating standard error of the random effect, after the mi estimate: mixed command, with remlHello, I am using mi estimate: mixed, with reml. In Stata 16.1 Following estimation of the model, I …
diff command (rcs and bootstrap option) - results replication issue*Hi, I am new user to Stata forum. I have been working with a two year repeated cross-sectional data…
r(198) invalid name error messageI'm getting an r(198) error when trying to run the code below I'm new to STATA so I'm not exactly su…
Subscribe to:
Post Comments (Atom)
0 Response to Binary regression and dummies variables
Post a Comment