Package: TriMatch 0.9.9

TriMatch: Propensity Score Matching of Non-Binary Treatments

Propensity score matching for non-binary treatments.

Authors:Jason Bryer <[email protected]>

TriMatch_0.9.9.tar.gz
TriMatch_0.9.9.zip(r-4.5)TriMatch_0.9.9.zip(r-4.4)TriMatch_0.9.9.zip(r-4.3)
TriMatch_0.9.9.tgz(r-4.4-any)TriMatch_0.9.9.tgz(r-4.3-any)
TriMatch_0.9.9.tar.gz(r-4.5-noble)TriMatch_0.9.9.tar.gz(r-4.4-noble)
TriMatch_0.9.9.tgz(r-4.4-emscripten)TriMatch_0.9.9.tgz(r-4.3-emscripten)
TriMatch.pdf |TriMatch.html
TriMatch/json (API)
NEWS

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

Peer review:

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

Datasets:
  • nmes - Results from the 1987 National Medical Expenditure Study
  • tutoring - Results from a study examining the effects of tutoring services on course grades.

On CRAN:

16 exports 13 stars 2.28 score 69 dependencies 1 dependents 3 mentions 30 scripts 252 downloads

Last updated 7 years agofrom:e01fbbab34. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 30 2024
R-4.5-winNOTEAug 30 2024
R-4.5-linuxNOTEAug 30 2024
R-4.4-winOKAug 30 2024
R-4.4-macOKAug 30 2024
R-4.3-winOKAug 30 2024
R-4.3-macOKAug 30 2024

Exports:balance.plotboxdiff.plotcovariateBalancedata.frame.to.listdistances.plotloess3.plotmaximumTreatmultibalance.plotOneToNparallel.plotperpPtsegment1segment2trimatchtripsunmatched

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrezfansifarvergenericsggplot2glueGPArotationgridExtragtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamnormtmodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrPSAgraphicspsychpurrrquantregR6randomForestRColorBrewerRcppRcppEigenreshape2rlangrpartscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Propensity Score Analysis for Non-Binary TreatmentsTriMatch-package TriMatch
Convert a list of vectors to a data frame.as.data.frame.list
Balance plot for the given covariate.balance.plot
Returns a 'ggplot2' box plot of the differences.boxdiff.plot
Calculate covariate effect size differences before and after stratification.covariateBalance
Convert a list of vectors to a data frame.data.frame.to.list
Euclidean distance calculation.distance.euclid
Barplot for the sum of distances.distances.plot
Loess plot for matched triplets.loess3.plot
This method will return at least one treatment from groups one and two within the caliper.maximumTreat
Merges outcomes with the matched set.merge.triangle.matches
Merges covariate(s) with the results of 'trips'.merge.triangle.psa
Multiple covariate balance assessment plot.multibalance.plot
Results from the 1987 National Medical Expenditure Studynmes
This method will use a M1-to-M2-to-1 matching.OneToN
Parallel coordinate plot for the three groups and dependent variable.parallel.plot
Internal method for plotting. Finds a point d distance from x, yperpPt
Prints a grid of balance plots.plot.balance.plots
Triangle plot drawing matched triplets.plot.triangle.matches
Triangle plot.plot.triangle.psa
Print the results of 'balance.plot' for a data frame of covariates.print.balance.plots
Print method for 'plot.triangle.psa'. The primary purpose is to suppress the "Removed n rows containing missing values" warning printed by 'ggplot2'.print.triangle.plot
Prints the results of 'summary.triangle.matches'.print.trimatch.summary
Internal method for plotting. Position along the left side segmentsegment1
Internal method for plotting. Position along the right side segmentsegment2
Returns significance level.star
Prints a summary table of the test statistics of each balance plot.summary.balance.plots
Provides a summary of the matched triplets including analysis of outcome measure if provided.summary.triangle.matches
Prints the summary results of the logistic regression models.summary.triangle.psa
Provides a summary of unmatched subjects.summary.unmatched
Creates matched triplets.trimatch
Recursive function to find possible matched triplets using the apply functions.trimatch.apply2
Estimates propensity scores for three groupstrips
Results from a study examining the effects of tutoring services on course grades.tutoring
Returns rows from 'trips' that were not matched by 'trimatch'.unmatched