Skip to content

Replication code for the paper Gneiting and Resin (2021)

License

Notifications You must be signed in to change notification settings

resinj/replication_GR21

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replication code for Gneiting and Resin (2021)

This repository provides replication code for the article “Regression Diagnostics meets Forecast Evaluation: Conditional Calibration, Reliability Diagrams, and Coefficient of Determination” by Tilmann Gneiting and Johannes Resin (arXiv:2108.03210).

Required packages

library(openxlsx)
library(RColorBrewer)
library(GoFKernel)
library(isotone)
library(quantreg)

(Down)load the data

source("load_data.R")

Download and load the data. This will save some files in the working directory.

The following data is download:

Load necessary functions and variables

source("functions.R")

Plot figures from main text and supplement

source("figures.R")

A new folder ‘figs’ is created in the working directory and all figures are saved there as png files.

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure S1

Figure S2

Figure S3

Figure S4

Figure S5

Figure S6

Figure S7

Figure S8

About

Replication code for the paper Gneiting and Resin (2021)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages