Hi everybody
I would like to calculate the power of my difference-in-difference estimation. So far, I have only managed to calculate the power by comparing the posttreatment difference in means using this code:
I have looked at the different stata options for calculating power, but I cannot find anything about diff-in-diff. If anyone could help me out, I would be very grateful.
The pretreatment numbers are:
Best,
Gustav
I would like to calculate the power of my difference-in-difference estimation. So far, I have only managed to calculate the power by comparing the posttreatment difference in means using this code:
Code:
power twomeans 43183.2 44557.72, sd1(19151.54) sd2(16492.9) n1(2926) n2(279) graph onesided *the first mean is the controlgroup and the second mean is the treatmentgroup
The pretreatment numbers are:
controlgroup:There are 12 observations per individual in eachtime period.
mean: 41878.44, sd: 18931.28
treatmentgroup:
mean: 40983.5, sd: 19267.45
Best,
Gustav
Comment