• Keine Ergebnisse gefunden

Appendix 1 Statistical method details

N/A
N/A
Protected

Academic year: 2022

Aktie "Appendix 1 Statistical method details"

Copied!
5
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Appendices

Study:

“Evaluation of statistical methods used in the analysis of interrupted time series studies: a simulation study”

Authors:

Simon L Turner1, Andrew B Forbes1, Amalia Karahalios1, Monica Taljaard2,3, Joanne E McKenzie1

Affiliations:

1School of Public Health and Preventive Medicine, Monash University, 533 St Kilda Road, Melbourne, Victoria, Australia.

2Clinical Epidemiology Program, Ottawa Hospital Research Institute, Ottawa, Ontario, Canada. 1053 Carling Ave, Ottawa.

3School of Epidemiology, Public Health and Preventive Medicine, University of Ottawa, Ottawa, Ontario, Canada. 75 Laurier Ave E, Ottawa.

(2)

Appendix 1 Statistical method details

Appendix 1.1 Ordinary Least Squares Model (1) can be written in a matrix form as:

Y= X (3)

where Y and  are n × 1 vectors whose tth element is yt and t respectively, X is the n

× 4 design matrix with t'throw

(

1,t , Dt, DtI

(

t−T1

) )

, and ϵt∼N(0,σ2) . The OLS

estimator of β is ^βOLS=(X ' X)−1X ' Y , and

^β

Var(¿¿OLS)=σ2(X ' X)−1

¿

.

Appendix 1.2 Newey West

The NW estimator (lag-1) of β is just the OLS estimator, ^βNW=^βOLS , but with a sandwich variance estimator of the form

Var^

(

^βNW

)

=(X ' X)−1X 'Ω X^ (X ' X)−1 (5)

where:

X'Ω X^ =X'Ω^0X+ n n−k

1 2

t=2 n

e^te^t−1

(

xt

'xt−1+xt−1' xt

)

(6)

X'Ω^0X= n n−k

i

e^i2xi'xi (7)

e^i=yi−xiβ^OLS (8)

where X is the same n ×4 design matrix as specified for OLS above. The central term in the variance expression allows for empirical determination of autocorrelation and heteroskedasticity (1).

(3)

Appendix 1.3 Generalised Least Squares

In the Cochrane-Orcutt and Prais-Winsten methods, from the equations (1) and (2), the dependent and independent variables are transformed to create a new model in which the error terms are uncorrelated:

Yt¿=Yt−ρYt−1 (9a)

Xt¿=Xtρ Xt−1 (9b)

Then fit Yt¿=Xt¿β+wt , where

wt=εtρ εt−1∼N(0,σ2) (10)

using OLS, and iterate until convergence.

Generally, the correlation is unknown, and must first be estimated. An estimate of autocorrelation at each iteration can be obtained using the OLS residuals et from fitting Equation (2) as above:

^ρ=

t=2 n

et−1et

t=2 n

et−12

(11)

The CO method discards the first observation, while the PW method retains the first observation, but applies the following transformation (2):

y1¿=

1−ρ2y1X1¿=

1−ρ2X1 , where X1 is the first row of X. (12) Appendix 1.4 ARIMA/ARMAX Regression with Autoregressive errors

estimated using maximum likelihood

The ARIMA model may include information from previous time points. In an ARIMA model with first order autocorrelation only, i.e. ARIMA(1,0,0), equations (1) and (2) are fit simultaneously by maximum likelihood (1). ARMAX models add covariates to ARIMA models (1, 3).

(4)

Appendix 1.5 Durbin-Watson test for autocorrelation The Durbin-Watson test statistic is given by:

D=

t=2 n

(

et−et−1

)

2

t=1 n

et2

(13)

For test statistic values under two, D is compared to lower ( dL¿ and upper ( dU¿ bounds, leading to either a conclusive or inconclusive result. For test statistic values over two, 4-D is compared to the lower and upper bounds and a conclusive

Halternative indicates the presence of negative autocorrelation:

If D>dU, conclude Ho If D<dL, conclude Halternative

If dL≤ D ≤ dU, inconclusive

Lower ( dL¿ and upper ( dU ) bounds can be found in tables online or in textbooks, e.g. Kutner et al (2008)(4).

(5)

Appendix 2 Definitions of performance measures

The definitions of performance measures used to compare statistical methods are given in Table 1.

Table 1: Definitions of performance measures. Where θ represents the parameter under investigation, θ^

being the estimate of that parameter, θ´ being the mean value of the estimate, n¿ being the number of simulations (in this study, 10,000), pi being the p-value of estimate i and α being the significance level (5).

Performance

measure Definition Estimate

Bias E

[

θ^

]

−θ 1

n¿

i=1 n¿

θ^i−θ

Empirical standard

error

Var

(

θ^

)

n¿1−1

i=1n¿

(

θ^i−´θ

)

2

Mean square error E

[ (

θ^i−θ

)

2

]

1

n¿

i=1 n¿

(

θ^i−θ

)

2

Coverage Pr

(

θ^low≤θ ≤θ^upp

)

1

n¿

i=1 n¿

1

(

θ^low ,i≤θ ≤θ^upp ,i

)

Power Pr

(

pi≤ α

)

1

n¿

i=1 n¿

1

(

pi≤ α

)

1. References

1. StataCorp. Stata 15 Base Reference Manual. College Station, TX: Stata Press; 2017.

2. Prais SJ, Winsten, C.B. Trend estimators and serial correlation. In: University Y, editor. Cowles Commision1954.

3. Paolella MS. Linear models and time-series analysis : regression, ANOVA, ARMA and GARCH: Hoboken, NJ : John Wiley & Sons, Inc.; 2019.

4. Kutner M, Nachtscheim C, Neter J, Li W, Senter H. Applied linear statistical models. In: Kutner M, Nachtscheim C, Neter J, Li W, Senter H, editors. 2008. p.

880-.

5. Morris TP, White IR, Crowther MJ. Using simulation studies to evaluate statistical methods. Statistics in Medicine. 2019;38(11):2074-102.

Referenzen

ÄHNLICHE DOKUMENTE

These findings have serious implications for health service provision in southern Tanzania given the no more than one-fifth of the number recommended by the Ministry of

Reported here are firstly the results of the phylogenetic analyses of human Norovirus (NV) isolates obtained from patients with sporadic infections and from outbreak cases in

The knowledge of the pathophysiology of the disease and the careful clinical evaluation of the lesions are fundamental for the institution of the appropriate therapeutic approach.

have reported increased plasma ET-1 levels in lean patients with essential hypertension, hyperlipemia and glucose intolerance compared to normotensive or subjects lacking

The UKSH, Campus Kiel with its single address is the central point for all patients, staff and visi- tors.. The new UKSH Campus Lübeck completes the new, urban style of building

Satz 1: Das Haus hat viele rote Giebeldächer und ein rotes Garagentor. Satz 2: Das Haus hat eine Veranda und einen Kamin. Satz 3: Vor dem weißen Haus ist eine Treppe aus Stein. Satz

Die Parallelen dieser Initiative zu den Kampagnen zum Verbot von Antipersonen-Minen und Streumunition sind augenfällig: Der in der humanitären Rüstungskontrolle beobachtete

We started our study from the observation that migration from the Canadian provinces towards Ontario mostly followed a declining trend over the period 1971-2004.. In view of the