pooled_variance: Pooled variances

Description Usage Arguments Details Value Author(s)

Description

Matrix computation of pooled variances for two groups

Usage

1

Arguments

x

either a numeric vector or column matrix of outcomes (see Details)

g

group assignments (see Details)

Details

Group assignments can be passed via g using either a numeric/integer factor, vector, or matrix. All elements with values below or equal to zero are treated as belonging to the control, all above as belonging to the treatment group.

If either x or g are passed as matrices test statistics each computed for each column of outcomes or treatment assignments. Passing both as matrices does not work!

Value

numeric vector of test statistics

Author(s)

Florian Klinglmueller


floatofmath/resamplingMCP documentation built on May 16, 2019, 1:21 p.m.