aapc for the joinpoint connect-the-dotsaapc for the joinpoint connect-the-dots scenario. michelle...

2
http://srab.cancer.gov/reports/ Statistical Research and Applications Branch, NCI, Technical Report #2009-02 AAPC for the Joinpoint Connect-the-Dots Scenario Michelle Dunn and Joe Zou When longitudinal data are first collected, there are not enough observations to accurately fit a regression model, much less a joinpoint model. However, presenting the data in an informative way is important. In the Cancer Trends Progress Report, when there are six or fewer observations, a “Connect-the-Dots” plot is presented. In the “Connect-the-Dots” scenario, rather than fitting a stochastic model, a deterministic one is fit which interpolates a line segment between each observation. In other words, for observations r 1 ,r 2 ,...,r k ,r k+1 at times t 1 ,t 2 ,...,t k ,t k+1 respectively, k line segments are fit to the data on a log scale, where the first line segment begins at (t 1 , log(r 1 )) and ends at (t 2 , log(r 2 )), the second one connects (t 2 , log(r 2 )) and (t 3 , log(r 3 )), etc. The observations themselves are realizations of random variables, often from com- plicated surveys. Using complex survey methodology, an estimate of the variance of the random variable is computed. The observation r i is a realization of the random variable R i , a rate which is assumed to be approximately normal, R i ˙ Normal(α i i 2 ). (1) where ˙ means ”is approximately distributed.” An estimate of the mean, α ˆ i , is given, and the variance γ ˆ 2 is assumed to be known. i Because the observations are not necessarily equally spaced, the lengths of the line segments will vary. Let weights w i be proportional to the length of segment i, where k k w i =1. i=1 Then by definition, the Average Annual Percentage Change (AAPC) is k k µ = exp w i β i –1 (2) i=1 where β i is the slope for a line segment i. In the “connect-the-dots” scenario, the slope for a segment is log(R i+1 ) log(R i ) β i = . (3) t i+1 t i 1 1

Upload: others

Post on 15-Oct-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AAPC for the Joinpoint Connect-the-DotsAAPC for the Joinpoint Connect-the-Dots Scenario. Michelle Dunn and Joe Zou. When longitudinal data are first collected, there are not enough

http://srab.cancer.gov/reports/

� �

Statistical Research and Applications Branch, NCI, Technical Report #2009-02

AAPC for the Joinpoint Connect-the-Dots Scenario

Michelle Dunn and Joe Zou

When longitudinal data are first collected, there are not enough observations to accurately fit a regression model, much less a joinpoint model. However, presenting the data in an informative way is important. In the Cancer Trends Progress Report, when there are six or fewer observations, a “Connect-the-Dots” plot is presented. In the “Connect-the-Dots” scenario, rather than fitting a stochastic model, a deterministic one is fit which interpolates a line segment between each observation. In other words, for observations r1, r2, . . . , rk, rk+1 at times t1, t2, . . . , tk, tk+1 respectively, k line segments are fit to the data on a log scale, where the first line segment begins at (t1, log(r1)) and ends at (t2, log(r2)), the second one connects (t2, log(r2)) and (t3, log(r3)), etc.

The observations themselves are realizations of random variables, often from com­plicated surveys. Using complex survey methodology, an estimate of the variance of the random variable is computed. The observation ri is a realization of the random variable Ri, a rate which is assumed to be approximately normal,

Ri∼̇Normal(αi, γi 2). (1)

where ∼̇ means ”is approximately distributed.” An estimate of the mean, α̂i, is given, and the variance γ̂2 is assumed to be known. i

Because the observations are not necessarily equally spaced, the lengths of the line segments will vary. Let weights wi be proportional to the length of segment i, where

kk wi = 1.

i=1

Then by definition, the Average Annual Percentage Change (AAPC) is

kkµ = exp wiβi –1 (2)

i=1

where βi is the slope for a line segment i. In the “connect-the-dots” scenario, the slope for a segment is

log(Ri+1) − log(Ri)βi = . (3)

ti+1 − ti

1

1

carterg
Text Box
Persons using assistive technology may not be able to fully access information in this file. For assistance, e-mail [email protected]. Include the Web site and file name in your message.
Page 2: AAPC for the Joinpoint Connect-the-DotsAAPC for the Joinpoint Connect-the-Dots Scenario. Michelle Dunn and Joe Zou. When longitudinal data are first collected, there are not enough

� �

� �

http://srab.cancer.gov/reports/

A standard way to find a 95% confidence interval for µ is to find its distribution and then to remove 2.5% from each tail. Instead, to be consistent with the way that confidence intervals are found in joinpoint-based AAPCs, a confidence interval will be found for

kk wiβi. (4)

i=1

The confidence interval endpoints (L, U) will then be transformed by exp(L) − 1 and exp(U) − 1 respectively.

Using (1) and the Delta Method, the following approximation is derived

log(Ri)∼̇Normal(log(αi), γi 2/αi

2)

which together with (3) produces

2 2 2 2γ /α γ /α−log(α ) log(α ) +i+1 i i+1 i+1 i iβi∼̇Normal , . ti+1 − ti (ti+1 − ti)2

To find the distribution of (4), first note that by substituting the definition of βi from (3) and wi = (ti+1 − ti)/(tk+1 − t1),

kk log(Rk+1)–log(R1) wiβi =

tk+1 − t1i=1

and thus

kk log(αk+1) − log(α1) γk2+1/αk

2+1 + γ1

2/α12

wiβi∼̇Normal , . tk+1 − t1 (tk+1 − t1)2

i=1

Using this distribution, a 95% confidence interval for k

i=1 wiβi is ⎛ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ⎝⎜ ˆ ˆlog(αk̂+1) − log(α1)

t − 1.96

tk+1 1

γ2 2 2 2k+1/αk+1 + γ1/α1 log(αk̂+1) − log(α

1) γ2 + +1/α

2 2 2k k+1 γ1/α1, + 1.96 .

− (t t1)2 t 2k+1 − k+1 − t1

(tk+1 − t1)

⎞⎟⎠The lower and upper endpoints of this confidence interval are transformed using equation (2) to produce a 95% confidence interval for µ.

2

2