psdata_bin_retrospective_fp: Retrospective Factual Sample Dataset for PSweight Analysis

psdata_bin_retrospective_fpR Documentation

Retrospective Factual Sample Dataset for PSweight Analysis

Description

A simulated dataset representing the observed (factual) sample drawn from the retrospective superpopulation. This dataset is obtained by selecting only those observations with sample_indicator == 1, where the sampling probability is a function of both covariates and treatment.

Usage

data(psdata_bin_retrospective_fp)

Format

A data frame with the subset of rows from psdata_bin_retrospective_sp (e.g. 600 rows) and the same 10 variables as psdata_bin_retrospective_sp.

Details

This dataset is derived from psdata_bin_retrospective_sp by retaining only observations that were selected (i.e. those with sample_indicator == 1). It represents the observed sample used for analysis under a retrospective design.

Examples

data(psdata_bin_retrospective_fp)
head(psdata_bin_retrospective_fp)

PSweight documentation built on April 3, 2025, 10:27 p.m.