GOF: Goodness of Fit of Fuzzy Regression Model

View source: R/GOF.R

GOFR Documentation

Goodness of Fit of Fuzzy Regression Model

Description

Calculates mean error rate based on Diamond's distance of two variables representing triangular fuzzy numbers, where one is the response variable and the other is the prediction from a fuzzy regression model.

Usage

GOF(object, sc = 1e-06)

Arguments

object

a fuzzylm object.

sc

scaling constant used for numerical stability when spreads are equal to zero.

Details

The Diamond's distance of two triangular fuzzy numbers is sum of squared differences of the core and both support values of the fuzzy numbers.

Value

A numeric.

References

Diamond P. (1988) Fuzzy least squares. Information Sciences 46(3): 141-157.

Wang N., Zhang W.-X., Mei C.-L. (2007) Fuzzy nonparametric regression based on local linear smoothing technique. Information Sciences 177: 3882-3900.

See Also

fuzzylm

Examples

data(bats)
f <- fuzzylm(temperature ~ MAST, data = bats)
GOF(f)

fuzzyreg documentation built on March 31, 2023, 9:19 p.m.