In addition to obtaining predicted values, is there a way to obtain the variance of predicted values from a model that uses superlearner? For instance, one may want to make inference about the difference under a different treatment.

SL.lib <- c("SL.glm", "SL.glmnet", "SL.xgboost", "SL.gam")
m.SL <- SuperLearner(Y = y_train, X = x_train, 
        cvControl = list(V = 20), SL.library = SL.lib)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.