Enumerates all possible propensity score models (linear terms only)
Enumerates all possible propensity score models (linear terms only)
This function enumerates and fits all possible propensity score models
PS.MA.enumerate(X, U, W =NULL)
Arguments
X: vector of the treatment indicator (0/1)
U: matrix of covariates to be considered for inclusion/exclusion
W: matrix of covariates that will be included in all models (optional)
Returns
A list. The list contains the following named components: - dict: a list that contains the BIC and estimated propensity scores from propensity score models
out.table: a matrix that contains the BIC from each propensity score model