Compute the prevalence estimates of wasting on the basis of the PROBIT method.
Source:R/prevalence_wfhz.R
probit-method.Rd
This approach is applied when the standard deviation of WFHZ is problematic. The PROBIT method estimates the prevalence of wasting indirectly by calculating the area under the tail of the curve, from negative infinitive to the given threshold, using the cumulative normal distribution function with the mean and standard deviation as inputs.
Arguments
- x
A vector of class
double
of WFHZ or MFAZ values.- .status
A choice of the form of wasting for which the prevalence should be estimated.
- df
An already wrangled dataset object of class
data.frame
to use.- .summary_by
A vector of class
character
of the geographical areas where the data was collected and for which the analysis should be performed.- .for
A choice between "wfhz" and "mfaz" for the anthropometric index.