bzGetSubgrp: Get subgroup treatment effect estimation and variance

Description Usage Arguments Value

Description

Compute subgroup treatment effect estimation and variance for subgroup effect summary data. The estimation and variance are combined if there are multiple record of the same subgroup, defined by the covariates, in the data.

Usage

1
bzGetSubgrp(data.all, var.ey, var.variance, var.cov)

Arguments

data.all

subject level dataset

var.ey

column name in data.all for estimated treatment effect

var.variance

column name in data.all for variance of subgroup treatment assignment

var.cov

array of column names in dat.all that corresponds to binary or ordinal baseline covaraites

Value

A dataframe with treatment effect estimation and variance for each subgroup


beanz documentation built on May 2, 2019, 4:01 a.m.