weighted_r_squared: Weighted R Squared

Description Usage Arguments Value Note

Description

Evaluates Weighted R Squared, Explained Variance, on predictions of a regression model.

Usage

1
weighted_r_squared(known, predicted, weights)

Arguments

known

known values

predicted

predicted values (point estimates)

weights

a vector of weights

Value

Weighted R Squared value

Note

A negative R Squared value means that the prediction model is worst than fitting an horizontal line to the data.


dsnavega/grnnet documentation built on May 9, 2019, 5 a.m.