Learn R Programming

maicplus (version 0.1.2)

weighted_twt: Weighted object for two arm trial data

Description

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

Arguments

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

Other anchored datasets: adrs_twt, adsl_twt, adtte_twt, agd, centered_ipd_twt, pseudo_ipd_twt