Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

psdata

Simulated dataset for PSweight


Description

This is a simulated observational study with three treatment groups to illustated the ulity of PSweight.

Usage

data(psdata)

Format

A data frame with 1500 rows and 8 columns.

Details

The simulated dataset includes 1500 rows, with each row represents information recorded from each individual. There are 8 variables (columns). The treatment is the variable trt, which has three treatment arms. The outcome of interest is variable Y. cov1-cov6 are pre-treatment covariates among which cov1-cov5 are continous, and cov6 is binary.

Examples

data("psdata")

PSweight

Propensity Score Weighting for Causal Inference with Observational Studies and Randomized Trials

v1.1.4
GPL (>= 2)
Authors
Tianhui Zhou [aut, cre], Guangyu Tong [aut], Fan Li [aut], Laine Thomas [aut], Fan Li [aut]
Initial release
2021-03-31

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.