mu_true <- c(0, 2.5, 3.69)
sigma_true <- c(1, 1.1, 1.2)
n1 <- 30
n2 <- 30
n3 <- 30
X1 <- rnorm(n1, mu_true[1], sigma_true[1])
X2 <- rnorm(n2, mu_true[2], sigma_true[2])
X3 <- rnorm(n3, mu_true[3], sigma_true[3])out_roc_surface <- ROC_emp_surface(X1, X2, X3, ncp = 35,
color = "steelblue", alpha = 0.5)
rgl::rglwidget(
width = 800,
height = 800
)
out_roc_surface_2 <- ROC_emp_surface(formula = biom ~ diag, data = data_test, ncp = 35,
color = "steelblue", alpha = 0.5)
rgl::rglwidget(
width = 800,
height = 800
)
The formula fit supports the same confidence region. Run this chunk interactively to add it to the formula-based plot.