getSummaries: Generates various information required within different...

Description Usage Arguments Details Value Author(s)

Description

This is an internal function that takes as input a dataset with 4 columns ID, RESPONSE, COST and TREATMENT and extracts and generates a list with the required information.

Usage

1

Arguments

data

a dataset with 4 columns holding respectively, ID, treatment outcome, treatment cost and treatment arm.

Details

to be written

Value

a list with the following items: idxA indices of the observation in the first treatment arm idxB indices of the observation in the second treatment arm cost cost values meanCostA mean cost for the first treatment arm meanCostB mean cost for the second treatment arm meanOutcomeA mean outome for the first treatment arm meanOutcomeB mean outome for the second treatment arm seCostA standard error of the cost of the first treatment arm seCostB standard error of the cost of the second treatment arm seOutcomeA standard error of the outcome of the first treatment arm seOutcomeB standard error of the outcome of the second treatment arm

Author(s)

Amadou Gaye & Felix Achana


agaye/ceeComp documentation built on May 10, 2019, 7:32 a.m.