Comptues the R^2 and a confidence interval for a particular outcome and Super Learner prediction.

getUnivariateR2(Y, psiHat.Pnv0, return.IC)

Arguments

Y

The matrix of outcomes

psiHat.Pnv0

The predictions on training sample

return.IC

Boolean for whether to return influence functions

Value

A list with point estimate and 95 for R^2 for each outcome individually.