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)
Getting same estimates for Fixed Effects and Random Effects but not for pooled OLSI estimated pooled OLS, Fixed Effect, and Random Effect Model using Grunfeld's investment data. The …
Problem with random-effects GLS regression and dummy variablesDear reader, I am a business student currently writing a thesis about the impact of global cities (…
Conditional Risk Using STPM2Dear All, I would like to predict a conditonal risk for a recurrence at 6 months after having had n…
Graphical problems.Dear All, My data is Code: * Example generated by -dataex-. To install: ssc install dataex clear i…
Looking to add ifxed effects for a model but unsure how to go about it.Hi, I am doing a project where I am looking at state incarceration rates for the year 2016. I am loo…
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