Check coverage distribution
check_coverage_homogeneity(cov_df, k = 3, p = 0.05)A named list of 2 lists: one for case-finding effectiveness (cf) and the second for treatment coverage (tc). For each list, the following values are provided:
statistic - calculated chi-square statistic
df - degrees of freedom
p - p-value of chi-square statistic
A data.frame() of stratified coverage survey data to get
overall coverage estimates of. cov_df should have a variable named
cases_in for number of SAM or MAM cases in the programme found during the
survey, cases_out for number SAM or MAM cases not in the programme found
during the survey, and rec_in for children recovering from SAM or MAM who
are in the programme found during the survey. A final required variable
should be one that contains identifying geographical information
corresponding to the location from which each row of the survey data was
collected from.
Correction factor. Ratio of the mean length of an untreated episode to the mean length of a CMAM treatment episode
Minimum p-value to test statistic. Default is 0.05.
check_coverage_homogeneity(survey_data)
Run the code above in your browser using DataLab