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)
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[] getSzenarios(int relAbsFlag)
public double[] getQuantilPredictions(int relAbsFlag,
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.