Package: psrwe 3.2

Chenguang Wang

psrwe: PS-Integrated Methods for Incorporating RWE in Clinical Studies

High-quality real-world data can be transformed into scientific real-world evidence (RWE) for regulatory and healthcare decision-making using proven analytical methods and techniques. For example, propensity score (PS) methodology can be applied to pre-select a subset of real-world data containing patients that are similar to those in the current clinical study in terms of covariates, and to stratify the selected patients together with those in the current study into more homogeneous strata. Then, methods such as the power prior approach or composite likelihood approach can be applied in each stratum to draw inference for the parameters of interest. This package provides functions that implement the PS-integrated RWE analysis methods proposed in Wang et al. (2019) <doi:10.1080/10543406.2019.1657133>, Wang et al. (2020) <doi:10.1080/10543406.2019.1684309> and Chen et al. (2020) <doi:10.1080/10543406.2020.1730877>.

Authors:Chenguang Wang [aut, cre], Trustees of Columbia University [cph], Wei-Chen Chen [aut]

psrwe_3.2.tar.gz
psrwe_3.2.zip(r-4.7-x86_64)psrwe_3.2.zip(r-4.6-x86_64)psrwe_3.2.zip(r-4.5-x86_64)
psrwe_3.2.tgz(r-4.6-x86_64)psrwe_3.2.tgz(r-4.6-arm64)psrwe_3.2.tgz(r-4.5-x86_64)psrwe_3.2.tgz(r-4.5-arm64)
psrwe_3.2.tar.gz(r-4.7-arm64)psrwe_3.2.tar.gz(r-4.7-x86_64)psrwe_3.2.tar.gz(r-4.6-arm64)psrwe_3.2.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
psrwe/json (API)

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

Bug tracker:https://github.com/olssol/psrwe/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

5.70 score 5 stars 7 scripts 279 downloads 21 exports 55 dependencies

Last updated from:e22c84c25f. Checks:12 ERROR, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR380
linux-devel-x86_64ERROR439
source / vignettesERROR591
linux-release-arm64ERROR400
linux-release-x86_64ERROR438
macos-release-arm64ERROR355
macos-release-x86_64ERROR864
macos-oldrel-arm64ERROR322
macos-oldrel-x86_64ERROR693
windows-develERROR511
windows-releaseERROR414
windows-oldrelERROR520
wasm-releaseFAIL161

Exports:get_distancepsrwe_borrowpsrwe_cipsrwe_complpsrwe_compl_wattpsrwe_estpsrwe_inferpsrwe_matchpsrwe_outanapsrwe_powerppsrwe_powerp_wattpsrwe_survkmpsrwe_survlrkpsrwe_survrmstrwe_clrwe_cl_wattrwe_cutrwe_kmrwe_lrkrwe_rmstrwe_stan

Dependencies:abindbackportsBHcallrcheckmateclicowplotcpp11descdistributionaldplyrfarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMatrixmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6randomForestRColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeaderssurvivaltensorAtibbletidyselectutf8vctrsviridisLitewithr

Propensity Score-Integrated Kaplan-Meier (PSKM) Method in Augmenting Single-Arm Studies
Introduction | PS-integrated Kaplan-Meier method | Visualized PSKM results | PSKM inference | Demo example | References

Last update: 2023-10-24
Started: 2023-03-14

Propensity Score-Integrated Matching Method
Introduction | PS-integrated matching method | PSCL and outcome analyses | Demo example | References

Last update: 2023-03-14
Started: 2023-03-14

Propensity Score-Integrated Survival Inference in Randomized Controlled Trials (RCTs) with Augmenting Control Arm
Introduction | PS-integrated treatment effect test | PS-integrated log-rank test | PS-integrated restricted mean survival time (RMST) test | Demo examples | References

Last update: 2023-03-14
Started: 2023-03-14

psrwe: Propensity Score-Integrated Methods for Incorporating Real-World Evidence in Clinical Studies
Introduction | Propensity score estimation | PS-integrated power prior approach for single arm studies | PS-integrated composite likelihood approach for single arm studies | PS-integrated composite likelihood approach for randomized studies | Demo examples | Reference

Last update: 2023-03-14
Started: 2020-08-04

Readme and manuals

Help Manual

Help pageTopics
PS-Integrated Methods for Incorporating RWE in Clinical Studiespsrwe-package psrwe
Example datasetex_dta
Example datasetex_dta_rct
Distance between two distributionsget_distance
Plot PS distributionsplot.PSRWE_DTA
Plot PS distributionsplot.PSRWE_DTA_MAT
Plot estimation results for power prior approachplot.PSRWE_RST
Print borrow informationprint.PSRWE_BOR
Print PS estimation resultsprint.PSRWE_DTA
Print PS estimation resultsprint.PSRWE_DTA_MAT
Print estimation resultsprint.PSRWE_RST
Print outcome analysis resultsprint.PSRWE_RST_OUTANA
Get number of subjects borrowed from each statumpsrwe_borrow
Confidence/Credible Interval for PS-Integrated Estimationpsrwe_ci
PS-Integrated Composite Likelihood Estimationpsrwe_compl
PS-Integrated Composite Likelihood Estimation (WATT)psrwe_compl_watt
Estimate propensity scorespsrwe_est
Inference for the PS-Integrated Estimationpsrwe_infer
PS matchingpsrwe_match
Outcome Analysis for PS-Integrated Estimationpsrwe_outana
Get posterior samples based on PS-power prior approachpsrwe_powerp
Get posterior samples based on PS-power prior approach (WATT)psrwe_powerp_watt
PS-Integrated Kaplan-Meier Estimationpsrwe_survkm
PS-Integrated Log-Rank Test For Comparing Time-to-event Outcomespsrwe_survlrk
PS-Integrated Restricted Mean Survival Time (RMST) Test For Comparing Time-to-event Outcomespsrwe_survrmst
Composite Likelihood Estimationrwe_cl
Composite Likelihood Estimation (WATT)rwe_cl_watt
Create stratarwe_cut
Kaplan-Meier Estimationrwe_km
Log-rank Estimationrwe_lrk
RMST Estimationrwe_rmst
Call STAN modelsrwe_stan
Summarize PS estimation and stratification resultssummary.PSRWE_DTA
Summarize PS estimation and matching resultssummary.PSRWE_DTA_MAT
Summarize overall estimation resultssummary.PSRWE_RST
Summary outcome analysis resultssummary.PSRWE_RST_OUTANA