public class SimpleHistroricalSimulation extends Object implements HistoricalSimulationModel
Constructor and Description |
---|
SimpleHistroricalSimulation(double[] values) |
SimpleHistroricalSimulation(double[] values,
int windowIndexStart,
int windowIndexEnd) |
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.
|
HistoricalSimulationModel |
getCloneWithWindow(int windowIndexStart,
int windowIndexEnd)
Create a new model, using only a window of the times series.
|
double[] |
getQuantilPredictions(int relAbsFlag,
double[] quantiles) |
double[] |
getSzenarios(int relAbsFlag) |
public SimpleHistroricalSimulation(double[] values)
public SimpleHistroricalSimulation(double[] values, int windowIndexStart, int windowIndexEnd)
public HistoricalSimulationModel getCloneWithWindow(int windowIndexStart, int windowIndexEnd)
HistoricalSimulationModel
getCloneWithWindow
in interface HistoricalSimulationModel
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.public double[] getSzenarios(int relAbsFlag)
public double[] getQuantilPredictions(int relAbsFlag, double[] quantiles)
public Map<String,Object> getBestParameters()
HistoricalSimulationModel
getBestParameters
in interface HistoricalSimulationModel
public Map<String,Object> getBestParameters(Map<String,Object> guess)
HistoricalSimulationModel
getBestParameters
in interface HistoricalSimulationModel
guess
- A parameter guess.Copyright © 2019. All rights reserved.