get_var {mlf}R Documentation

Variance

Description

Estimates squared variance by decomposing model prediction error.

Usage

get_var(estimate)

Arguments

estimate

predicted vector

Examples

# Sample data
test <- rnorm(25, 80, 35)
predicted <- rnorm(25, 80, 50)

mlf::get_var(predicted)

[Package mlf version 1.2.1 Index]