| Literature DB >> 27339626 |
Sharon X Lin1,2, Leanne Morrison3, Peter W F Smith4, Charlie Hargood5, Mark Weal5, Lucy Yardley3.
Abstract
N-of-1 study designs involve the collection and analysis of repeated measures data from an individual not using an intervention and using an intervention. This study explores the use of semi-parametric and parametric bootstrap tests in the analysis of N-of-1 studies under a single time series framework in the presence of autocorrelation. When the Type I error rates of bootstrap tests are compared to Wald tests, our results show that the bootstrap tests have more desirable properties. We compare the results for normally distributed errors with those for contaminated normally distributed errors and find that, except when there is relatively large autocorrelation, there is little difference between the power of the parametric and semi-parametric bootstrap tests. We also experiment with two intervention designs: ABAB and AB, and show the ABAB design has more power. The results provide guidelines for designing N-of-1 studies, in the sense of how many observations and how many intervention changes are needed to achieve a certain level of power and which test should be performed.Entities:
Keywords: N-of-1 studies; Type I error rate; Wald test; power; semi- and parametric bootstrapping
Mesh:
Year: 2016 PMID: 27339626 PMCID: PMC5082548 DOI: 10.1111/bmsp.12071
Source DB: PubMed Journal: Br J Math Stat Psychol ISSN: 0007-1102 Impact factor: 3.380
An extract of total daily steps of one individual user not using (phase A) and using (phase B) the POWeR Tracker app
| Day | Total steps | POWeR Tracker phases |
|---|---|---|
| 1 | NA | A |
| 2 | 11,471 | A |
| 3 | 9,760 | A |
| 4 | 3,558 | A |
| 5 | 4,739 | A |
| 6 | 3,662 | A |
| 7 | NA | A |
| 8 | 5,729 | B |
| 9 | 2,794 | B |
| 10 | 7,636 | B |
| 11 | 3,996 | B |
| 12 | 7,467 | B |
| 13 | 10,587 | B |
| 14 | 3,863 | B |
| 15 | 1,649 | A |
| ⋮ | ⋮ | ⋮ |
| 20 | 3,566 | A |
| 21 | 3,457 | B |
| ⋮ | ⋮ | ⋮ |
| 28 | 6,335 | B |
NA, missing data.
Figure 1Patterns of mean behaviour. ‘A’ (blue line) and ‘B’ (red line) refer to a phase without an intervention and with an intervention, respectively. [Colour figure can be viewed at www.online library.com].
Estimated Type I error rates for Wald and bootstrap tests for two intervention designs
| Test | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| Normal errors | ||||||||
| Wald | .0674 | .0728 | .0854 | .0808 | .0612 | .0697 | .1000 | .1130 |
| Parametric bootstrap | ||||||||
|
| .0503 | .0503 | .0522 | .0500 | .0513 | .0510 | .0529 | .0540 |
|
| .0513 | .0522 | .0507 | .0544 | .0460 | .0489 | .0508 | .0537 |
| Semi‐parametric bootstrap | ||||||||
|
| .0513 | .0519 | .0522 | .0541 | .0457 | .0462 | .0465 | .0510 |
|
| .0494 | .0479 | .0505 | .0499 | .0508 | .0475 | .0458 | .0561 |
| Contaminated normal errors | ||||||||
| Wald | .0522 | .0625 | .0820 | .0917 | .0547 | .0688 | .1071 | .1223 |
| Parametric bootstrap | ||||||||
|
| .0434 | .0483 | .0475 | .0559 | .0411 | .0448 | .0615 | .0698 |
|
| .0382 | .0411 | .0494 | .0612 | .0391 | .0425 | .0552 | .0677 |
| Semi‐parametric bootstrap | ||||||||
|
| .0442 | .0436 | .0506 | .0508 | .0392 | .0446 | .0544 | .0577 |
|
| .0428 | .0432 | .0464 | .0518 | .0408 | .0456 | .0587 | .0584 |
Statistical power for Wald tests under normally distributed residuals for two intervention designs
| β | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| 0.1 | .0719 | .0795 | .0844 | .0847 | .0716 | .0762 | .1052 | .1244 |
| 0.2 | .0951 | .0967 | .0975 | .0950 | .0948 | .0915 | .1099 | .1283 |
| 0.3 | .1341 | .1257 | .1183 | .1167 | .1297 | .1204 | .1243 | .1402 |
| 0.4 | .1870 | .1700 | .1516 | .1409 | .1825 | .1608 | .1439 | .1558 |
| 0.5 | .2613 | .2218 | .1888 | .1721 | .2561 | .2123 | .1719 | .1705 |
| 0.6 | .3475 | .2827 | .2362 | .2103 | .3357 | .2696 | .2007 | .1897 |
| 0.7 | .4427 | .3549 | .2901 | .2523 | .4257 | .3344 | .2345 | .2142 |
| 0.8 | .5394 | .4340 | .3466 | .3034 | .5226 | .4048 | .2758 | .2405 |
| 0.9 | .6343 | .5190 | .4134 | .3606 | .6081 | .4800 | .3182 | .2734 |
| 1 | .7145 | .5973 | .4773 | .4228 | .6954 | .5528 | .3690 | .3021 |
| 1.2 | .8532 | .7472 | .6065 | .5439 | .8380 | .6953 | .4748 | .3772 |
| 1.5 | .9592 | .8978 | .7819 | .7183 | .9531 | .8601 | .6212 | .4943 |
| 1.8 | .9912 | .9674 | .9007 | .8522 | .9902 | .9440 | .7561 | .6168 |
| 2 | .9976 | .9868 | .9476 | .9152 | .9969 | .9728 | .8263 | .6904 |
| 2.5 | .9997 | .9986 | .9903 | .9833 | .9997 | .9951 | .9360 | .8417 |
| 3 | .9999 | .9999 | .9990 | .9977 | .9998 | .9976 | .9781 | .9287 |
| 4 | 1.0000 | 1.0000 | 1 | 1 | .9999 | .9991 | .9939 | .9896 |
| 5 | 1 | 1 | 1 | 1 | .9999 | .9996 | .9985 | .9993 |
| 6 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Statistical power for Wald tests under contaminated normally distributed residuals for two intervention designs
| β | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| 0.1 | .0560 | .0657 | .0865 | .0954 | .0553 | .0758 | .1142 | .1258 |
| 0.2 | .0651 | .0698 | .0903 | .0932 | .0611 | .0774 | .1092 | .1265 |
| 0.3 | .0789 | .0864 | .0966 | .0995 | .0772 | .0858 | .1140 | .1297 |
| 0.4 | .1016 | .1009 | .1014 | .1015 | .1018 | .1042 | .1207 | .1314 |
| 0.5 | .1264 | .1163 | .1170 | .1158 | .1250 | .1156 | .1272 | .1374 |
| 0.6 | .1521 | .1432 | .1260 | .1188 | .1517 | .1463 | .1460 | .1431 |
| 0.7 | .1870 | .1667 | .1473 | .1324 | .1885 | .1678 | .1472 | .1510 |
| 0.8 | .2334 | .1922 | .1633 | .1465 | .2280 | .1942 | .1685 | .1604 |
| 0.9 | .2712 | .2294 | .1853 | .1687 | .2668 | .2142 | .1837 | .1673 |
| 1 | .3107 | .2728 | .2168 | .1894 | .3008 | .2456 | .1968 | .1801 |
| 1.2 | .3985 | .3401 | .2648 | .2305 | .3952 | .3099 | .2339 | .2029 |
| 1.5 | .5289 | .4434 | .3546 | .3159 | .5204 | .4220 | .3019 | .2466 |
| 1.8 | .6364 | .5577 | .4428 | .3989 | .6259 | .5231 | .3754 | .2859 |
| 2 | .7074 | .6142 | .5025 | .4494 | .6911 | .5720 | .4131 | .3317 |
| 2.5 | .8259 | .7427 | .6462 | .5889 | .8213 | .7100 | .5287 | .4190 |
| 3 | .9073 | .8457 | .7510 | .7158 | .9068 | .8120 | .6342 | .5148 |
| 4 | .9775 | .9482 | .8910 | .8657 | .9730 | .9343 | .8041 | .6952 |
| 5 | .9952 | .9878 | .9554 | .9441 | .9943 | .9723 | .8994 | .8191 |
| 6 | .9991 | .9962 | .9857 | .9781 | .9981 | .9875 | .9459 | .8987 |
| 7 | .9997 | .9991 | .9958 | .9918 | .9988 | .9934 | .9672 | .9418 |
| 8 | .9999 | .9999 | .9987 | .9973 | .9990 | .9948 | .9789 | .9628 |
| 9 | 1 | .9997 | .9999 | .9990 | .9991 | .9960 | .9833 | .9762 |
| 10 | 1 | .9998 | .9999 | .9995 | .9998 | .9973 | .9894 | .9813 |
Statistical power for parametric bootstrap tests under normally distributed residuals for two intervention designs
| β | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| 0.1 | .0591 | .0552 | .0553 | .0574 | .0556 | .0527 | .0518 | .0558 |
| 0.2 | .0753 | .0640 | .0621 | .0635 | .0736 | .0606 | .0559 | .0573 |
| 0.3 | .1118 | .0853 | .0754 | .0723 | .1091 | .0821 | .0672 | .0605 |
| 0.4 | .1524 | .1233 | .1011 | .0925 | .1519 | .1100 | .0790 | .0628 |
| 0.5 | .2187 | .1663 | .1247 | .1174 | .2186 | .1432 | .0899 | .0722 |
| 0.6 | .2936 | .2168 | .1597 | .1409 | .2860 | .1856 | .1098 | .0891 |
| 0.7 | .3781 | .2804 | .2049 | .1836 | .3745 | .2364 | .1296 | .0962 |
| 0.8 | .4638 | .3425 | .2471 | .2172 | .4586 | .2874 | .1501 | .1181 |
| 0.9 | .5658 | .4215 | .3042 | .2705 | .5474 | .3410 | .1780 | .1368 |
| 1 | .6476 | .4957 | .3548 | .3097 | .6365 | .4136 | .2187 | .1474 |
| 1.2 | .7987 | .6402 | .4718 | .4241 | .7943 | .5468 | .2844 | .1944 |
| 1.5 | .9349 | .8310 | .6627 | .6006 | .9236 | .7166 | .4022 | .2732 |
| 1.8 | .9839 | .9352 | .8143 | .7603 | .9789 | .8395 | .5403 | .3717 |
| 2 | .9935 | .9660 | .8882 | .8453 | .9930 | .8935 | .6146 | .4446 |
| 2.5 | .9997 | .9969 | .9727 | .9585 | .9994 | .9672 | .7948 | .6115 |
| 3 | .9999 | .9999 | .9976 | .9943 | .9996 | .9889 | .8964 | .7610 |
| 4 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | .9977 | .9769 | .9373 |
| 5 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | .9999 | .9987 | .9961 | .9878 |
| 6 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | .9998 | .9977 | .9977 |
| 7 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1 | .9999 | .9996 | .9996 |
| 8 | 1.0000 | 1 | 1 | 1 | 1 | 1.0000 | .9999 | .9999 |
| 9 | 1 | 1 | 1 | 1 | 1 | 1.0000 | 1.0000 | 1.0000 |
| 10 | 1 | 1 | 1 | 1 | 1 | 1 | 1.0000 | 1.0000 |
Statistical power for parametric bootstrap tests under contaminated normally distributed residuals for two intervention designs
| β | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| 0.1 | .0409 | .0439 | .0508 | .0608 | .0409 | .0464 | .0626 | .0674 |
| 0.2 | .0490 | .0465 | .0516 | .0632 | .0485 | .0504 | .0602 | .0638 |
| 0.3 | .0560 | .0521 | .0562 | .0615 | .0587 | .0544 | .0642 | .0721 |
| 0.4 | .0755 | .0663 | .0635 | .0726 | .0729 | .0654 | .0661 | .0711 |
| 0.5 | .0937 | .0818 | .0752 | .0764 | .0989 | .0802 | .0759 | .0688 |
| 0.6 | .1197 | .0993 | .0865 | .0865 | .1197 | .0931 | .0801 | .0792 |
| 0.7 | .1495 | .1214 | .0954 | .0834 | .1435 | .1074 | .0839 | .0815 |
| 0.8 | .1858 | .1424 | .1061 | .1052 | .1738 | .1247 | .0904 | .0838 |
| 0.9 | .2174 | .1731 | .1252 | .1202 | .2033 | .1486 | .1025 | .0892 |
| 1 | .2567 | .1967 | .1512 | .1309 | .2364 | .1694 | .1127 | .0967 |
| 1.2 | .3363 | .2615 | .1919 | .1667 | .3129 | .2160 | .1293 | .1031 |
| 1.5 | .4546 | .3574 | .2581 | .2232 | .4209 | .3066 | .1710 | .1315 |
| 1.8 | .5739 | .4714 | .3408 | .2998 | .5319 | .3852 | .2178 | .1566 |
| 2 | .6253 | .5318 | .4099 | .3501 | .6079 | .4552 | .2570 | .1847 |
| 2.5 | .7674 | .6743 | .5522 | .4937 | .7468 | .5943 | .3598 | .2478 |
| 3 | .8628 | .7798 | .6638 | .6235 | .8469 | .7089 | .4478 | .3245 |
| 4 | .9631 | .9143 | .8327 | .8053 | .9426 | .8565 | .6377 | .4743 |
| 5 | .9889 | .9719 | .9310 | .9129 | .9830 | .9297 | .7673 | .6237 |
| 6 | .9981 | .9908 | .9720 | .9609 | .9939 | .9685 | .8503 | .7493 |
| 7 | .9995 | .9971 | .9898 | .9847 | .9959 | .9846 | .9168 | .8400 |
| 8 | .9999 | .9996 | .9964 | .9926 | .9981 | .9908 | .9481 | .8930 |
| 9 | 1 | .9999 | .9989 | .9974 | .9985 | .9932 | .9682 | .9320 |
| 10 | 1 | 1 | .9990 | .9991 | .9992 | .9960 | .9803 | .9575 |
Statistical power for semi‐parametric bootstrap tests under normally distributed residuals for two intervention designs
| β | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| 0.1 | .0577 | .0478 | .0509 | .0481 | .0523 | .0501 | .0507 | .0535 |
| 0.2 | .0729 | .0678 | .0663 | .0605 | .0674 | .0625 | .0588 | .0531 |
| 0.3 | .1018 | .0929 | .0816 | .0769 | .0990 | .0834 | .0659 | .0581 |
| 0.4 | .1489 | .1211 | .1007 | .0930 | .1429 | .1031 | .0722 | .0647 |
| 0.5 | .2094 | .1604 | .1285 | .1176 | .1961 | .1444 | .0881 | .0720 |
| 0.6 | .2828 | .2207 | .1688 | .1480 | .2629 | .1803 | .1109 | .0828 |
| 0.7 | .3649 | .2769 | .2026 | .1786 | .3395 | .2321 | .1358 | .0957 |
| 0.8 | .4535 | .3333 | .2401 | .2140 | .4227 | .2881 | .1560 | .1122 |
| 0.9 | .5435 | .4241 | .3020 | .2686 | .5042 | .3517 | .1877 | .1271 |
| 1 | .6317 | .4876 | .3531 | .3153 | .5870 | .4080 | .2142 | .1449 |
| 1.2 | .7786 | .6488 | .4814 | .4331 | .7377 | .5374 | .2880 | .1927 |
| 1.5 | .9189 | .8261 | .6671 | .6053 | .8819 | .7144 | .4201 | .2795 |
| 1.8 | .9780 | .9287 | .8157 | .7669 | .9537 | .8378 | .5427 | .3778 |
| 2 | .9913 | .9645 | .8897 | .8471 | .9767 | .8951 | .6241 | .4505 |
| 2.5 | .9996 | .9961 | .9781 | .9634 | .9955 | .9670 | .7982 | .6259 |
| 3 | .9999 | .9994 | .9972 | .9946 | .9994 | .9899 | .9029 | .7709 |
| 4 | 1 | 1 | .9999 | .9999 | 1 | 1 | .9816 | .9423 |
| 5 | 1 | 1 | 1 | 1 | 1 | 1 | .9958 | .9895 |
| 6 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | .9982 |
| 7 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | .9998 |
| 8 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| 9 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| 10 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Statistical power for semi‐parametric bootstrap tests under contaminated normally distributed residuals for two intervention designs
| β | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| 0.1 | .0475 | .0464 | .0541 | .0574 | .0422 | .0448 | .0550 | .0619 |
| 0.2 | .0582 | .0568 | .0537 | .0554 | .0483 | .0458 | .0597 | .0617 |
| 0.3 | .0660 | .0558 | .0614 | .0575 | .0585 | .0504 | .0577 | .0590 |
| 0.4 | .0788 | .0677 | .0649 | .0620 | .0742 | .0605 | .0606 | .0610 |
| 0.5 | .1027 | .0903 | .0699 | .0699 | .0936 | .0716 | .0649 | .0627 |
| 0.6 | .1261 | .0964 | .0847 | .0783 | .1144 | .0855 | .0718 | .0654 |
| 0.7 | .1596 | .1222 | .0951 | .0877 | .1409 | .0994 | .0774 | .0684 |
| 0.8 | .1842 | .1500 | .1132 | .0968 | .1701 | .1159 | .0841 | .0736 |
| 0.9 | .2293 | .1789 | .1328 | .1095 | .2051 | .1358 | .0924 | .0753 |
| 1 | .2721 | .2008 | .1423 | .1232 | .2433 | .1606 | .1007 | .0805 |
| 1.2 | .3420 | .2690 | .1950 | .1559 | .3149 | .2079 | .1215 | .0917 |
| 1.5 | .4711 | .3743 | .2638 | .2140 | .4282 | .2890 | .1587 | .1113 |
| 1.8 | .5805 | .4747 | .3468 | .2851 | .5355 | .3760 | .1992 | .1359 |
| 2 | .6509 | .5420 | .3935 | .3358 | .5978 | .4271 | .2299 | .1543 |
| 2.5 | .7828 | .6708 | .5315 | .4644 | .7384 | .5569 | .3157 | .2105 |
| 3 | .8705 | .7869 | .6564 | .5865 | .8305 | .6692 | .4105 | .2774 |
| 4 | .9675 | .9223 | .8331 | .7810 | .9338 | .8233 | .5635 | .4132 |
| 5 | .9923 | .9713 | .9218 | .8945 | .9746 | .9083 | .7016 | .5467 |
| 6 | .9975 | .9914 | .9688 | .9531 | .9887 | .9487 | .8083 | .6690 |
| 7 | .9998 | .9980 | .9877 | .9826 | .9957 | .9727 | .8671 | .7663 |
| 8 | 1 | .9994 | .9969 | .9935 | .9975 | .9822 | .9187 | .8343 |
| 9 | 1 | .9999 | .9981 | .9973 | .9981 | .9889 | .9446 | .8848 |
| 10 | 1 | 1 | .9997 | .9989 | .9985 | .9924 | .9626 | .9234 |
Figure 2Power functions for: the Wald test, parametric test and semi‐parametric bootstrap tests under the two designs with ρ = 0 and (a) normal errors and (b) contaminated errors; the bootstrap tests under the two designs with ρ = .5 and (c) normal errors and (d) contaminated errors.
Estimated bias in for two intervention designs
| Errors | Design 1 (D1) | Design 2 (D2) | ||||||
|---|---|---|---|---|---|---|---|---|
| ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | ρ = 0 | ρ = .2 | ρ = .5 | ρ = .7 | |
| Normal | .0006 | −.0146 | −.0449 | −.1234 | .0017 | −.0122 | −.0396 | −.1218 |
| Contaminated | .0035 | −.0060 | −.0325 | −.1120 | .0054 | .0000 | −.0231 | −.1085 |