| weight_fun | R Documentation |
Weight for a fitted CATE model
weight_fun(fit, X, ...)
## S3 method for class 'CATE'
weight_fun(fit, X, ...)
fit |
A fitted model object. |
X |
Covariate matrix. |
... |
Additional arguments passed to methods. |
Numeric vector of weights.
weight_fun(CATE): Weight for a "CATE" object: constant 1 for
each row of X, since the outcome model has a squared-error loss.
weight_fun.CATE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.