Details
-
New Feature
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.2
-
None
-
None
-
None
Description
I've implemented removeData methods for the org.apache.commons.math.stat.regression.SimpleRegression class. They mirror the existing addData methods. My reason for adding them is to support regression calculations across a sliding window of (time-based) observations without having to recalculate for the entire window every time.
I'll attach patch files for the class and its junit test class. I'm not too concerned if these are added to the commons math library (I have made a copy in my own class hierarchy) but thought other might find this useful.