public class GARCH extends Object implements HistoricalSimulationModel
| Constructor and Description |
|---|
GARCH(double[] values)
Create GARCH model estimated form the given time series of values.
|
GARCH(double[] values,
int windowIndexStart,
int windowIndexEnd)
Create GARCH model estimated form the given time series of values.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getBestParameters()
Returns the parameters estimated for the given time series.
|
Map<String,Object> |
getBestParameters(Map<String,Object> guess)
Returns the parameters estimated for the given time series, using a parameter guess.
|
GARCH |
getCloneWithWindow(int windowIndexStart,
int windowIndexEnd)
Create a new model, using only a window of the times series.
|
double |
getLastResidualForParameters(double omega,
double alpha,
double beta)
Returns the last estimate of the time series volatility.
|
double |
getLogLikelihoodForParameters(double omega,
double alpha,
double beta)
Get log likelihood of the sample time series for given model parameters.
|
double[] |
getQuantilPredictionsForParameters(double omega,
double alpha,
double beta,
double[] quantiles) |
double[] |
getSzenarios(double omega,
double alpha,
double beta) |
public GARCH(double[] values)
values - Given set of values.public GARCH(double[] values,
int windowIndexStart,
int windowIndexEnd)
values - Given set of values.windowIndexStart - First index to consider in the given set of values.windowIndexEnd - Last index to consider in the given set of values.public GARCH getCloneWithWindow(int windowIndexStart, int windowIndexEnd)
HistoricalSimulationModelgetCloneWithWindow in interface HistoricalSimulationModelwindowIndexStart - 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.public double getLogLikelihoodForParameters(double omega,
double alpha,
double beta)
omega - The parameter ω of the GARCH model.alpha - The parameter α of the GARCH model.beta - The parameter β of the GARCH model.public double getLastResidualForParameters(double omega,
double alpha,
double beta)
omega - The parameter ω of the GARCH model.alpha - The parameter α of the GARCH model.beta - The parameter β of the GARCH model.public double[] getSzenarios(double omega,
double alpha,
double beta)
public double[] getQuantilPredictionsForParameters(double omega,
double alpha,
double beta,
double[] quantiles)
public Map<String,Object> getBestParameters()
HistoricalSimulationModelgetBestParameters in interface HistoricalSimulationModelpublic Map<String,Object> getBestParameters(Map<String,Object> guess)
HistoricalSimulationModelgetBestParameters in interface HistoricalSimulationModelguess - A parameter guess.Copyright © 2015. All rights reserved.