getUnivariateR2: getUnivariateR2

Description Usage Arguments Value

Description

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

Usage

1
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.


benkeser/r2weight documentation built on May 12, 2019, 12:11 p.m.