Learn R Programming

RItools (version 0.3-3)

HB08: Adjusted & combined differences as in Hansen & Bowers (2008)

Description

Adjusted & combined differences as in Hansen & Bowers (2008)

Usage

HB08(alignedcovs)

Value

list with components:

z

First item

p

Second item

Msq

Squared Mahalanobis distance of combined differences from origin

DF

degrees of freedom

adj.diff.of.totals

Vector of sum statistics z't - E(Z't), where t represents cluster totals of the product of the covariate with unit weights. Hansen & Bowers (2008) refer to this as the adjusted difference vector, or d(z,x).

tcov

Matrix of null covariances of Z'x-tilde vector, as above.

Arguments

alignedcovs

A CovsAlignedToADesign object

References

Hansen, B.B. and Bowers, J. (2008), ``Covariate Balance in Simple, Stratified and Clustered Comparative Studies,'' Statistical Science 23.

See Also

balanceTest, alignDesignsByStrata