Description Usage Arguments Value
This function implements F-test for the null hypothesis that
observed variables are balanced across treatments.
First, this function runs a linear regression of covariate on treatments,
using lm()
.
After that, we obtaine F-statistics and its p-value, using anova()
.
1 |
x |
a formula object whose right hand side is covariates ( |
d |
a formula object whose right hand side is treatment variable ( |
data |
an object whose class is |
A matrix including mean of covariate in each treatment and
p-value of F-statistics. This matrix has RCT
and xbalance
classes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.