R code for independent- and paired-samples permutation tests
Creators
- 1. Infinity, Toulouse Institute for Infectious and Inflammatory Diseases, Toulouse, France
Contributors
- 1. Robert Koch Institute, Berlin, Germany
- 2. Navrongo Health Research Centre and Research Laboratory, Navrongo, Ghana
- 3. PATH, Seattle, Washington, USA
- 4. National Institute of Research on Public Health (INRSP), Bamako, Mali
Description
The R script in this upload implements permutation tests to compare two sets of antibody concentrations or titres. Two types of tests are provided: independent-samples tests on the difference or the log-ratio of geometric mean concentrations, and a sign-test for paired samples. All the tests output two-tailed p-values. The function can be tested on the simulated data provided in the accompanying pseudodata.RData file.
The earlier version (1.0.0) of the code was intended as a supplement to the manuscript Long-term immunity against yellow fever in children vaccinated during infancy: a longitudinal cohort study by Domingo and coll., to be published in The Lancet Infectious Diseases on 20 September 2019. The main impulse for this update was to tidy up the R code and make it safer to use by others by including checks on the function arguments, but it ended up as a thorough rewriting of the original code. See the accompanying 'permtest_manual.pdf' file for the full version notes and usage details.
Files
permtest_manual.pdf
Files
(99.0 kB)
Name | Size | Download all |
---|---|---|
md5:4a95fdf2c33c4001d1e734877cb76557
|
6.7 kB | Download |
md5:a6f38f8c33fd481b0fadc0f0217bdca0
|
91.6 kB | Preview Download |
md5:f0f9a939db814cfd8e0a81dc585e9d5d
|
779 Bytes | Download |
Additional details
Related works
- Is cited by
- Journal article: 10.1016/S1473-3099(19)30323-8 (DOI)
Funding
- Persistence of (humoral) immunity in children after yellow feveer vacination 206534
- Wellcome Trust
References
- Good P. Permutation tests: a practical guide to resampling methods for testing hypotheses. 2nd ed. New York: Springer-Verlag; 2000.
- C Domingo, J Fraissinet, PO Ansah, CL Kelly, N Bhat, SO Sow, JE Mejía. Long-term immunity against yellow fever in children vaccinated during infancy: a longitudinal cohort study. The Lancet Infectious Diseases 19:1363-1370 (2019) https://doi.org/10.1016/S1473-3099(19)30323-8
Subjects
- Statistics, Nonparametric
- https://meshb.nlm.nih.gov/record/ui?ui=D018709
- Mathematical Computing
- https://meshb.nlm.nih.gov/record/ui?ui=D008432
- Antibodies
- https://meshb.nlm.nih.gov/record/ui?ui=D000906
- Serologic Tests
- https://meshb.nlm.nih.gov/record/ui?ui=D012698