Description Usage Arguments Details Value Author(s)
In regression, efficiency can be evaluated through the analysis of the width of the predictive interval. The function evaluates and plot the width of the predictive interval and its coverage, the probability of an estimated predictive interval contain the known value.
1 2 3 4 5 6 7 8 | rma_efficiency_plot(
known,
predicted,
interval = NULL,
breaks = 10,
base_size = 12,
digits = 3
)
|
known |
a numeric vector |
predicted |
a numeric matrix. See Details. |
interval |
minimum and maximum value of prediction domain. Should be supplied as vector of with two elements. If not supplied is assess from the known argument. |
breaks |
breaks on plot axis. Default is 10. |
base_size |
ggplot parameter to control text size in plots. Default is 12 |
digits |
number of digits controlling floats precision. Default is 3 |
predicted matrix must be organized as follows: 3 columns where the first column stores the point estimate of the model and the second and third columns store the lower and upper bounds of the predictive interval if the algorithm is able to produce one.
a ggplot2 graphical object
David Senhora Navega
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.