Record Class Garch11.Params
java.lang.Object
java.lang.Record
com.quantfinlib.volatility.Garch11.Params
- Enclosing class:
Garch11
public static record Garch11.Params(double omega, double alpha, double beta, double logLikelihood)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParams(double omega, double alpha, double beta, double logLikelihood) Creates an instance of aParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoublealpha()Returns the value of thealpharecord component.doublebeta()Returns the value of thebetarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thelogLikelihoodrecord component.doubleomega()Returns the value of theomegarecord component.doublefinal StringtoString()Returns a string representation of this record class.double
-
Constructor Details
-
Params
public Params(double omega, double alpha, double beta, double logLikelihood) Creates an instance of aParamsrecord class.- Parameters:
omega- the value for theomegarecord componentalpha- the value for thealpharecord componentbeta- the value for thebetarecord componentlogLikelihood- the value for thelogLikelihoodrecord component
-
-
Method Details
-
persistence
public double persistence() -
unconditionalVariance
public double unconditionalVariance() -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
omega
public double omega()Returns the value of theomegarecord component.- Returns:
- the value of the
omegarecord component
-
alpha
public double alpha()Returns the value of thealpharecord component.- Returns:
- the value of the
alpharecord component
-
beta
public double beta()Returns the value of thebetarecord component.- Returns:
- the value of the
betarecord component
-
logLikelihood
public double logLikelihood()Returns the value of thelogLikelihoodrecord component.- Returns:
- the value of the
logLikelihoodrecord component
-