View source: R/average_effects.R
| APO_dml_atet | R Documentation | 
This function calculates the average potential outcomes for the average treatment effect on the treated.
APO_dml_atet(y, m_mat, w_mat, e_mat, cf_mat, treated = 2, norm = 2, cl = NULL)
| y | A numeric vector containing the outcome variable. | 
| m_mat | n x T+1 matrix with fitted outcome values. | 
| w_mat | Logical matrix of treatment indicators (n x T+1). For example created by  | 
| e_mat | n x T+1 matrix with (generalized) propensity scores. | 
| cf_mat | Logical matrix with k columns of indicators representing the different folds
(for example created by  | 
| treated | An integer describing the column number of the treated in w_mat for which ATET should be calculated (default 2). | 
| norm | Controls normalization of IPW weights.  | 
| cl | If not NULL, vector with cluster variables. | 
APO_dmlmt returns a list containing the results and a matrix
with the individual values of the doubly robust score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.