impute_se: Impute se

View source: R/impute_se.R

impute_seR Documentation

Impute se

Description

Imputation of (SE) variables is carried out annually with UNPD survey data fit_fp_csub as [@Cahill et al 2017 (appendix page 16)]. The summary of this procedure is described below. There are two scenarios. Each scenario has a corresponding procedure.

1. (Completely missing) all entries missing for a coutnry's SE variable
2. (Partially missing) some entries missing for a country's SE variable

For scenario 1, the imputation is carried out by calculating the maximum of known sampling errors across all other countries and setting the unknown sampling errors equal to the median of these maximums. For scenario 2 we impute the sampling errors by setting them equal to the maximum of the known sampling errors in that country.

Usage

impute_se(contraceptive_use)

Arguments

contraceptive_use

'Data.frame' A data.frame from contraceptive_use

Value

'Data.frame' The input data with se imputed


FPRgroup/FPEMcountry documentation built on April 24, 2023, 4:32 p.m.