Learn R Programming

hesim (version 0.5.5)

mstate3_exdata: Example data for a reversible 3-state multi-state model

Description

Example multi-state data for parameterizing a continuous time state transition model. Costs and utility are also included to facilitate cost-effectiveness analysis.

Usage

mstate3_exdata

Arguments

Format

A list containing the following elements:

transitions

A data frame containing the times at which patient transitions between health states based on the prothr dataset from the mstate package.

costs

A list of data frames. The first data frame contains summary medical cost estimates and the second data frame contains drug cost data.

utility

A data frame of summary utility estimates.

Transitions data

The data frame has the following columns:

strategy_id

Treatment strategy identification number.

patient_id

Patient identification number.

age

Patient age (in years).

female

1 if a patient is female; 0 if male.

from

Starting state.

to

Receiving state.

trans

Transition number.

Tstart

Starting time.

Tstop

Transition time.

years

Elapsed years between Tstart and Tstop.

status

Status variable; 1=transition, 0=censored.

Cost data

The cost list contains two data frames. The first data frame contains data on the drug costs associated with each treatment strategy.

strategy_id

The treatment strategy identification number.

costs

Annualized drug costs.

The second data frame contains summary data on medical costs by health state, and contains the following columns:

state_id

The health state identification number.

mean

Mean costs.

se

Standard error of medical costs.

Utility data

The data frame has the following columns:

state_id

The health state identification number.

mean

Mean utility

se

Standard error of utility