Learn R Programming

functClust (version 0.1.6)

pmse: Probability associated with the Coefficient of determination (R2)

Description

Take two numeric vectors and return the Probability associated with their Coefficient of determination (R2).

Usage

pmse(fprd, fobs, nbK)

Arguments

fprd, fobs

two numeric vectors. The first vector contains predicted or modelled values. The second vector contains the reference (observed) values.

nbK

an integer. nbK > 1 : returns an error if not.

Value

Return the Probability associated with the Coefficient of Ddtermination (R2).

Details

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).

See Also

R2, rss, mse, rmse, R2mse