rmse: Calculate the root-mean-squared-error for given y and yrep.

View source: R/loo_handler.R

rmseR Documentation

Calculate the root-mean-squared-error for given y and yrep.

Description

If psis-weights are supplied, the corresponding psis-rmse is returned.

Usage

rmse(y, yrep, weights = NULL)

Arguments

y

Vector of observed values

yrep

Vector of predicted Values

weights

PSIS weights

Value

rmse for the given y and yrep vectors


sims1253/bayesim documentation built on Aug. 13, 2024, 5:59 p.m.