Learn R Programming

PCATS: Bayesian Causal Inference for General Type of Treatment

The PCATS application programming interface (API) implements two Bayesian's non parametric causal inference modeling, Bayesian's Gaussian process regression and Bayesian additive regression tree, and provides estimates of averaged causal treatment (ATE) and conditional averaged causal treatment (CATE) for adaptive or non-adaptive treatment. The API is able to handle general types of treatment - binary, multilevel, continuous and their combinations, as well as general type of outcomes including bounded summary scores such as health related quality of life and survival outcomes. In addition, the API is able to deal with missing data using user supplied multiply imputed missing data. Summary tables and interactive figures of the results are generated and downloadable.

Copy Link

Version

Install

install.packages('pcatsAPIclientR')

Monthly Downloads

225

Version

1.3.0

License

GNU General Public License

Maintainer

Michal Kouril

Last Published

April 7th, 2025

Functions in pcatsAPIclientR (1.3.0)

uploadfile

Upload a file
ploturl

Return plot URL
printgp

Print job results
results

Return job results
pcatsAPIclientR-package

pcatsAPIclientR: 'PCATS' API Client
job_status

Return job status
staticGP

Performs a data analysis for data with non-adaptive treatment(s).
wait_for_result

Wait while the job status is pending
staticGP.cate

Get conditional average treatment effect
dynamicGP.cate

Get conditional average treatment effect for data with two time points.
dynamicGP

Performs a data analysis for data with adaptive treatments.