prevR (version 3.4.0)

Noptim: Suggested optimal value for N

Description

Based on previous similutation work, the function suggests an optimal value for the N parameter based on national prevalence, the total number of observations and the number of clusters. See Larmarange et al. 2011 for more details.

Usage

Noptim(object)

Arguments

object

object of class prevR.

Value

an integer.

References

Larmarange Joseph, Vallo Roselyne, Yaro Seydou, Msellati Philippe and Meda Nicolas (2011) "Methods for mapping regional trends of HIV prevalence from Demographic and Health Surveys (DHS)", Cybergeo: European Journal of Geography, no 558, http://cybergeo.revues.org/24606, DOI: 10.4000/cybergeo.24606.

Examples

Run this code
# NOT RUN {
Noptim(fdhs)

# }

Run the code above in your browser using DataLab