Announcement

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

  • Comparative (Multiple group) Interrupted Time Series Analysis

    Hi,
    I am trying to conduct an interrupted time series analysis with an intervention group and a control group using the command, however, whenever I type in the command
    . "itsa treatment_Cases, treat(3) trperiod(13) lag(1) replace trpost figure" I get this error "treatid requires a tsset panel variable" which I have failed to work around yet I have a short time frame to submit my thesis.


    . tsset month,
    time variable: month, 1 to 31
    delta: 1 unit

    . itsa treatment_Cases, treat(3) trperiod(13) contid(4) lag(1) fig posttrend replace
    treatid requires a tsset panel variable
    r(498);

    Click image for larger version

Name:	Screenshot (212).png
Views:	1
Size:	19.5 KB
ID:	1686137
    Kindly support with right command or formating to get the work doone

    Thanks a lot for your support in advance
    Ronald
Working...
X