% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LogrankSIS.R
\name{logrank_globals}
\alias{logrank_globals}
\title{Precompute global log-rank quantities shared across all p features}
\usage{
logrank_globals(l, r)
}
\arguments{
\item{l}{Numeric vector of lower bounds.}

\item{r}{Numeric vector of upper bounds.}
}
\value{
A list with components \code{w}, \code{d_j}, \code{n_j}, \code{n}.
}
\description{
Fits a single pooled NPMLE under the null (no covariate effect) and
computes posterior weights \eqn{w_{ij}}, pooled pseudo-failure counts
\eqn{\hat{d}_j}, and pooled pseudo-risk-set sizes \eqn{\hat{n}_j}.
These are reused for every feature at negligible additional cost.
}
\keyword{internal}
