CRAN/E | surveyCV

surveyCV

Cross Validation Based on Survey Design

Installation

About

Functions to generate K-fold cross validation (CV) folds and CV test error estimates that take into account how a survey dataset's sampling design was constructed (SRS, clustering, stratification, and/or unequal sampling weights). You can input linear and logistic regression models, along with data and a type of survey design in order to get an output that can help you determine which model best fits the data using K-fold cross validation. Our paper on "K-Fold Cross-Validation for Complex Sample Surveys" by Wieczorek, Guerin, and McMahon (2022) doi:10.1002/sta4.454 explains why differing how we take folds based on survey design is useful.

github.com/ColbyStatSvyRsch/surveyCV/
Bug report File report

Key Metrics

Version 0.2.0
R ≥ 4.0
Published 2022-03-15 779 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks surveyCV results

Downloads

Yesterday 6 0%
Last 7 days 62 +32%
Last 30 days 189 -2%
Last 90 days 522 -23%
Last 365 days 2.256 +1%

Maintainer

Maintainer

Jerzy Wieczorek

jawieczo@colby.edu

Authors

Cole Guerin

aut

Thomas McMahon

aut

Jerzy Wieczorek

cre / aut

Hunter Ratliff

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

intro
plots-for-Stat-paper
test-Auto

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

surveyCV archive

Depends

R ≥ 4.0

Imports

survey ≥ 4.1
magrittr ≥ 2.0

Suggests

dplyr ≥ 1.0
ggplot2 ≥ 3.3
grid ≥ 4.0
gridExtra ≥ 2.3
ISLR ≥ 1.2
knitr ≥ 1.29
rmarkdown ≥ 2.2
rpms ≥ 0.5
splines ≥ 4.0
testthat ≥ 3.1