Skip to contents

Computes the mean and variance of marginal treatment effects for aggregate-level trial data.

Usage

calc_ALD_stats(strategy, analysis_params)

Arguments

strategy

A list containing the strategy details, including the family distribution.

analysis_params

A list containing:

  • ald Aggregate-level trial data

  • ref_trt Treatment labels reference (common; e.g. placebo)

  • comp_trt Treatment labels comparator

  • scale A scaling parameter for the calculation.

Value

A list containing:

mean

The marginal treatment effect mean.

var

The marginal treatment effect variance.

Examples