View source: R/utils.R View source: R/utils.R
| estimate_nuisances | R Documentation | 
Estimate nuisance functions for average value-based VIMs
Estimate nuisance functions for average value-based VIMs
estimate_nuisances(
  fit,
  X,
  exposure_name,
  V = 1,
  SL.library,
  sample_splitting,
  sample_splitting_folds,
  verbose,
  weights,
  cross_fitted_se,
  split = 1,
  ...
)
estimate_nuisances(
  fit,
  X,
  exposure_name,
  V = 1,
  SL.library,
  sample_splitting,
  sample_splitting_folds,
  verbose,
  weights,
  cross_fitted_se,
  split = 1,
  ...
)
| fit | the fitted nuisance function estimator | 
| X | the covariates. If  | 
| exposure_name | (only used if  | 
| V | the number of folds for cross-fitting, defaults to 5. If
 | 
| SL.library | a character vector of learners to pass to
 | 
| sample_splitting | should we use sample-splitting to estimate the full and
reduced predictiveness? Defaults to  | 
| sample_splitting_folds | the folds used for sample-splitting;
these identify the observations that should be used to evaluate
predictiveness based on the full and reduced sets of covariates, respectively.
Only used if  | 
| verbose | should we print progress? defaults to FALSE | 
| weights | weights to pass to estimation procedure | 
| cross_fitted_se | should we use cross-fitting to estimate the standard
errors ( | 
| split | the sample split to use | 
| ... | other arguments to the estimation tool, see "See also". | 
nuisance function estimators for use in the average value VIM: the treatment assignment based on the estimated optimal rule (based on the estimated outcome regression); the expected outcome under the estimated optimal rule; and the estimated propensity score.
nuisance function estimators for use in the average value VIM: the treatment assignment based on the estimated optimal rule (based on the estimated outcome regression); the expected outcome under the estimated optimal rule; and the estimated propensity score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.