Package: wqspt 1.0.1

wqspt: Permutation Test for Weighted Quantile Sum Regression

Implements a permutation test method for the weighted quantile sum (WQS) regression, building off the 'gWQS' package (Renzetti et al. <https://CRAN.R-project.org/package=gWQS>). Weighted quantile sum regression is a statistical technique to evaluate the effect of complex exposure mixtures on an outcome (Carrico et al. 2015 <doi:10.1007/s13253-014-0180-3>). The model features a statistical power and Type I error (i.e., false positive) rate trade-off, as there is a machine learning step to determine the weights that optimize the linear model fit. This package provides an alternative method based on a permutation test that should reliably allow for both high power and low false positive rate when utilizing WQS regression (Day et al. 2022 <doi:10.1289/EHP10570>).

Authors:Drew Day [aut, cre], James Peng [aut], Adam Szpiro [aut]

wqspt_1.0.1.tar.gz
wqspt_1.0.1.zip(r-4.5)wqspt_1.0.1.zip(r-4.4)wqspt_1.0.1.zip(r-4.3)
wqspt_1.0.1.tgz(r-4.4-any)wqspt_1.0.1.tgz(r-4.3-any)
wqspt_1.0.1.tar.gz(r-4.5-noble)wqspt_1.0.1.tar.gz(r-4.4-noble)
wqspt_1.0.1.tgz(r-4.4-emscripten)wqspt_1.0.1.tgz(r-4.3-emscripten)
wqspt.pdf |wqspt.html
wqspt/json (API)

# Install 'wqspt' in R:
install.packages('wqspt', repos = c('https://drewdstat.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/drewdstat/wqspt/issues

On CRAN:

4 exports 0.73 score 115 dependencies 2 scripts 160 downloads

Last updated 2 years agofrom:f94ad5dd1e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winOKAug 21 2024
R-4.5-linuxOKAug 21 2024
R-4.4-winOKAug 21 2024
R-4.4-macOKAug 21 2024
R-4.3-winOKAug 21 2024
R-4.3-macOKAug 21 2024

Exports:wqs_full_permwqs_ptwqs_simwqspt_plot

Dependencies:abindbackportsbase64encbookdownbootbroombslibcachemcarcarDataclicodetoolscolorspacecommonmarkcowplotcpp11crayondata.tableDerivdigestdoBydplyrevaluateextraDistrfansifarverfastmapfontawesomefsfuturefuture.applygenericsggplot2ggrepelglobalsgluegridExtragridSVGgtablegWQShighrhtmltoolshttpuvisobandjquerylibjsonlitekableExtraknitrlabelinglaterlatticelifecyclelistenvlme4magrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmunsellmvtnormnlmenloptrnnetnumDerivparallellypbapplypbkrtestpillarpkgconfigplotROCplyrpromisespsclpurrrquantregR6rappdirsRColorBrewerRcppRcppEigenreshape2rlangrlistrmarkdownrstudioapisassscalesshinysourcetoolsSparseMstringistringrsurvivalsvglitesystemfontstibbletidyrtidyselecttinytexutf8vctrsviridisviridisLitewithrxfunXMLxml2xtableyaml

How to use the wqspt package

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Aug 21 2024.

Last update: 2023-03-04
Started: 2021-11-12