probit_sam: PROBIT statistics function for bootstrap estimation of older...

View source: R/07-probit_muac.R

probit_samR Documentation

PROBIT statistics function for bootstrap estimation of older people SAM

Description

PROBIT statistics function for bootstrap estimation of older people SAM

Usage

probit_sam(x, params, threshold = 185)

Arguments

x

A data frame with primary sampling unit (PSU) in column named psu and with data column/s containing the continuous variable/s of interest with column names corresponding to params values

params

A vector of column names corresponding to the continuous variables of interest contained in x

threshold

cut-off value for continuous variable to differentiate an older people with SAM to those with no SAM. Default is set at 185.

Value

A numeric vector of the PROBIT estimate of each continuous variable of interest with length equal to length(params)

Examples


# Example call to bootBW function:

probit_sam(x = indicators.ALL,
           params = "MUAC",
           threshold = 185)


validmeasures/ramOP documentation built on April 18, 2024, 1:04 a.m.