Learn R Programming

ecp (version 1.5.2)

gof.update: GOODNESS OF FIT UPDATE

Description

Updates the goodness of fit statistic.

Usage

gof.update(i,ret)

Arguments

i
segments which is to be merged with the segment that is adjacent to its right.
ret
A list with 'gof', 'right', 'left', 'D', and 'size' comonents.

Value

  • Returns a real number. This is the updated goodness of fit statistic.

Details

Called by the e.agglo method, and should not be called by the user.

References

James NA, Matteson DS (2013). A Nonparametric Approach for Multiple Change Point Analysis of Multivariate Data.

James NA, Matteson DS (2013). ecp: An R Package for Nonparametric Multiple Change Point Analysis of Multivariate Data.

Rizzo ML, Szekely GL (2005). Hierarchical clustering via joint between-within distances: Extending ward's minimum variance method. Journal of Classification. pp. 151 - 183.

See Also

e.agglo