Dear all,
I have panel data with 5 waves.
I have a dummy variable called "policy" that = 1 if the policy is applied and = 0 if the policy is not applied
and a categorical variable called "wave" that = 1, 2, 3, 4 and 5 denoting the survey wave.
In wave 1: policy = 1 for all individuals
In wave 2: policy = 1 for some and 0 for some others
In wave 3: policy = 0 for all individuals
In wave 4: policy = 1 for some and 0 for some others
In wave 5: policy = 1 for some and 0 for some others
I want to study the effect of policy on outcome Y in each wave, as follows:
The result I got:
Here is a data sample:
My question is about the interpretation of these results:
Thank you.
I have panel data with 5 waves.
I have a dummy variable called "policy" that = 1 if the policy is applied and = 0 if the policy is not applied
and a categorical variable called "wave" that = 1, 2, 3, 4 and 5 denoting the survey wave.
In wave 1: policy = 1 for all individuals
In wave 2: policy = 1 for some and 0 for some others
In wave 3: policy = 0 for all individuals
In wave 4: policy = 1 for some and 0 for some others
In wave 5: policy = 1 for some and 0 for some others
I want to study the effect of policy on outcome Y in each wave, as follows:
Code:
Y i.policy#i.wave
Code:
xtreg Y i.wave#i.policy, fe vce(robust) note: 1b.wave#0b.policy identifies no observations in the sample. note: 3.wave#1.policy identifies no observations in the sample. note: 5.wave#1.policy omitted because of collinearity. Fixed-effects (within) regression Number of obs = 6,040 Group variable: n_id Number of groups = 3,254 R-squared: Obs per group: Within = 0.0048 min = 1 Between = 0.0037 avg = 1.9 Overall = 0.0042 max = 5 F(7, 3253) = 2.11 corr(u_i, Xb) = 0.0296 Prob > F = 0.0393 (Std. err. adjusted for 3,254 clusters in n_id) -------------------------------------------------------------------------------- | Robust Y | Coefficient std. err. t P>|t| [95% conf. interval] ---------------+---------------------------------------------------------------- wave#policy| 1 0 | 0 (empty) 1 1 | -.0076616 .0059744 -1.28 0.200 -.0193757 .0040524 2 0 | .0014931 .0056733 0.26 0.792 -.0096304 .0126166 2 1 | -.005056 .0085084 -0.59 0.552 -.0217383 .0116264 3 0 | .0044151 .0054968 0.80 0.422 -.0063625 .0151927 3 1 | 0 (empty) 4 0 | .0161157 .0069952 2.30 0.021 .0024003 .0298311 4 1 | -.006329 .0056444 -1.12 0.262 -.0173959 .004738 5 0 | -.0020953 .0099434 -0.21 0.833 -.0215913 .0174007 5 1 | 0 (omitted) | _cons | .744132 .0035799 207.86 0.000 .7371129 .7511511 ---------------+---------------------------------------------------------------- sigma_u | .15802072 sigma_e | .09463006 rho | .73604293 (fraction of variance due to u_i) --------------------------------------------------------------------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(n_id wave policy Y) 13 1 1 . 13 2 0 . 13 3 0 .87 13 5 0 .87 14 2 1 .8 15 4 1 . 16 5 . . 17 1 1 .72 17 2 0 .87 17 3 0 . 18 1 . . 19 3 0 .72 19 5 1 .8 20 1 1 .87 21 2 0 .77 22 1 1 .84 24 1 1 .52 25 5 1 .24 26 5 . . 27 5 1 .1 29 4 1 .95 29 5 0 . 30 3 . . 31 2 0 .8 32 1 1 .95 34 5 1 .87 35 5 0 .41 37 2 . . 39 1 1 .77 39 2 0 .84 39 3 0 .69 39 4 0 .69 39 5 1 .69 40 3 0 . 41 2 0 .77 43 1 1 .77 44 2 0 .77 44 4 1 .87 45 2 0 .72 46 1 1 .41 46 3 0 .5 47 3 0 .77 48 2 0 . 48 3 0 .41 48 4 1 .32 48 5 0 . 50 2 0 .58 50 3 0 .66 50 4 1 . 50 5 1 . 51 5 1 .72 52 5 1 .5 53 1 1 .87 53 2 0 .87 53 3 0 . 53 4 0 .87 53 5 1 .87 54 2 0 .9 54 3 0 . 54 4 1 .87 54 5 1 .87 55 1 1 . 55 4 0 . 56 1 1 .87 57 5 0 .69 58 2 0 .87 58 5 1 .95 59 3 0 .77 60 5 1 .87 61 3 . . 63 5 0 .61 64 2 0 . 66 5 0 .55 68 4 1 .87 68 5 1 .95 69 1 1 .61 69 3 0 . 70 4 1 .84 70 5 0 . 71 1 1 . 71 3 0 .61 71 4 1 .61 72 2 . . 73 1 1 .77 73 2 0 .61 73 3 0 .61 74 1 1 .8 74 2 0 .87 74 3 0 .55 75 4 1 .94 76 1 1 .61 77 2 0 . 78 3 0 . end
My question is about the interpretation of these results:
- If we change the omitted option, results would change: coefficient and standard errors: is the omitted option my reference group?
- Is this model correct?
Thank you.
Comment