Prediction method for HAL-based conditional density estimation
# S3 method for haldensify
predict(object, ..., new_A, new_W)
Arguments
| object |
An object of class haldensify, containing the
results of fitting the highly adaptive lasso for conditional density
estimation, as produced by a call to haldensify. |
| ... |
Additional arguments passed to predict as necessary. |
| new_A |
The numeric vector or similar of the observed values of
an intervention for a group of observational units of interest. |
| new_W |
A data.frame, matrix, or similar giving the values
of baseline covariates (potential confounders) for the observed units whose
observed intervention values are provided in the previous argument. |