View source: R/functions_stats.R
ate | R Documentation |
Returns difference in means between exposures b
and a
(as b
- a
), coded as 1
and -1
, respectively.
ate(Z, Y)
Z |
The treatment vector. Entries of |
Y |
The outcome vector |
The differenence in means between exposure contrasts b
and a
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.