estimate_cs_values: Calculate CES estimates

View source: R/who_method_cs_analysis.R

estimate_cs_valuesR Documentation

Calculate CES estimates

Description

A function to obtain binary var (e.g., coverage: yes / no) estimates with CI from WHO method CS clean data.

Usage

estimate_cs_values(var, part, design, level = 0.95, degf = NA)

Arguments

var

A string denoting the name of the variable to analyse.

part

A string denoting the name of the variable to use for partitioning the data .

design

A survey package design object.

level

Confidence level for interval

degf

Degrees of freedom. By default NA, which call uses the svyciprop default defg(design) evaluation (see svyciprop documentation). For user inputted degrees of freedom enter a positive integer.

Value

A data frame containing the survey estimates for the inputted variable over the inputted administrative disaggregation (commonly the implementation unit) for the survey groups (SAC and/or adults) over all individuals, disaggregated by sex and (for SAC) by school attendance.


SCIFoundation/sciCoverageR documentation built on Oct. 31, 2024, 11:45 p.m.