% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smsncut.R
\name{cutoff_admissible_interval}
\alias{cutoff_admissible_interval}
\title{Construct the admissible interval [a, b]}
\usage{
cutoff_admissible_interval(
  theta0,
  theta1,
  family0,
  family1,
  method = c("effective_support", "pooled_quantile"),
  alpha = 0.01,
  x0 = NULL,
  x1 = NULL,
  probs = c(0.005, 0.995)
)
}
\arguments{
\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.}

\item{method}{Character. \code{"effective_support"} (default) or
\code{"pooled_quantile"}.}

\item{alpha}{Numeric in \eqn{(0,1)}. Tail probability. Default \code{0.01}.}

\item{x0}{Numeric vector. Group-0 data (required for
\code{"pooled_quantile"}).}

\item{x1}{Numeric vector. Group-1 data (required for
\code{"pooled_quantile"}).}

\item{probs}{Numeric vector of length 2. Quantile probabilities for
\code{"pooled_quantile"}. Default \code{c(0.005, 0.995)}.}
}
\value{
Named numeric vector \code{c(a = ..., b = ...)}.
}
\description{
Builds a compact admissible interval for cutoff optimisation from the
\eqn{(\alpha/2, 1-\alpha/2)} quantiles of the fitted SMSN distributions
(method \code{"effective_support"}) or from extreme quantiles of the pooled
observed sample (method \code{"pooled_quantile"}).
}
\examples{
theta0 <- c(0, log(1), 1)
theta1 <- c(2, log(1), 1.5)
cutoff_admissible_interval(theta0, theta1, "SN", "SN")
}
