Package: svytest 1.1.0

Corbin Lubianski

svytest: Survey Weight Diagnostic Tests

Provides diagnostic tests for assessing the informativeness of survey weights in regression models. Implements difference-in-coefficients tests (Hausman 1978 <doi:10.2307/1913827>; Pfeffermann 1993 <doi:10.2307/1403631>), weight-association tests (DuMouchel and Duncan 1983 <doi:10.2307/2288185>; Pfeffermann and Sverchkov 1999 <https://www.jstor.org/stable/25051118>; Pfeffermann and Sverchkov 2003 <ISBN:9780470845672>; Wu and Fuller 2005 <https://www.jstor.org/stable/27590461>), estimating equations tests (Pfeffermann and Sverchkov 2003 <ISBN:9780470845672>), and non-parametric permutation tests. Includes simulation utilities replicating Wang et al. (2023 <doi:10.1111/insr.12509>) and extensions.

Authors:Corbin Lubianski [aut, cre, cph]

svytest_1.1.0.tar.gz
svytest_1.1.0.tar.gz(r-4.7-arm64)svytest_1.1.0.tar.gz(r-4.7-x86_64)svytest_1.1.0.tar.gz(r-4.6-arm64)svytest_1.1.0.tar.gz(r-4.6-x86_64)
svytest_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
svytest/json (API)
NEWS

# Install 'svytest' in R:
install.packages('svytest', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • svytestCE - Subset of 2015 Consumer Expenditure (CE) Dataset

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascpp

2.00 score 8 scripts 125 downloads 5 exports 10 dependencies

Last updated from:a6015452b4. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK168
linux-devel-x86_64OK184
source / vignettesOK220
linux-release-arm64OK171
linux-release-x86_64OK154
wasm-releaseOK130

Exports:diff_in_coef_testestim_eq_testperm_testrun_all_diagnostic_testswa_test

Dependencies:DBIlatticeMatrixminqamitoolsnumDerivRcppRcppArmadillosurveysurvival

svytest: Diagnostic Tests for Survey Weight Informativeness

Rendered fromsvytest.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2025-10-30
Started: 2025-10-30

Readme and manuals

Help Manual

Help pageTopics
Difference-in-Coefficients Test for Survey Weightsdiff_in_coef_test glance.diff_in_coef_test print.diff_in_coef_test summary.diff_in_coef_test tidy.diff_in_coef_test
Estimating Equations Test for Informative Sampling (Linear Case)estim_eq_test glance.estim_eq_test print.estim_eq_test summary.estim_eq_test tidy.estim_eq_test
Permutation test for weight informativeness in survey regressionglance.perm_test perm_test print.perm_test summary.perm_test tidy.perm_test
Plot method for permutation test objectsplot.perm_test
Run All Diagnostic Tests for Informative Weightsprint.run_all_diagnostic_tests run_all_diagnostic_tests
Subset of 2015 Consumer Expenditure (CE) DatasetsvytestCE
Weight-Association Tests for Survey Weightsglance.wa_test print.wa_test summary.wa_test tidy.wa_test wa_test