Skip to contents

Model and integrated response

Let the fixed dose axis be [0,D][0,D], where D>0D>0 has dose units. The baseline aa is unrestricted, the endpoint excess response δ\delta is nonnegative, and the dimensionless shape qq lies in [0,1][0,1]. For normalized dose u=x/Du=x/D, the mean response is defined by

μ(x)=a+δhq(x/D),hq(u)=u1−q+qu(q<1).\mu(x)=a+\delta h_q(x/D),\qquad h_q(u)=\frac{u}{1-q+qu}\quad(q<1).

Here hqh_q is dimensionless and emax_shape() evaluates it. The closure h1(0)=0h_1(0)=0, h1(u)=1h_1(u)=1 for u>0u>0 represents immediate saturation. At q=0q=0 the shape is linear. These endpoint definitions are part of the model, not finite-dose approximations.

The average integrated excess response TT is defined on this linear axis by

T=D−1∫0D{μ(x)−a}dx=δG(q),G(q)=∫01hq(u)du.T=D^{-1}\int_0^D\{\mu(x)-a\}\,dx=\delta G(q),\qquad G(q)=\int_0^1 h_q(u)\,du.

The change of variables u=x/Du=x/D explains why normalization removes the factor DD. Thus TT and δ\delta have response units. emax_shape_area() computes GG with its endpoint values G(0)=1/2G(0)=1/2 and G(1)=1G(1)=1, using the stable series and logarithmic formula from the research implementation.

Gaussian confidence region

Suppose m≥3m\geq3 distinct fixed doses satisfy 0=x1<⋯<xm=D0=x_1<\cdots<x_m=D, with positive integer counts njn_j and total n=∑j=1mnj>mn=\sum_{j=1}^m n_j>m. Let Y‾\bar Y be the vector of dose means, W=diag⁡(nj)W=\operatorname{diag}(n_j), and S2S^2 the pooled within-dose variance with ν=n−m\nu=n-m degrees of freedom. With v=W1/2𝟏/nv=W^{1/2}\mathbf 1/\sqrt n and P=I−vv𝖳P=I-vv^\mathsf{T}, define centered coordinates y=PW1/2Y‾y=PW^{1/2}\bar Y and H(q)=PW1/2hqH(q)=PW^{1/2}h_q. Here hqh_q denotes the vector of values hq(xj/D)h_q(x_j/D) at dose levels indexed by j=1,…,mj=1,\ldots,m. The identity matrix II has size mm, and 𝟏\mathbf 1 is the length-mm vector of ones.

Under independent Gaussian errors of common variance, the exact centered F region accepts parameters satisfying

∥y−δH(q)∥2≤(m−1)S2Fm−1,ν(1−α).\|y-\delta H(q)\|^2\leq(m-1)S^2 F_{m-1,\nu}(1-\alpha).

The norm is Euclidean, α∈(0,1)\alpha\in(0,1) is the chosen error probability, and Fr,ν(1−α)F_{r,\nu}(1-\alpha) denotes an F quantile with numerator degrees of freedom rr. The rank m−1m-1 follows from removing the unrestricted baseline. emax_region() constructs this region; emax_project() encloses the hull of its accepted values of δG(q)\delta G(q). The region pivot is standard Gaussian inference. The accompanying manuscript develops the integrated-target boundary theory and computational construction; no new Emax model is claimed.

calibration = "mean" instead uses the full mean-region radius mS2Fm,ν(1−α)m S^2F_{m,\nu}(1-\alpha). The larger radius provides the manuscript’s full mean-region benchmark after minimizing over the intercept. Both are finite-sample constructions under the same Gaussian assumptions.

Boundary behavior

At a flat curve, δ=0\delta=0 and shape need not be identifiable. At positive immediate saturation, the integrated target has logarithmic sensitivity near q=1q=1, even though fixed positive-dose shapes have finite one-sided derivatives. The package includes both closures. It does not replace their inference with an interior-only normal approximation.

For unknown physical doses, equally spaced ordinal codes describe an illustrative code-axis integral. They do not establish physical-dose area, clinical benefit, or a treatment recommendation.

Numerical enclosure and status

The adaptive search uses fixed-shape quadratic slices, analytic outer bounds, necessary shape-box inequalities, and feasible witnesses. The refined search also intersects the original finite-budget enclosure. Defaults are endpoint tolerance 0.001 and a budget of 4096 splits; no cap on the statistical effect parameter is introduced.

endpoint_gaps reports the outer-to-witness differences. The result includes the numerical trace and termination reason. The exact-arithmetic reasoning does not make ordinary floating-point results formal directed-rounding certificates. outward_rounding_certified is always false.

An empty model intersection has zero reported width and no endpoints. An unresolved search is not an empty set. Coverage studies must retain empty sets as noncoverage and report unresolved computations separately.

Citation and scope

The scientific reference is Bahadır Yüzbaşı’s unpublished manuscript, Confidence-region projection for integrated Emax responses: boundary behavior and finite-sample inference (2026). No accepted-paper status or DOI is claimed. The package ports its validated R construction to RcppArmadillo; it does not establish robustness to heteroscedasticity, dependence, or non-Gaussian errors.