I am using to verify obsereved climate against model. I saw on verification package three options
when obs is cont and forecast is cont
when obs is binary and forecast binary
when obs is binary and forecast is cont.
I use and understand the first and the second but I want to use the third but I face challenge to develop the script for the following probabilstic data and logical behind go together binary and cont data
po = c(0.26,0.09,0.48,0.36,0.08,0.95,0.83,0.62,0.16,0.21,0.82,0.61,0.22,0.16,0.27,0.92,0.90,0.88,0.81,0.37,0.86,0.51)
py = c(0.00,0.76,0.27,0.31,0.54,0.76,0.52,0.70,0.31,0.18,0.23,0.81,0.40,0.91,0.01,0.40,0.75,0.79,0.36,0.59,0.71,0.87)
I need to use to plot roc using like the following script
A<- verify(py, po, frcst.type = "prob", obs.type = "binary")
roc.plot(A, main = "Test 1", binormal = TRUE, plot = "both")
how could develop a script to use both binary and cont? Any help on this scripts