Package: debiasedTrialEmulation 0.1.2

Bingyu Zhang

debiasedTrialEmulation: Pipeline for Debiased Target Trial Emulation

Supports propensity score-based methods—including matching, stratification, and weighting—for estimating causal treatment effects. It also implements calibration using negative control outcomes to enhance robustness. 'debiasedTrialEmulation' facilitates effect estimation for both binary and time-to-event outcomes, supporting risk ratio (RR), odds ratio (OR), and hazard ratio (HR) as effect measures. It integrates statistical modeling and visualization tools to assess covariate balance, equipoise, and bias calibration. Additional methods—including approaches to address immortal time bias, information bias, selection bias, and informative censoring—are under development. Users interested in these extended features are encouraged to contact the package authors.

Authors:Bingyu Zhang [aut, cre], Yiwen Lu [aut], Huilin Tang [aut], Dazheng Zhang [aut], Yuqing Lei [aut], Tingyin Wang [aut], Siqi Chen [aut], Yong Chen [aut]

debiasedTrialEmulation_0.1.2.tar.gz
debiasedTrialEmulation_0.1.2.tar.gz(r-4.7-any)debiasedTrialEmulation_0.1.2.tar.gz(r-4.6-any)
debiasedTrialEmulation_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
debiasedTrialEmulation/json (API)

# Install 'debiasedTrialEmulation' in R:
install.packages('debiasedTrialEmulation', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • demo_data - Example Dataset for Debiased Trial Emulation

On CRAN:

Conda:

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

1.00 score 1 stars 237 downloads 30 exports 70 dependencies

Last updated from:bd76d4b542. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK136
source / vignettesOK187
linux-release-x86_64OK155
wasm-releaseOK116

Exports:calibrate_TTECompute_weightcomputePreferenceScorecomputeWeightsestEffect_matchingestEffect_stratificationestEffect_weightingget_HR_matchingget_HR_stratificationget_HR_weightingget_OR_matchingget_OR_stratificationget_OR_weightingget_RR_matchingget_RR_stratificationget_RR_weightingGetSMDplot_Equipoise_matchingplot_Equipoise_stratificationplot_Equipoise_weightingplot_SMD_matchingplot_SMD_stratificationplot_SMD_weightingplotCovariateBalanceOfTopVariablesplotPsstratifyByPssummary.dTTEsummary.TTEtrimByPsQuantileTTE_pipeline

Dependencies:argbackportsbootchkclicobaltcodetoolscpp11dplyrEmpiricalCalibrationfarverforeachgeexgenericsggplot2glmnetgluegridExtragtablehmsisobanditeratorsjanitorjsonlitelabelinglatticelifecyclelme4lubridatemagrittrMASSMatchItMatrixmemuseminqanlmenloptrnumDerivParallelLoggerpillarpkgconfigpurrrR6rbibutilsRColorBrewerRcppRcppEigenRcppProgressRdpackreformulasrlangrootSolverstudioapiS7scalesshapesnakecasesnowstringistringrsurvivaltibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithrxml2

Readme and manuals

Help Manual

Help pageTopics
Negative Control Calibration for Target Trial Emulationcalibrate_TTE
Compute Weights for StratificationCompute_weight
Compute Preference ScorecomputePreferenceScore
Compute Propensity Score WeightscomputeWeights
Example Dataset for Debiased Trial Emulationdemo_data
Estimate Treatment Effects using Propensity Score MatchingestEffect_matching estEffect_stratification estEffect_weighting
Estimate Odds Ratio (OR) after Propensity Score Matchingget_HR_matching get_HR_stratification get_HR_weighting get_OR_matching get_OR_stratification get_OR_weighting get_RR_matching get_RR_stratification get_RR_weighting
Compute Standardized Mean Differences (SMD)GetSMD
Plot Standardized Mean Differences (SMD) for MatchingplotCovariateBalanceOfTopVariables plotPs plot_Equipoise_matching plot_Equipoise_stratification plot_Equipoise_weighting plot_SMD_matching plot_SMD_stratification plot_SMD_weighting
Plot Method for dTTE Objects (Calibration Only)plot.dTTE
Plot Method for TTE Objectsplot.TTE
Print Method for dTTE Objectsprint.dTTE
Print Method for TTE Objectsprint.TTE
Stratify Population by Propensity ScorestratifyByPs
Summary Method for dTTE Objectssummary.dTTE
Summary Method for TTE Objectssummary.TTE
Trim Propensity ScorestrimByPsQuantile
Target Trial Emulation (TTE) PipelineTTE_pipeline