java.lang.Object
org.ojalgo.random.scedasticity.ARCH
- All Implemented Interfaces:
ScedasticityModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbase(double base) errorWeights(double... lagged) static ARCHParameter estimation using heuristics (not max likelihood).doublegetMean()doublevoidinitialise(double mean, double variance) static ARCHnewInstance(int q) static ARCHnewInstance(int q, double mean, double variance) Will create an instance configured with default parameters.voidupdate(double value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ojalgo.random.scedasticity.ScedasticityModel
getStandardDeviation, variances
-
Constructor Details
-
ARCH
public ARCH(int q)
-
-
Method Details
-
estimate
Parameter estimation using heuristics (not max likelihood).- Parameters:
series- Series to adapt toq- Number of lagged squared error terms- Returns:
- Ready to use ARCH model
-
newInstance
- See Also:
-
newInstance
Will create an instance configured with default parameters. What these are may change in the future. You're better of estimating suitable paramaters for your use case and then setbase(double)anderrorWeights(double...). -
base
-
errorWeights
-
getMean
public double getMean() -
getVariance
public double getVariance() -
initialise
public void initialise(double mean, double variance) -
update
public void update(double value)
-