% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{score_diff_scales}
\alias{score_diff_scales}
\title{Score difference bounds -> sub-Gaussian / sub-exponential scale}
\usage{
score_diff_scales(lo, hi)
}
\arguments{
\item{lo}{Numeric. Lower bound of score difference (usually a - b).}

\item{hi}{Numeric. Upper bound of score difference (usually b - a).}
}
\value{
Named list with elements c_thm1 and c_thm23.
}
\description{
Given score-difference bounds \verb{[lo, hi]}, computes the two scale constants
used elsewhere in \code{seqcomp}:
\itemize{
\item \code{c_thm1}  = \code{(hi - lo) / 2} — sub-Gaussian scale for Theorem 1, where
\verb{|delta_i| <= c_thm1}.
\item \code{c_thm23} = \code{hi - lo} — sub-exponential scale for Theorems 2 & 3, where
\verb{|delta_i| <= c_thm23 / 2}.
}
}
\details{
Both conventions bound the same quantity: after centering, \code{delta_i} lies
in \verb{[-(hi-lo)/2, (hi-lo)/2]}, so \verb{max|delta_i| = (hi-lo)/2}, which equals
both \code{c_thm1} and \code{c_thm23 / 2}.
}
\examples{
score_diff_scales(lo = -1, hi = 1)

}
