Comptues the R^2 and a confidence interval for a particular outcome and Super Learner prediction.
getUnivariateR2(Y, psiHat.Pnv0, return.IC)
Y | The matrix of outcomes |
---|---|
psiHat.Pnv0 | The predictions on training sample |
return.IC | Boolean for whether to return influence functions |
A list
with point estimate and 95
for R^2 for each outcome individually.