Learn R Programming

PSweight (version 1.2.0)

psdata_cl: Simulated dataset for PSweight

Description

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

Usage

data(psdata_cl)

Arguments

Format

A data frame with 1500 rows and 9 columns.

Details

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

Examples

Run this code
# data("psdata_cl")

Run the code above in your browser using DataLab