diff --git a/articles/metric-details.html b/articles/metric-details.html index b26c21b75..70eecb39c 100644 --- a/articles/metric-details.html +++ b/articles/metric-details.html @@ -79,7 +79,7 @@
vignettes/metric-details.Rmd
metric-details.Rmd
vignettes/scoring-forecasts-directly.Rmd
scoring-forecasts-directly.Rmd
predicted <- replicate(200, rpois(n = 30, lambda = 1:30))
mad_sample(predicted = predicted)
-#> [1] 1.4826 1.4826 1.4826 2.9652 2.9652 2.9652 2.9652 2.9652 2.9652 2.9652
-#> [11] 2.9652 2.9652 4.4478 2.9652 3.7065 4.4478 4.4478 4.4478 4.4478 4.4478
-#> [21] 4.4478 4.4478 5.9304 4.4478 4.4478 4.4478 5.9304 5.1891 6.6717 5.9304
observed <- rpois(30, lambda = 1:30)
predicted <- replicate(200, rpois(n = 30, lambda = 1:30))
crps_sample(observed, predicted)
-#> [1] 0.438800 1.294275 1.368550 0.498550 1.071675 0.679050 1.097750 1.926825
-#> [9] 1.196475 1.258075 1.155800 2.689575 3.350275 3.186950 2.579975 3.959425
-#> [17] 1.214450 8.999100 1.964450 2.786325 2.034075 1.506925 2.042175 1.528450
-#> [25] 4.562200 2.169100 1.411075 4.042925 1.168175 6.392875