rmsep: Root MSE of Prediction

Description Usage Arguments Details Value

View source: R/OmicsPLS.R

Description

Calculates the Root MSE of prediction on test data. Only tested to work inside loocv.

Usage

1
rmsep(Xtst, Ytst, fit, combi = FALSE)

Arguments

Xtst

Numeric vector or matrix.

Ytst

Numeric vector or matrix.

fit

o2m fit (on data without Xtst and Ytst).

combi

Logical. Should the symmetrized MSE be used, i.e. add both MSEs. Not yet implemented, but see rmsep_combi

Details

This function is the building block for loocv, as it produced the prediction error for test (left out) data.

Value

Mean squares difference between predicted Y and true Y


OmicsPLS documentation built on May 19, 2021, 5:08 p.m.