crossfit {aihuman}R Documentation

Crossfitting for nuisance functions

Description

Implement crossfitting with boosting methods and get predicted values for outcome/decision regression or propensity score models

Usage

crossfit(data, include_for_fit, form, ...)

Arguments

data

A data.frame or matrix to fit on.

include_for_fit

Boolean vector for whether or not a unit should be included in fitting (e.g. treated/control).

form

Formula for outcome regression/propensity score models.

...

Additional arguments to be passed to gbm function.

Value

A vector of predicted values


[Package aihuman version 1.0.1 Index]