Learn R Programming

The profoc Package

An R package for probabilistic forecast combination

The primary function online can be used to combine probabilistic forecasts using the CRPS learning algorithm introduced in Berrisch, Ziel (2021): Pre-Print, Publication. The function batch can be used in a similar way for batch optimization. Common methods like summary, print, plot, update, and predict are available.

Installation

Install from CRAN

You can install the latest stable release from CRAN using:

install.packages("profoc")

Install from GitHub

You can install the latest stable release from GitHub using:

# install.packages("remotes")
remotes::install_github("BerriJ/profoc")

You can install the latest development version from GitHub using:

# install.packages("remotes")
remotes::install_github("BerriJ/profoc@develop")

Documentation

You can find the documentation at profoc.berrisch.biz.

Contributions and Issues

Feel free to raise an issue if you find something not working properly.

You are very welcome to contribute to profoc. Please base your pull requests on the develop branch.

License

GNU General Public License (≥ 3)

Copy Link

Version

Install

install.packages('profoc')

Monthly Downloads

391

Version

1.3.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonathan Berrisch

Last Published

September 21st, 2024

Functions in profoc (1.3.3)

reexports

Objects exported from other packages
tidy.online.forecaster_loss

Tidy the Experts' losses of an Online object
profoc-package

Package Info
print.online

Print method for online models
tidy.online.predictions

Tidy the Predictions of an Online object
splines2_basis

Create B-Spline basis
penalty

B-Spline penalty
tidy.online.experts_loss

Tidy the Experts' losses of an Online object
summary.online

Summary method for online models
post_process_model

Post Process Data from conline Class
plot.online

Plot method for online models
predict.online

Predict method for online models
tidy.online.weights

Tidy the Weights of an Online object
update.online

Update method for online models
print.batch

Print method for batch models
plot.batch

Plot method for batch models
online

Probabilistic Forecast Combination - Online
make_hat_mats

Create a List of Hat Matrices
autoplot.batch

Autoplot method for batch models
make_basis_mats

Create a List of Basis Matrices
autoplot.online

Autoplot method for online models
init_experts_list

Create experts list to be used in conline class
conline

Create an conline Object from the conline C++ Class
make_knots

Create a vector of knots for splines
batch

Probabilistic Forecast Combination - Batch
oracle

Probabilistic Forecast Combination - Oracle