descriptive_arm {aggTrees} | R Documentation |
Descriptive Statistics by Treatment Arm
Description
Computes sample averages and standard deviations of the covariates across treatment arms.
Usage
descriptive_arm(X, D)
Arguments
X |
Covariate matrix (no intercept). |
D |
Treatment assignment vector. |
Details
Sample means and standard deviations across treatment arms are a first, useful insight to assess covariate balance.
Value
4xp array, storing the desired statistics.
[Package aggTrees version 2.0.2 Index]