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)
Interpreting outputs from "raschjmle" commandHi! I am doing my research on Rasch analysis for measuring knowledge. I am using Stata-14 to constru…
Could I include the survey data of "prefer not to say"?Dear friends, I collect survey data with categorical outcome variables whose outcome includes "prefe…
Merging Two Data SetHello Stata Users, I am trying to combine two different data sets according to the variables "Area" …
Counting number of variables across groupsHi, I have three variables KeyEventDates KeyEventHistory KeyEventDetails that I am splitting into s…
Difference in DifferenceHello, I'm trying to do a difference in difference for the data below. The treatment starts after Ja…
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