Learn R Programming

wcox (version 1.0)

Weights to Correct for Outcome Dependent Sampling in Time to Event Data

Description

A new inverse probability of selection weighted Cox model to deal with outcome-dependent sampling in survival analysis.

Copy Link

Version

Install

install.packages('wcox')

Monthly Downloads

138

Version

1.0

License

GPL-3

Maintainer

Vera Arntzen

Last Published

May 16th, 2023

Functions in wcox (1.0)

Prepare_data

Prepare data for weight calculation using the population incidence.
fam_dat

Simulated time-to-event data.
Calculate_weights

Calculate inverse probability of selection weights.