Take two numeric vectors and return the Probability associated with their Coefficient of determination (R2).
pmse(fprd, fobs, nbK)
two numeric vectors. The first vector contains predicted or modelled values. The second vector contains the reference (observed) values.
an integer. nbK > 1
: returns an
error if not.
Return the Probability associated with the Coefficient of Ddtermination (R2).
Be careful, the function pmse
is not symmetrical.
The first argument fprd
is vector of estimated, modelled
or predicted values, the second argument fobs
is
the vector of reference (observed values). Both the vectors have the
same length: length(fprd) = length(fobs)
.