View source: R/nuisance_parameters.R
| nuisance_e | R Documentation | 
Cross-fitted ensemble prediction of propensity score nuisance parameter.
nuisance_e(ml, w_mat, x, cf_mat, cv = 5, path = NULL, quiet = TRUE)
| ml | List of methods to be used in  | 
| w_mat | Logical matrix of treatment indicators (n x T+1). For example created by  | 
| x | Covariate matrix. | 
| cf_mat | Logical matrix with k columns of indicators representing the different folds
(for example created by  | 
| cv | Number of cross-validation when estimating ensemble (default 5). | 
| path | Optional path to save the  | 
| quiet | If FALSE, ensemble estimators print method that is currently running. | 
Returns n x T+1 matrix with each columns containing the propensity score for the treatment corresponding to w_mat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.