| Constructor and Description |
|---|
MeanModel(TimeSeries observed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
TimeSeries |
fittedSeries()
Get the model fitted values, which are in-sample one-step ahead forecasts.
|
Forecast |
forecast(int steps,
double alpha)
Produce a forecast from this model up to the given number of steps ahead.
|
int |
hashCode() |
TimeSeries |
observations()
Get the series of observations.
|
TimeSeries |
predictionErrors()
Get the model prediction errors, the difference between the observed values and the model fitted values.
|
String |
toString() |
public MeanModel(@NonNull
TimeSeries observed)
public Forecast forecast(int steps, double alpha)
Modelpublic TimeSeries observations()
Modelobservations in interface Modelpublic TimeSeries fittedSeries()
ModelfittedSeries in interface Modelpublic TimeSeries predictionErrors()
ModelpredictionErrors in interface Model