test_data_weights: Mock data set to test density estimation with weights

Description Usage Format

Description

A completely artificial data set from a simulation study designed to test the functionality of the argument "weights" in the function "fit_density", as implemented in pull request #12 to https://github.com/osofr/condensier

Usage

1

Format

A data.frame with 30,000 rows and 4 columns, including some observations marked with NA for missing data:

W1

A binary covariate with a multiplicative effect on the mean of the treatment. This background covariate does _not_ impact the censoring mechanism.

W2

A binary covariate with a multiplicative effect on the mean of the treatment. This background covariates directly affects the censoring mechanism.

DeltaA

A continuous value, the realization of an observation from a Gaussian distribution, with censored observations marked with NA.

IPCW

A _true_ inverse probability of censoring weight computed from the censoring mechanism used to induce missingness in the data.


osofr/condensier documentation built on May 8, 2019, 11:14 p.m.