calc_summary_statistics {ubair} | R Documentation |
Calculates summary statistics for predictions and true values
Description
Helps with analyzing predictions by comparing them with the true values on a number of relevant summary statistics.
Usage
calc_summary_statistics(predictions, date_effect_start = NULL, buffer = 0)
Arguments
predictions |
Data.table or data.frame with the following columns
|
date_effect_start |
A date. Start date of the effect that is to be evaluated. The data from this point onwards is disregarded for calculating model performance |
buffer |
Integer. An additional buffer window before date_effect_start to account for uncertainty in the effect start point. Disregards additional buffer data points for model evaluation |
Value
data.frame of summary statistics with columns true and prediction
[Package ubair version 1.1.0 Index]