1.1 Rationale

Despite the methodological richness available in the specialized literature, a significant gap persists between the state of the art and the everyday practice of survey analysis in the region. One of the main manifestations of this gap is related to access to and use of statistical software. Several widely recognized reference texts in survey analysis, such as Heeringa et al. (2017), Cochran (1977), and Särndal et al. (2003), are fundamental from a theoretical perspective; however, they are mainly oriented toward licensed software such as SAS, Stata, or SPSS, or they do not fully integrate with the R computational ecosystem. In contrast, many online tutorials on survey analysis in R tend to privilege the operational aspects of the software, but rarely reach the conceptual depth needed for appropriate and responsible use in the production of official statistics.

In addition, there is substantial methodological fragmentation among the different components involved in complex survey analysis. The foundations of sampling design, computational data management, estimation of descriptive and inferential parameters with design correction, and treatment of nonresponse are often addressed separately, making it difficult to build integrated and reproducible workflows. In this context, the present text proposes a coherent integration of these elements within a single analytical framework implemented entirely in R.

Another relevant aspect is the regional contextualization of the examples and applications. A considerable share of reference texts use databases and examples from surveys conducted in English-speaking countries, which partially limits their immediate applicability in Latin America. To bring the content closer to the statistical realities of the region, this document uses a native R database designed to replicate the traditional structure of Latin American household surveys and therefore to provide examples closer to the problems faced by national statistical offices and technical teams in the region.

Finally, this document is itself an exercise in reproducible research. All of its content, including tables, figures, equations, and numerical results, is generated entirely through R code embedded directly in the chapters. In this way, readers can not only study the methods presented, but also replicate, modify, and adapt them to their own contexts and databases, thereby strengthening analytical capacity and transparency in statistical production.

References

Cochran, W. G. (1977). Sampling techniques. John Wiley & Sons.
Heeringa, S. G., West, B. T., Heeringa, S. G., & Berglund, P. A. (2017). Applied survey data analysis. chapman; hall/CRC.
Särndal, C.-E., Swensson, B., & Wretman, J. (2003). Model assisted survey sampling. Springer Science & Business Media.