Skip to contents

Creates a method for computing mean and variance statistics based on the supplied function.

Usage

IPD_stat_factory(ipd_fun)

Arguments

ipd_fun

A function that computes mean and variance statistics for individual-level patient data.

Value

A function that computes mean and variance statistics for a given strategy.