Hi STATA experts,
Please help out a novice!
I need to graphically display results of the segmented regression that estimates the effects of the major guideline (cdc guideline) on the rate of dose reduction for opioid medications over time (var15).var 15 is an indicator if a patient's dose was reduced.
I use monthly intervals.
trend0 variable Is capturing the trend prior to the guideline; postcdc-dummy reflecting the time prior or after the guideline; trend1- capturing trend following the guideline.
The code to estimate the guideline effect is: log var15 c.postcdc2 c.postcdc2#c.trend1 trend0 i.age_cat i.episode2 i.month,vce (cluster id)
I need to create a graph that would be very similar to classical depictions of the interrupted times series analyses (aka lines reflecting the trend before, intercept change, and lines reflecting the trend after the guideline). Any suggestions on how I can accomplish it would be immensely appreciated.
Related Posts with Graphing results of segmented regression (assessing the guideline effects on the rate of dose reduction)
Verify Fixed Effects resultsDear Statalists, I did a fixed-effects analysis and obtained the expected significant results. Then…
Event StudyCan I get the event study video tutorial or commands along with data files, such as, firm data, mark…
Assesing the impact of vaccine over timeHow can I asses the impact of intervention overtime(particularly PCV10), We had analysed effect PCV1…
RobustDear Statalists! I am running a FE regression in stata using the command xtreg y x, fe. I was wonde…
Distribution of the individual-level WTP following mixed logit model estimationDear all, I conducted a discrete choice experiment with 5 attributes (hereafter regrouped under $at…
Subscribe to:
Post Comments (Atom)
0 Response to Graphing results of segmented regression (assessing the guideline effects on the rate of dose reduction)
Post a Comment