RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

trjohns

Timothy R. Johnson

Recently Published

Cumulative Square Root Frequency Stratification in R
This document describes a R function called stratify that implements the “cumulative square root frequency method” for computing approximately optimal stratification of sampling units assuming a stratified random sampling design with Neyman allocation.
Optimal Allocation for Stratified Random Sampling in R
This document describes a R function called "allocate" for computing the optimal allocation for stratified random sampling.
Ratio and Regression Estimators in R
This document introduces the use of the survey package for R for estimating ratios as well as using ratio and regression estimators.
Cluster Sampling Analysis with R
This document introduces the use of the survey package for R for making inferences using survey data collected using a cluster sampling design.
Stratified Random Sampling Analysis with R
This document introduces the use of the survey package for R for making inferences using data collected using a stratified random sampling design.
Simple Random Sampling Analysis in R
This document introduces the use of the survey package for R for making inferences using data collected using a simple random sampling design.