net.finmath.timeseries.models.parametric
Class ARMAGARCH
- java.lang.Object
-
- net.finmath.timeseries.models.parametric.ARMAGARCH
-
- All Implemented Interfaces:
- HistoricalSimulationModel
public class ARMAGARCH extends java.lang.Object implements HistoricalSimulationModel
Log-normal process with ARMAGARCH(1,1) volatility. This class estimate the process \[ \mathrm{d} \log(X) = \sigma(t) \mathrm{d}W(t) \] where \( \sigma \) is given by a ARMAGARCH(1,1) process.
-
-
Constructor Summary
Constructors Constructor and Description ARMAGARCH(double[] values)ARMAGARCH(double[] values, int windowIndexStart, int windowIndexEnd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.Map<java.lang.String,java.lang.Object>getBestParameters()Returns the parameters estimated for the given time series.java.util.Map<java.lang.String,java.lang.Object>getBestParameters(java.util.Map<java.lang.String,java.lang.Object> guess)Returns the parameters estimated for the given time series, using a parameter guess.HistoricalSimulationModelgetCloneWithWindow(int windowIndexStart, int windowIndexEnd)Create a new model, using only a window of the times series.doublegetLastResidualForParameters(double mu, double theta, double omega, double alpha, double beta)doublegetLogLikelihoodForParameters(double theta, double mu, double omega, double alpha, double beta)double[]getQuantilPredictionsForParameters(double theta, double mu, double omega, double alpha, double beta, double[] quantiles)double[]getSzenarios(double theta, double mu, double omega, double alpha, double beta)
-
-
-
Constructor Detail
-
ARMAGARCH
public ARMAGARCH(double[] values)
-
ARMAGARCH
public ARMAGARCH(double[] values, int windowIndexStart, int windowIndexEnd)
-
-
Method Detail
-
getCloneWithWindow
public HistoricalSimulationModel getCloneWithWindow(int windowIndexStart, int windowIndexEnd)
Description copied from interface:HistoricalSimulationModelCreate a new model, using only a window of the times series.- Specified by:
getCloneWithWindowin interfaceHistoricalSimulationModel- Parameters:
windowIndexStart- Index of the first element to be part of the new time series.windowIndexEnd- Index of the last element to be part of the new time series.- Returns:
- A new historical simulation using a different data window.
-
getLogLikelihoodForParameters
public double getLogLikelihoodForParameters(double theta, double mu, double omega, double alpha, double beta)
-
getLastResidualForParameters
public double getLastResidualForParameters(double mu, double theta, double omega, double alpha, double beta)
-
getSzenarios
public double[] getSzenarios(double theta, double mu, double omega, double alpha, double beta)
-
getQuantilPredictionsForParameters
public double[] getQuantilPredictionsForParameters(double theta, double mu, double omega, double alpha, double beta, double[] quantiles)
-
getBestParameters
public java.util.Map<java.lang.String,java.lang.Object> getBestParameters()
Description copied from interface:HistoricalSimulationModelReturns the parameters estimated for the given time series.- Specified by:
getBestParametersin interfaceHistoricalSimulationModel- Returns:
- The parameters estimated for the given time series.
-
getBestParameters
public java.util.Map<java.lang.String,java.lang.Object> getBestParameters(java.util.Map<java.lang.String,java.lang.Object> guess)
Description copied from interface:HistoricalSimulationModelReturns the parameters estimated for the given time series, using a parameter guess.- Specified by:
getBestParametersin interfaceHistoricalSimulationModel- Parameters:
guess- A parameter guess.- Returns:
- The parameters estimated for the given time series.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG