View source: R/joint-effect-estimation.R
| fit_fx_predictor | R Documentation | 
This function predicts treatment effects in a second stage model.
fit_fx_predictor(full_data, weights, psi_col, ..., .pcate.cfg, .Model_cfg)
| full_data | The full original data with all auxilliary columns. | 
| weights | Weights to be used in the analysis. | 
| psi_col | The unquoted column name of the calculated pseudo-outcome. | 
| ... | Covariate data, passed in as the unquoted names of columns in  | 
| .pcate.cfg | A  | 
| .Model_cfg | A  | 
A list with two items:
model - The FX.Predictor model object used internally for PCATE estimation.
data - The data augmented with column .pseudo_outcome_hat for the cross-fit predictions
of the HTE for each unit.
Model_cfg, PCATE_cfg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.