calc_Z | R Documentation |
calc_Z() returns a value of the test statistics of the delta test.
calc_Z(
df,
pA = "phat_1",
pB = "phat_2",
Y,
grid = "grid",
nsamp,
ngame,
L = function(x, y) (x - y)^2
)
df |
A data frame that contains the following columns: Y, pA, pB, and grid |
pA |
Name of the probabilistic forecasts from the first method |
pB |
Name of the probabilistic forecasts from the second method |
Y |
Name of the outcome variable |
grid |
Name of the grid |
nsamp |
Number of sample points in the time domain |
ngame |
Number of different instance |
L |
Loss function to evaluate the performance between two methods |
A value of the test statistics between two sets of real-time probabilistic forecasts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.