| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An R implementation of Systematic Sampling techniques commonly used in survey sampling and statistical data collection. This repository provides functions for generating systematic samples, enumerating all possible systematic samples, and measuring correlation structures within systematic sampling designs.
Selects a systematic sample from a population vector and returns:
Generates all possible systematic samples based on different random starts and displays:
Computes the population systematic correlation coefficient (Ps) by considering all possible systematic samples.
Estimates the systematic correlation coefficient (rs) using only an observed sample.
x <- c(3,4,1,8,5,2,4,7,6,12,3,5,10,11,12,18,2,17)
# Generate a systematic sample
systematic_sampling(x, n = 6, r = 2)
# Generate all possible systematic samples
all_posible_systematic_sampling(x, n = 6)
# Compute the systematic correlation coefficient
systematic_correlation(x, n = 6)This implementation can be used for:
| Back | FazBrowse Home | New Git URL |