Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Integrating two way graph options into figure from ITSA module

    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
    Code:
    itsa clabsirate, treat(2) trperiod (2020h1) lag(1) posttrend figure replace
    is successful and produces the general figure I am hoping for, other than the need for addition of confidence intervals.

    I have tried
    Code:
    itsa clabsirate, treat(2) trperiod (2020h1) lag(1) posttrend figure(lfitci) replace
    but must not be approaching it correctly as I receive the message "option lfitci not allowed"

    Thank you for any advice.

  • #2
    "lfitci" is a command not an option; for the allowed options, see
    Code:
    help twoway_options
    if you have calculated the numbers needed for the cis, you might be able to put them in using the "recast()" option (but I'm not sure); see
    Code:
    help advanced_options

    Comment


    • #3
      How to add covariates to ITSA command? Thanks

      Comment


      • #4
        1. this is a different question and you should have started a new topic

        2. the help file is very clear on this (" itsa depvar [indepvars]") so what is your question as it appears you just list the covariates after the "depvar"?

        Comment

        Working...
        X