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
Why is a squared term in panel data fixed effects considered redundantI have the following equation: xtreg lwage educ black Hispanic experience expersq married union, fe …
How to make time series on categorical variable?Hello, I want to make a line showing the development in regional scores on an index at given years.…
Heteroskedasticity and autocorrelation in a random effects model with small sampleHi I'm estimating a model for the freight rate as the dependent variable. My model has three explana…
Problem with Subtracting Variable that Represents a Number of Weeks from a Date VariableI am currently working with a set of data that contains the Date of Birth (dob) of an observation an…
Display full value label in resultsHi all, Is there a way to stop Stata from truncating variable value labels in results tables (say i…
Subscribe to:
Post Comments (Atom)
0 Response to Interupted time series help
Post a Comment