Hello, I'm doing a difference-in-difference analysis to show the impact of removing financial incentives for the achievement quality indicators.
If incentives are removed, the indicator is 'treated' (Treated dummy =1); if the incentives aren't removed, the indicator is a control (Treated =0)
The 'denominator' is the number of eligible patients for a quality indicator, the 'numerator' the number of patients actually treated (in each practice).
I'm using the following dataset:
Year Clinic Indicator Numerator Denominator Achievement Treated Time
2016 W95009 AST004 30 35 85.714286 1 0
2016 W95009 COPD002 93 97 95.876289 1 0
2016 W95009 COPD003 282 294 95.918367 1 0
2016 W95009 COPD005 77 77 100 1 0
etc....
I can find the DiD coefficient for the difference in mean clinic 'achievement' (in %), between the treated and controls by doing:
reg Achievement Time Treated Time##Treated
However, I'd also like to look at the mean number of treated patients overall (e.g. sum of the numerators, divided by sum of the denominators) - how would I do that in Stata? e.g. to see whether the overall proportion of treated patients is affected (rather than the mean practice achievement). Many thanks.
Related Posts with Difference-in-difference analysis
State level characteristicsHi everyone! I am using a model where I have an element: vector of state-level characteristics I kno…
Date issueDear All, I downloaded some data from Kenneth French Library (http://mba.tuck.dartmouth.edu/pages/.…
Need help with creating first difference operator for regression - econometricsHi There Everyone. I hope you're all well. I had a question, I'm really lost - i need to create a f…
how to output the results from mata to stata variable?I want to store the reuslts "1", how to do that? Code: * Example generated by -dataex-. To install:…
Collapsing data by both weighted and unweighted meansI have a dataset of ~100K, and I'd like to collapse the data for variable Alpha into its mean, and v…
Subscribe to:
Post Comments (Atom)
0 Response to Difference-in-difference analysis
Post a Comment