score_fun: Score for a fitted CATE model

View source: R/hte.R

score_funR Documentation

Score for a fitted CATE model

Description

Score for a fitted CATE model

Usage

score_fun(fit, y, X, ...)

## S3 method for class 'CATE'
score_fun(fit, y, X, ...)

Arguments

fit

A fitted model object.

y

Numeric response vector.

X

Covariate matrix.

...

Additional arguments passed to methods.

Value

Numeric vector of scores.

Methods (by class)

  • score_fun(CATE): Score for a "CATE" object: the residual \hat{\mathbb{E}}[Y | T, Z] - Y, i.e. predicted value minus y.

See Also

score_fun.CATE


dScoreTest documentation built on Sept. 3, 2026, 1:06 a.m.