psdata: Simulated dataset for PSweight

psdataR Documentation

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 documentation built on May 29, 2024, 3:55 a.m.