Enumerates all possible outcome models (linear terms only)
Enumerates all possible outcome models (linear terms only)
This function enumerates and fits all possible outcome models
OM.MA.enumerate(Y, X, U, W =NULL)
Arguments
Y: vector of the outcome
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 listcontains the following named components: - dict: a list that contains the BIC, predicted values, and estimated treatment effect from each outcome model
out.table: a matrix that contains the BIC and estimated treatment effect from each outcome model