Noptim {prevR} | R Documentation |
Suggested optimal value for N
Description
Based on previous simulation 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, https://journals.openedition.org/cybergeo/24606, DOI: 10.4000/cybergeo.24606.
Examples
Noptim(fdhs)
[Package prevR version 5.0.0 Index]