public class DisplacedLognormal extends Object implements HistoricalSimulationModel
| Constructor and Description |
|---|
DisplacedLognormal(double[] values) |
DisplacedLognormal(double[] values,
double lowerBoundDisplacement) |
DisplacedLognormal(double[] values,
double lowerBoundDisplacement,
int windowIndexStart,
int windowIndexEnd) |
DisplacedLognormal(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(double lowerBoundDisplacement,
int windowIndexStart,
int windowIndexEnd) |
HistoricalSimulationModel |
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,
double displacement) |
double |
getLogLikelihoodForParameters(double omega,
double alpha,
double beta,
double displacement) |
double[] |
getQuantilPredictionsForParameters(double omega,
double alpha,
double beta,
double displacement,
double[] quantiles) |
public DisplacedLognormal(double[] values)
public DisplacedLognormal(double[] values,
double lowerBoundDisplacement)
public DisplacedLognormal(double[] values,
int windowIndexStart,
int windowIndexEnd)
public DisplacedLognormal(double[] values,
double lowerBoundDisplacement,
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 HistoricalSimulationModel getCloneWithWindow(double lowerBoundDisplacement, int windowIndexStart, int windowIndexEnd)
public double getLogLikelihoodForParameters(double omega,
double alpha,
double beta,
double displacement)
public double getLastResidualForParameters(double omega,
double alpha,
double beta,
double displacement)
public double[] getQuantilPredictionsForParameters(double omega,
double alpha,
double beta,
double displacement,
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.