Test for statistical difference between the proportion of children aged 24 to 59 months old over those aged 6 to 23 months old
Source:R/stattests.R
mw_stattest_ageratio.Rd
Calculate the observed age ratio of children aged 24 to 59 months old over those aged 6 to 23 months old and test if there is a statistically significant difference between the observed and the expected.
Value
A list
object with three elements: p
for p-value of the
difference between the observed and the expected proportion of children aged
24 to 59 months old over those aged 6 to 23 months old, observedR
for the
observed ratio, and observedP
for the observed proportion.
Details
This function should be used specifically when assessing the quality of MUAC
data. For age ratio test of children aged 6 to 29 months old over 30 to 59
months old, as performed in the SMART plausibility check, use
nipnTK::ageRatioTest()
instead.
References
SMART Initiative. Updated MUAC data collection tool. Available at: https://smartmethodology.org/survey-planning-tools/updated-muac-tool/