Skip to contents

The weighted patient data for a two arm trial generated from the centered patient data (centered_ipd_twt). It has weights calculated for 100 bootstrap samples.

The object is generated using the following code:

estimate_weights(
  data = centered_ipd_twt,
  centered_colnames = c(
    "AGE_CENTERED",
    "AGE_MEDIAN_CENTERED",
    "AGE_SQUARED_CENTERED",
    "SEX_MALE_CENTERED",
    "ECOG0_CENTERED",
    "SMOKE_CENTERED"
    ),
  n_boot_iteration = 100
 )

Usage

weighted_twt

Format

A maicplus_estimate_weights object created by estimate_weights() containing

data

patient level data with weights

centered_colnames

Columns used in MAIC

nr_missing

Number of observations with missing data

ess

Expected sample size

opt

Information from optim from weight calculation

boot

Parameters and bootstrap sample weights for the 100 samples

See also