I am trying to code an interrupted time series for antenatal attendance pre and post lockdown. I have two questions:
1. I want to work out immediate post lockdown (that occurred 10 months into the trial) and trend to the end of the trial - how would I code for both of those please? I have used MLETAS and set a dummy time variable but not sure how to set a time trend for immediate vs trend over the whole time.
2. My data is in number of events, would you recommend I report change in number of events or calculate a change in rate?
My readout looks like this:
Negative binomial regression Number of obs = 18
Wald chi2(1) = 13.04
Dispersion = mean Prob > chi2 = 0.0003
Log pseudolikelihood = -127.74359 Pseudo R2 = 0.0153
------------------------------------------------------------------------------
| Robust
iron | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lockdown | -.459981 .1273829 -3.61 0.000 -.7096469 -.2103151
_cons | 6.772079 .0427427 158.44 0.000 6.688304 6.855853
-------------+----------------------------------------------------------------
/lnalpha | -1.546523 .8651169 -3.242121 .1490748
-------------+----------------------------------------------------------------
alpha | .2129872 .1842588 .0390809 1.16076
------------------------------------------------------------------------------
.
Related Posts with Interupted time series help
Copy variable values into a data structure?Hello Xperts, Just wondering if there is any way in STATA to capture all the values (ignoring missi…
Panel data which is non-missing for some variables and missing on Saturdays/Sundays/holidays for other variablesGood day, I have a general question regarding best practices for panel data which is non-missing fo…
Turning numeric variable into stata time variableI have a dataset broken into date and time of the day. I want to break this time variable into hour …
sorting and creation of variablesHi everyone, I have two questions for you. I have a panel in which I have date, ID, company and out…
Interpretation of long and short run coefficients in ARDL modelHi, I needed some help understanding how to interpret the short and long run coefficients of ARDL m…
Subscribe to:
Post Comments (Atom)
0 Response to Interupted time series help
Post a Comment