lmForc1.0.0 package

Linear Model Forecasting

autoreg_forc

Autoregression forecast

conditional_forc_general

General model forecast conditioned on input forecasts

conditional_forc

Linear model forecast conditioned on an input forecast

convert_byh

Convert a list of time format Forecast objects to a h_ahead format For...

convert_bytime

Convert a list of h_ahead format Forecast objects to a time format For...

forc-Forecast-method

Get the forecast slot of a Forecast object

forc-set-Forecast-method

Set forecast slot of a Forecast object

forc-set

Set forecast slot of a Forecast object

forc

Get the forecast slot of a Forecast object

forc2df

Collect a Forecast object to a data frame

Forecast-class

S4 class for storing forecasts

Forecast

Create an object of the Forecast class

future-Forecast-method

Get the future slot of a Forecast object

future-set-Forecast-method

Set future slot of a Forecast object

future-set

Set the future slot of a Forecast object

future

Get the future slot of a Forecast object

h_ahead-Forecast-method

Get the h_ahead slot of a h_ahead object

h_ahead-set-Forecast-method

Set h_ahead slot of a Forecast object

h_ahead-set

Set h_ahead slot of a Forecast object

h_ahead

Get the h_ahead slot of a h_ahead object

historical_average_forc

Historical average forecast

is_forc_general

In-sample general model forecast

is_forc

In-sample linear model forecast

mae-Forecast-method

Calculate MAE of a Forecast object

mae

Calculate MAE of a Forecast object

mape-Forecast-method

Calculate MAPE of a Forecast object

mape

Calculate MAPE of a Forecast object

mse-Forecast-method

Calculate MSE of a Forecast object

mse

Calculate MSE of a Forecast object

oos_lag_forc

Out-of-sample lagged linear model forecast conditioned on realized val...

oos_realized_forc_general

Out-of-sample general model forecast conditioned on realized values

oos_realized_forc

Out-of-sample linear model forecast conditioned on realized values

oos_vintage_forc_general

Out-of-sample general model forecast conditioned on vintage forecasts

oos_vintage_forc

Out-of-sample linear model forecast conditioned on vintage forecasts

origin-Forecast-method

Get the origin slot of a Forecast object

origin-set-Forecast-method

Set origin slot of a Forecast object

origin-set

Set the origin slot of a Forecast object

origin

Get the origin slot of a Forecast object

performance_weighted_forc

MSE or RMSE weighted forecast

R2-Forecast-method

Calculate R2 of a Forecast object

R2

Calculate R2 of a Forecast object

random_walk_forc

Random walk forecast

realized-Forecast-method

Get the realized slot of a realized object

realized-set-Forecast-method

Set realized slot of a Forecast object

realized-set

Set realized slot of a Forecast object

realized

Get the realized slot of a realized object

rmse-Forecast-method

Calculate RMSE of a Forecast object

rmse

Calculate RMSE of a Forecast object

show-Forecast-method

Print Forecast object to console.

states_weighted_forc

States weighted forecast

str-Forecast-method

Display internal structure structure of Forecast object to the console...

sub-Forecast-method

Subset Forecast object.

subset_bytime

Subset a list of Forecast objects by origin or future values.

subset_forcs

Subset a list of Forecast objects by index.

subset_identical

Subset a list of Forecast objects to identical origin or future values...

transform_byh

Convert a list of time format Forecast objects to a list of h_ahead fo...

transform_bytime

Convert a list of h_ahead format Forecast objects to a list of time fo...

Introduces in-sample, out-of-sample, pseudo out-of-sample, and benchmark model forecast tests and a new class for working with forecast data, Forecast.

  • Maintainer: Nelson Rayl
  • License: GPL-3
  • Last published: 2024-08-31