% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smsncut.R
\name{smsn_roc}
\alias{smsn_roc}
\title{Parametric ROC curve under SMSN distributions}
\usage{
smsn_roc(r, theta0, theta1, family0, family1)
}
\arguments{
\item{r}{Numeric vector of false positive rates in \eqn{(0,1)}.}

\item{theta0}{Numeric vector. Parameters for group 0.}

\item{theta1}{Numeric vector. Parameters for group 1.}

\item{family0}{Character. Family for group 0.}

\item{family1}{Character. Family for group 1.}
}
\value{
Numeric vector of true positive rates.
}
\description{
Evaluates the parametric ROC curve at false positive rates \eqn{r}
(equation (6) of de Paula et al., 2026):
\deqn{\mathrm{ROC}(r;\theta) = 1 - F_1(Q_0(1-r;\theta_0);\theta_1).}
}
\examples{
theta0 <- c(0, log(1), 1)
theta1 <- c(2, log(1), 1.5)
r    <- seq(0.01, 0.99, by = 0.01)
plot(r, smsn_roc(r, theta0, theta1, "SN", "SN"), type = "l",
     xlab = "FPR", ylab = "TPR")
abline(0, 1, lty = 2)
}
