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)
a variable that indicates whether it is the first week of the month, second week, etc...Dear all, I have a date variable in my dataset in the following format: 27feb2015 20feb2015 13feb2…
"Random Effect model and FGLS" "Fixed effect model and FGLS"Hi Experts Hope you are doing well! Details of my dataset: Unbalanced Panel Dataset Data were tak…
Oceania Stata Conference 2022 - Call for speakersOceania Stata Conference 2022 Exploring the stories in your data with Stata Using Stata’s powerful…
Calculating the sample size needed for population proportion estimationDear users, I am new to Stata, and my question is: what is the correct procedure for calculating the…
Logit in 2 stepsHi, I want to model the following. In the internationalization of the firm, it can decide to enter…
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