AUCw: Calculate dynamic AUC(t) curve

Description Usage Arguments Value Author(s) References Examples

View source: R/AUCw.r

Description

Calculate dynamic model-free curve of Area Under the Curve values over time, based on the dynamic/incident AUC of Heagerty and Zheng.

Usage

1

Arguments

formula

Formula for prediction model to be used as in coxph

data

Data set in which to interpret the formula

width

Width of the window

Value

A data frame with columns

time

The time points t at which AUCw(t) changes value (either t or t+width is an event time point)

AUCw

The AUCw(t) function

and with attribute "width" given as input.

Author(s)

Hein Putter H.Putter@lumc.nl

References

van Houwelingen HC, Putter H (2012). Dynamic Prediction in Clinical Survival Analysis. Chapman & Hall.

Examples

1
2
3
data(ova)
AUCw(Surv(tyears, d) ~ Karn + Broders + FIGO + Ascites + Diam, data = ova,
  width = 2)

Example output

Loading required package: survival
           time      AUCw
1   0.008218421 0.6704519
2   0.013697390 0.6714172
3   0.013697832 0.6725147
4   0.016437774 0.6707952
5   0.024656558 0.6707952
6   0.024657240 0.6683703
7   0.024657306 0.6666138
8   0.027396944 0.6653788
9   0.027397617 0.6653788
10  0.035616958 0.6628559
11  0.041093870 0.6607112
12  0.041096836 0.6634599
13  0.082192480 0.6610390
14  0.087671306 0.6601870
15  0.106848772 0.6583800
16  0.112329368 0.6583800
17  0.120547831 0.6572813
18  0.123287262 0.6572813
19  0.128766541 0.6563424
20  0.131508796 0.6567508
21  0.134245987 0.6581207
22  0.145202577 0.6586128
23  0.156163098 0.6595094
24  0.161644019 0.6601563
25  0.175343304 0.6613709
26  0.178082615 0.6607127
27  0.180821825 0.6613918
28  0.180822213 0.6613918
29  0.183560352 0.6583506
30  0.189043090 0.6583506
31  0.200000946 0.6566771
32  0.205478235 0.6550627
33  0.208218864 0.6550627
34  0.224656897 0.6534730
35  0.227397818 0.6514210
36  0.238355375 0.6502199
37  0.246574657 0.6475925
38  0.260274729 0.6461372
39  0.265754088 0.6461372
40  0.265754802 0.6450594
41  0.268492833 0.6455705
42  0.271234207 0.6469344
43  0.273971135 0.6482174
44  0.284930072 0.6482174
45  0.301371526 0.6458284
46  0.306849434 0.6458284
47  0.306849966 0.6480066
48  0.312328787 0.6493709
49  0.315069088 0.6485559
50  0.320547362 0.6471036
51  0.356163927 0.6483732
52  0.356164411 0.6483732
53  0.364384032 0.6473378
54  0.367124143 0.6480635
55  0.372603128 0.6494873
56  0.378084334 0.6481974
57  0.386299437 0.6485778
58  0.386302857 0.6485778
59  0.399999812 0.6457982
60  0.400002264 0.6488906
61  0.419179737 0.6498696
62  0.430137455 0.6478691
63  0.441095183 0.6478691
64  0.457533643 0.6451684
65  0.479452916 0.6444549
66  0.501370370 0.6422387
67  0.501370663 0.6419055
68  0.509590594 0.6412953
69  0.512330452 0.6456101
70  0.515068862 0.6432304
71  0.520548518 0.6419863
72  0.523286702 0.6419863
73  0.523288135 0.6409291
74  0.523289347 0.6355845
75  0.526027337 0.6355845
76  0.526028859 0.6419851
77  0.536986658 0.6419851
78  0.542465315 0.6403927
79  0.550686810 0.6387262
80  0.564385025 0.6410366
81  0.567122718 0.6420279
82  0.572601167 0.6433424
83  0.572603909 0.6433424
84  0.586299304 0.6403916
85  0.599998926 0.6403916
86  0.605478659 0.6421858
87  0.616437244 0.6457871
88  0.616438779 0.6485063
89  0.619177851 0.6526874
90  0.619178516 0.6526874
91  0.621919246 0.6567487
92  0.630138057 0.6598652
93  0.638355930 0.6610882
94  0.646576412 0.6610882
95  0.649313818 0.6588111
96  0.652055668 0.6597224
97  0.665753319 0.6614246
98  0.665753320 0.6614246
99  0.682192222 0.6616850
100 0.682192910 0.6588078
101 0.684929812 0.6588498
102 0.704107003 0.6588498
103 0.720548351 0.6632340
104 0.726026096 0.6632340
105 0.726028162 0.6664716
106 0.734246351 0.6634579
107 0.734248018 0.6605923
108 0.742464318 0.6615059
109 0.747946252 0.6641069
110 0.750685611 0.6641069
111 0.753423523 0.6625656
112 0.764383339 0.6599834
113 0.778082735 0.6599834
114 0.808220888 0.6600094
115 0.819179168 0.6592888
116 0.838354986 0.6588940
117 0.838356139 0.6581086
118 0.843835541 0.6581086
119 0.849312743 0.6607953
120 0.852054913 0.6657504
121 0.863013065 0.6652963
122 0.882190554 0.6621472
123 0.882191587 0.6589511
124 0.895890790 0.6589511
125 0.909589279 0.6584377
126 0.915067503 0.6552158
127 0.917806719 0.6553854
128 0.942467083 0.6553854
129 0.945204888 0.6550590
130 0.964383721 0.6546841
131 0.967123744 0.6568448
132 0.975341670 0.6543020
133 0.980822426 0.6511204
134 1.010959302 0.6511204
135 1.010959947 0.6510119
136 1.013697060 0.6510119
137 1.021918811 0.6488891
138 1.027398634 0.6467366
139 1.027399245 0.6458454
140 1.032876496 0.6506491
141 1.038356422 0.6519778
142 1.054793983 0.6519778
143 1.057533238 0.6540993
144 1.076711219 0.6519301
145 1.087670114 0.6552362
146 1.093151093 0.6564358
147 1.098630174 0.6542499
148 1.104109672 0.6542499
149 1.117810606 0.6588806
150 1.128766866 0.6588806
151 1.142466572 0.6608220
152 1.147945843 0.6618031
153 1.153425180 0.6610390
154 1.167124066 0.6599763
155 1.169862193 0.6641056
156 1.180822130 0.6658491
157 1.183560417 0.6658491
158 1.189041879 0.6705742
159 1.194522445 0.6669745
160 1.213698430 0.6654662
161 1.221917155 0.6631749
162 1.235615610 0.6616885
163 1.246576072 0.6644828
164 1.249313387 0.6618228
165 1.254794224 0.6608109
166 1.254794961 0.6641131
167 1.257535871 0.6641131
168 1.263013757 0.6602248
169 1.271231692 0.6634727
170 1.271234141 0.6689679
171 1.273972796 0.6682437
172 1.276713893 0.6670176
173 1.282190947 0.6690443
174 1.290410743 0.6690443
175 1.290411139 0.6619950
176 1.298629834 0.6619950
177 1.298630455 0.6590979
178 1.301369838 0.6589516
179 1.320548497 0.6589516
180 1.328768152 0.6611663
181 1.331508712 0.6611663
182 1.334246646 0.6576697
183 1.353425102 0.6576697
184 1.356163518 0.6596952
185 1.364384741 0.6569353
186 1.364384845 0.6604184
187 1.367120911 0.6660754
188 1.375341926 0.6663401
189 1.394520542 0.6684759
190 1.397261350 0.6718000
191 1.416438135 0.6713285
192 1.419177107 0.6693756
193 1.421916761 0.6723751
194 1.452056278 0.6723751
195 1.460273719 0.6741983
196 1.463012717 0.6737256
197 1.473974368 0.6764019
198 1.476710952 0.6735597
199 1.479451936 0.6723206
200 1.490410644 0.6694488
201 1.501368586 0.6739693
202 1.528768158 0.6700589
203 1.553424486 0.6696626
204 1.567122231 0.6729289
205 1.591782876 0.6693360
206 1.610959754 0.6709084
207 1.616437845 0.6787627
208 1.627395125 0.6829328
209 1.635617815 0.6813105
210 1.693149697 0.6822453
211 1.695889494 0.6781710
212 1.695889725 0.6768864
213 1.701370717 0.6768864
214 1.723286771 0.6728395
215 1.726027013 0.6750736
216 1.726029615 0.6690221
217 1.739726628 0.6660768
218 1.739726846 0.6660768
219 1.745205619 0.6643555
220 1.753422637 0.6636248
221 1.756163919 0.6636248
222 1.778083041 0.6621549
223 1.797260393 0.6636866
224 1.808218871 0.6636866
225 1.813698497 0.6590979
226 1.816438028 0.6590979
227 1.830136383 0.6565760
228 1.857533696 0.6541617
229 1.871233606 0.6630259
230 1.882189724 0.6608581
231 1.893150127 0.6559113
232 1.893152249 0.6559113
233 1.906851063 0.6539723
234 1.912329143 0.6579375
235 1.942464444 0.6525534
236 1.942465760 0.6554468
237 1.958902793 0.6554468
238 1.958904307 0.6586667
239 1.972602230 0.6565579
240 1.980821618 0.6519721
241 1.983561205 0.6463711
242 1.989040501 0.6457937
243 1.989040671 0.6444552
244 1.999999268 0.6411318
245 2.000000158 0.6468136
246 2.008218421 0.6468136
247 2.013697390 0.6559026
248 2.013697832 0.6509007
249 2.016437774 0.6450142
250 2.027396944 0.6533120
251 2.073972929 0.6484669
252 2.106848772 0.6484669
253 2.109587479 0.6489707
254 2.120547831 0.6489707
255 2.134245987 0.6431095
256 2.145202577 0.6376224
257 2.156163098 0.6347147
258 2.161644019 0.6295667
259 2.175343304 0.6255078
260 2.178082615 0.6181563
261 2.180821825 0.6209386
262 2.183560352 0.6161963
263 2.205478235 0.6211039
264 2.213698313 0.6271597
265 2.260274729 0.6271597
266 2.271234207 0.6215222
267 2.273971135 0.6152742
268 2.273972446 0.6024138
269 2.301371526 0.6024138
270 2.315069088 0.5990267
271 2.320547362 0.5927984
272 2.356163927 0.6003693
273 2.369863150 0.5841289
274 2.386299437 0.5841289
275 2.430137455 0.5816404
276 2.520548518 0.5867626
277 2.523289347 0.5838679
278 2.526028859 0.5968431
279 2.567122718 0.5882105
280 2.572601167 0.5962437
281 2.586299304 0.5868290
282 2.619177851 0.5871987
283 2.630138057 0.5838183
284 2.638355930 0.5765592
285 2.665753319 0.5659777
286 2.684929812 0.5679492
287 2.720548351 0.5628559
288 2.720548561 0.5689840
289 2.736986193 0.5693538
290 2.747946252 0.5693538
291 2.764383339 0.5581597
292 2.778082009 0.5684071
293 2.819179168 0.5684071
294 2.838354986 0.5586630
295 2.838356139 0.5581259
296 2.882191587 0.5604516
297 2.917806719 0.5708365
298 2.980822426 0.5784339
299 3.008219093 0.5943046
300 3.010959947 0.5943046
301 3.032876496 0.5832418
302 3.038356422 0.5713063
303 3.087669455 0.5600815
304 3.098630174 0.5600815
305 3.104107518 0.5403920
306 3.117810606 0.5403920
307 3.142465938 0.5215478
308 3.161644092 0.5265592
309 3.180822130 0.5265592
310 3.254794961 0.5324433
311 3.257534403 0.5316375
312 3.282190947 0.5316375
313 3.290411139 0.5495525
314 3.295892057 0.5678802
315 3.298630455 0.5678802
316 3.301369838 0.5620334
317 3.328766370 0.5579525
318 3.328768152 0.5579525
319 3.334246646 0.5450019
320 3.421916761 0.5550643
321 3.476713192 0.5400914
322 3.668492931 0.5442260
323 3.695889725 0.5442260
324 3.726029615 0.5594571
325 3.731507225 0.5619964
326 3.739726628 0.5619964
327 3.745205619 0.5744681
328 3.753422637 0.5593390
329 3.797260393 0.5579787
330 3.813698497 0.5558390
331 3.868492548 0.5583681
332 3.893150127 0.5583681
333 3.942465760 0.5543131
334 4.000000158 0.5196281
335 4.073972929 0.5432836
336 4.109587479 0.5598047
337 4.213698313 0.5272565
338 4.273972446 0.4921105
339 4.369863150 0.5158470
340 4.720548561 0.5656136
341 4.736986193 0.5489933
342 4.778082009 0.5440957
343 5.008219093 0.5486577
344 5.087669455 0.5085066
345 5.104107518 0.4860215
346 5.142465938 0.5409429
347 5.161644092 0.6337209
348 5.257534403 0.5972222
349 5.295892057 0.6617021
350 5.328766370 0.6478495
351 5.476713192 0.6906475
352 5.668492931 0.5612245
353 5.731507225 0.4126984
354 5.868492548 0.1000000

dynpred documentation built on May 2, 2019, 5:07 a.m.