Package: WSPsignal 1.0.0

WSPsignal: Weibull Shape Parameter Tests for Signal Detection

Implementation of Bayesian and frequentist Weibull Shape Parameter (WSP) tests for signal detection in pharmacovigilance based on right-censored time-to-event data to flag associations between drugs and adverse events. The WSP test is based on the assumption of constant hazard reflected by a Weibull type distribution with shape parameters equal to one. Based on the shape parameter estimates (posterior distribution or point estimate), the WSP test method performs a hypothesis test on each shape parameter and combines them to a decision on the presence of a signal. Methods described in Sauzet and Cornelius (2022) <doi:10.3389/fphar.2022.889088>, Sauzet et al. (2024) <doi:10.1007/s40264-024-01460-2>, and Dyck and Sauzet (2025) <doi:10.48550/arXiv.2412.05463>.

Authors:Julia Dyck [cre], Julia Dyck [aut], Odile Sauzet [aut]

WSPsignal_1.0.0.tar.gz
WSPsignal_1.0.0.zip(r-4.7)WSPsignal_1.0.0.zip(r-4.6)WSPsignal_1.0.0.zip(r-4.5)
WSPsignal_1.0.0.tgz(r-4.6-x86_64)WSPsignal_1.0.0.tgz(r-4.6-arm64)WSPsignal_1.0.0.tgz(r-4.5-x86_64)WSPsignal_1.0.0.tgz(r-4.5-arm64)
WSPsignal_1.0.0.tar.gz(r-4.7-arm64)WSPsignal_1.0.0.tar.gz(r-4.7-x86_64)WSPsignal_1.0.0.tar.gz(r-4.6-arm64)WSPsignal_1.0.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
WSPsignal/json (API)

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

Bug tracker:https://github.com/julia-dyck/wspsignal/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • muscu - Simulated musculoskeletal pain time-to-event dataset
  • muscu2 - Simulated musculoskeletal pain time-to-event dataset
  • tte - Test time-to-event dataset

On CRAN:

Conda:

cpp

4.20 score 1 scripts 24 exports 73 dependencies

Last updated from:4ca1590785. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK490
linux-devel-x86_64OK541
source / vignettesOK798
linux-release-arm64OK502
linux-release-x86_64OK583
macos-release-arm64OK492
macos-release-x86_64OK1417
macos-oldrel-arm64OK374
macos-oldrel-x86_64OK673
windows-develOK795
windows-releaseOK835
windows-oldrelOK803
wasm-releaseFAIL145

Exports:bwsp_modelbwsp_testdpgweval.calc_perfeval.eff_sample_sizeseval.execution_timeseval.non_conv_caseseval.rank_auceval.roc_curvefwsp_modelfwsp_testhpgwplot_pgwppgwqpgwrpgwsim.datagen_ttesim.merge_resultssim.priors_templatesim.runsim.run_parallelsim.setup_sim_parsspgwtte2priordat

Dependencies:abindbackportsBHbitopscallrcaToolscheckmateclicodetoolscpp11descdigestdistributionaldplyrfarverfurrrfuturegenericsggplot2globalsgluegplotsgridExtragtablegtoolsHDIntervalinlineisobandKernSmoothlabelinglatticelifecyclelistenvloomagrittrMatrixmatrixStatsnumDerivotelparallellypillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackrlangROCRrstanrstantoolsS7scalesStanHeadersstringistringrsurvivaltensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr