covarExpand {hbal}R Documentation

Serial Expansion of Covariates

Description

Internal function called by hbal to serially expand covariates.

Usage

covarExpand(X, exp.degree = 3, treatment = NULL, exclude = NULL)

Arguments

X

matrix of covariates.

exp.degree

the degree of the polynomial.

treatment

treatment indicator

exclude

list of covariate name pairs or triplets to be excluded.

Value

A matrix of serially expanded covariates

Author(s)

Yiqing Xu, Eddie Yang


[Package hbal version 1.2.12 Index]