Skip to main content
Formatting
Source Link
gung - Reinstate Monica
  • 147.5k
  • 89
  • 406
  • 717

I'm having some trouble fitting a model for differences-in-differences regression in Stata. Specifically, I'm confused as to the B3 coefficient in the below:

y = B0 + B1p + B2trt + B3(p*trt) + u

y = B0 + B1p + B2trt + B3(p*trt) + u

Here, p and trt are dummy variables where p = 0 for pre-treatment and 1 for post-treatment, and trt = 0 for control group and 1 for treatment group. p * trt is an interaction term indicating the marginal impact of the treatment group over the experimental period.

My question is whether this should be a simple dummy variable equal to zero if either p / trt = 0 and 1 if both p / trt = 1?

Any help is much appreciated.

Thanks!

I'm having some trouble fitting a model for differences-in-differences regression in Stata. Specifically, I'm confused as to the B3 coefficient in the below:

y = B0 + B1p + B2trt + B3(p*trt) + u

Here, p and trt are dummy variables where p = 0 for pre-treatment and 1 for post-treatment, and trt = 0 for control group and 1 for treatment group. p * trt is an interaction term indicating the marginal impact of the treatment group over the experimental period.

My question is whether this should be a simple dummy variable equal to zero if either p / trt = 0 and 1 if both p / trt = 1?

Any help is much appreciated.

Thanks!

I'm having some trouble fitting a model for differences-in-differences regression in Stata. Specifically, I'm confused as to the B3 coefficient in the below:

y = B0 + B1p + B2trt + B3(p*trt) + u

Here, p and trt are dummy variables where p = 0 for pre-treatment and 1 for post-treatment, and trt = 0 for control group and 1 for treatment group. p * trt is an interaction term indicating the marginal impact of the treatment group over the experimental period.

My question is whether this should be a simple dummy variable equal to zero if either p / trt = 0 and 1 if both p / trt = 1?

I'm having some trouble fitting a model for differences-in-differences regression in Stata. Specifically, I'm confused as to the B3B3 coefficient in the below:

y = B0 + B1p + B2trt + B3(p*trt) + uy = B0 + B1p + B2trt + B3(p*trt) + u

Here, "p"p and "trt"trt are dummy variables where p=0p = 0 for pre-treatment and 11 for post-treatment, and trt=0trt = 0 for control group and 11 for treatment group. "p*trt"p * trt is an interaction term indicating the marginal impact of the treatment group over the experimental period. 

My question is whether this should be a simple dummy variable equal to zero if either p/trt=0p / trt = 0 and 11 if both p/trt=1.p / trt = 1?

Any help is much appreciated.

Thanks!

I'm having some trouble fitting a model for differences-in-differences regression in Stata. Specifically, I'm confused as to the B3 coefficient in the below:

y = B0 + B1p + B2trt + B3(p*trt) + u

Here, "p" and "trt" are dummy variables where p=0 for pre-treatment and 1 for post-treatment, and trt=0 for control group and 1 for treatment group. "p*trt" is an interaction term indicating the marginal impact of the treatment group over the experimental period. My question is whether this should be a simple dummy variable equal to zero if either p/trt=0 and 1 if both p/trt=1.

Any help is much appreciated.

Thanks!

I'm having some trouble fitting a model for differences-in-differences regression in Stata. Specifically, I'm confused as to the B3 coefficient in the below:

y = B0 + B1p + B2trt + B3(p*trt) + u

Here, p and trt are dummy variables where p = 0 for pre-treatment and 1 for post-treatment, and trt = 0 for control group and 1 for treatment group. p * trt is an interaction term indicating the marginal impact of the treatment group over the experimental period. 

My question is whether this should be a simple dummy variable equal to zero if either p / trt = 0 and 1 if both p / trt = 1?

Any help is much appreciated.

Thanks!

Source Link
Robb
  • 305
  • 2
  • 9

Regression modeling of differences-in-differences in Stata

I'm having some trouble fitting a model for differences-in-differences regression in Stata. Specifically, I'm confused as to the B3 coefficient in the below:

y = B0 + B1p + B2trt + B3(p*trt) + u

Here, "p" and "trt" are dummy variables where p=0 for pre-treatment and 1 for post-treatment, and trt=0 for control group and 1 for treatment group. "p*trt" is an interaction term indicating the marginal impact of the treatment group over the experimental period. My question is whether this should be a simple dummy variable equal to zero if either p/trt=0 and 1 if both p/trt=1.

Any help is much appreciated.

Thanks!