Compute mean square error(MSE) and mean kL divergence (MKL)

Description

Compute mean square error(MSE) and mean kL divergence (MKL)

Usage

1
mse.mkl(obs, pred, na.rm = TRUE, show.warning = TRUE)

Arguments

obs

observed value

pred

prediction/estimate

na.rm

if to remove NAs

show.warning

if to show warning if any

Value

A vector of c(MSE, MKL)