Hi Statalist-
I'm a relatively novice Stata user, and currently utilizing the ITSA module (Ariel Linden, 2014. "ITSA: Stata module to perform interrupted time series analysis for single and multiple groups,") for a multiple group interrupted time series analysis. I have some questions regarding options to the graphs created using "figure" in itsa that I am unable to solve after reading the itsa help file and attempting to reference relevant sections in the twoway help file.
I see that "figure" in itsa can take twoway graph options: figure[(twoway_options)]. I am attempting to include confidence intervals using "lfitci" from twoway but there is a gap in my understanding of this concept & syntax of how to integrate this into figure in itsa.
My current code of
is successful and produces the general figure I am hoping for, other than the need for addition of confidence intervals.
I have tried
but must not be approaching it correctly as I receive the message "option lfitci not allowed"
Thank you for any advice.
I'm a relatively novice Stata user, and currently utilizing the ITSA module (Ariel Linden, 2014. "ITSA: Stata module to perform interrupted time series analysis for single and multiple groups,") for a multiple group interrupted time series analysis. I have some questions regarding options to the graphs created using "figure" in itsa that I am unable to solve after reading the itsa help file and attempting to reference relevant sections in the twoway help file.
I see that "figure" in itsa can take twoway graph options: figure[(twoway_options)]. I am attempting to include confidence intervals using "lfitci" from twoway but there is a gap in my understanding of this concept & syntax of how to integrate this into figure in itsa.
My current code of
Code:
itsa clabsirate, treat(2) trperiod (2020h1) lag(1) posttrend figure replace
I have tried
Code:
itsa clabsirate, treat(2) trperiod (2020h1) lag(1) posttrend figure(lfitci) replace
Thank you for any advice.

Comment