Package: PSAboot 1.3.8

PSAboot: Bootstrapping for Propensity Score Analysis

It is often advantageous to test a hypothesis more than once in the context of propensity score analysis (Rosenbaum, 2012) <doi:10.1093/biomet/ass032>. The functions in this package facilitate bootstrapping for propensity score analysis (PSA). By default, bootstrapping using two classification tree methods (using 'rpart' and 'ctree' functions), two matching methods (using 'Matching' and 'MatchIt' packages), and stratification with logistic regression. A framework is described for users to implement additional propensity score methods. Visualizations are emphasized for diagnosing balance; exploring the correlation relationships between bootstrap samples and methods; and to summarize results.

Authors:Jason Bryer [aut, cre]

PSAboot_1.3.8.tar.gz
PSAboot_1.3.8.zip(r-4.5)PSAboot_1.3.8.zip(r-4.4)PSAboot_1.3.8.zip(r-4.3)
PSAboot_1.3.8.tgz(r-4.4-any)PSAboot_1.3.8.tgz(r-4.3-any)
PSAboot_1.3.8.tar.gz(r-4.5-noble)PSAboot_1.3.8.tar.gz(r-4.4-noble)
PSAboot_1.3.8.tgz(r-4.4-emscripten)PSAboot_1.3.8.tgz(r-4.3-emscripten)
PSAboot.pdf |PSAboot.html
PSAboot/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/jbryer/psaboot/issues

Datasets:
  • pisa.psa.cols - Character vector representing the list of covariates used for estimating propensity scores.
  • pisalux - Programme of International Student Assessment (PISA) results from the Luxembourg in 2009.
  • pisausa - Programme of International Student Assessment (PISA) results from the United States in 2009.

On CRAN:

propensity-score

4.14 score 12 stars 23 scripts 683 downloads 14 exports 88 dependencies

Last updated 1 years agofrom:f5d73cd745. Checks:ERROR: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILNov 16 2024
R-4.5-winWARNINGNov 16 2024
R-4.5-linuxWARNINGNov 16 2024
R-4.4-winWARNINGNov 16 2024
R-4.4-macWARNINGNov 16 2024
R-4.3-winWARNINGNov 16 2024
R-4.3-macWARNINGNov 16 2024

Exports:balancebalance.matchingboot.ctreeboot.matchingboot.matchitboot.rpartboot.strataboot.weightinggetPSAbootMethodsmatrixplotpsa.strataPSAbootq25q75

Dependencies:abindbackportsbootbroomcarcarDatachkclicodetoolscoincolorspacecowplotcpp11DerivdoBydplyrezfansifarverFormulagenericsggplot2ggthemesglueGPArotationgridExtragtableisobandlabelinglatticelibcoinlifecyclelme4magrittrMASSMatchingMatchItMatrixMatrixModelsmatrixStatsmgcvmicrobenchmarkminqamnormtmodelrmodeltoolsmultcompmunsellmvtnormnlmenloptrnnetnumDerivpartypbkrtestpillarpkgconfigplyrPSAgraphicspsychpurrrquantregR6randomForestRColorBrewerRcppRcppEigenRcppProgressreshape2rlangrpartsandwichscalesSparseMstringistringrstrucchangesurvivalTH.datatibbletidyrtidyselectTriMatchutf8vctrsviridisLitewithrzoo

Readme and manuals

Help Manual

Help pageTopics
Bootstrapping for Propensity Score AnalysisPSAboot-package
Convert the results of PSAboot summary to a data frame.as.data.frame.PSAbootSummary
Returns a summary of the balance for all bootstrap samples.balance
Returns balance for each covariate from propensity score matching.balance.matching
Stratification using classification trees for bootstrapping.boot.ctree
Matching package implementation for bootstrapping.boot.matching
MatchIt package implementation for bootstrapping.boot.matchit
Stratification using classification trees for bootstrapping.boot.rpart
Stratification implementation for bootstrapping.boot.strata
Propensity score weighting implementation for bootstrapping.boot.weighting
Boxplot of PSA bootstrap results.boxplot.PSAboot
Boxplot of the balance statistics for bootstrapped samples.boxplot.PSAboot.balance
Calculates propensity score weights.calculate_ps_weights
Returns a vector with the default methods used by 'PSAboot'.getPSAbootMethods
Histogram of PSA bootstrap resultshist.PSAboot
Matrix Plot of Bootstrapped Propensity Score Analysismatrixplot
Character vector representing the list of covariates used for estimating propensity scores.pisa.psa.cols
Programme of International Student Assessment (PISA) results from the Luxembourg in 2009.pisalux
Programme of International Student Assessment (PISA) results from the United States in 2009.pisausa
Plot the results of PSAbootplot.PSAboot
Plot method for balance.plot.PSAboot.balance
Print results of PSAbootprint.PSAboot
Print method for balance.print.PSAboot.balance
Print method for PSAboot Summary.print.PSAbootSummary
Propensity Score Analysis using Stratificationpsa.strata
Bootstrapping for propensity score analysisPSAboot
Return the 25th percentile.q25
Returns the 75th percentile.q75
Summary of pooled results from PSAbootsummary.PSAboot