Begin by defining the scientific target: prediction for a new patient, or estimation of adjusted covariate effects. Check event definitions, follow-up origins, right-censoring codes and any delayed entry. The analysis assumes independent patients and censoring that is noninformative conditional on modeled covariates. For fixed explanatory variables , the Cox proportional-hazards model is
with an unrestricted baseline hazard and coefficients constant over time. Report as the conditional hazard ratio for a one-unit change in the coded variable, not as a risk ratio or automatically a causal effect.
For untied event times, fit the coefficients by maximizing the Cox partial likelihood
The baseline cancels within each event risk set. Use an appropriate tied-event method, such as an Efron approximation or an exact method for a genuinely discrete event scale; the Breslow approximation for tied event times is another explicit approximation. Numerical score/information methods fit the model, and inverse information gives conventional covariance estimates for independent subjects. Report coefficient estimates, hazard ratios, uncertainty and the coding that makes their interpretation meaningful. After fitting, the Breslow estimator gives , from which provides predicted survival.
Adequacy is broader than significance of coefficients. Inspect influential observations, deviance residuals and data errors. Cox–Snell residuals should have approximately unit-exponential survival under a well-fitting model, retaining the original censoring indicators; a cumulative-hazard plot of these residuals should be near the 45-degree line. This is an overall diagnostic, not a substitute for the functional-form and proportionality checks below. For prediction, assess held-out discrimination and survival prediction calibration at prespecified time horizons with methods accounting for censoring. A high concordance index alone does not establish good calibration or correct hazard structure.
Use bootstrap or held-out cross-validation that repeats the complete modeling procedure, including imputation, variable selection and tuning. Validation of only the final fitted coefficients understates overfitting from earlier decisions. Report any substantive lack of fit rather than presenting a single time-independent hazard ratio when the data do not support that representation.
The episodes from one patient share treatment, biological susceptibility and prior history, so they are not independent observations. Treating every row as an unrelated subject can substantially understate uncertainty. Two approaches address this within-patient recurrent-event dependence:
A patient-level bootstrap is another way to retain dependence: resample complete histories, not individual episode rows. It is not necessary to assume that robust marginal/working and frailty-conditional effect estimates target exactly the same parameter.
The log-rank test compares survival experience through the allocation of events within the successive risk sets. Its null is equal hazard functions between the groups over follow-up, with independent individuals and noninformative censoring within groups. At each distinct event time , let be the numbers at risk immediately before that time, and let be event counts. Under the null, conditional on the total , the expected number of A events is .
The signed log-rank statistic is the observed-minus-expected score
A positive score indicates relatively more A events than expected, hence a higher event hazard for A; B's score is its negative. Censoring times do not produce score terms, but remove people from all later risk sets.
At each event time the conditional null allocation is hypergeometric, as if the events were sampled without replacement from the risk set. Its variance gives the score-increment variance, with the finite-population correction for ties. Summing these conditional variances gives , since distinct-time martingale score increments have zero cross covariance under the null. For sufficiently many informative events, is approximately standard normal and approximately chi-squared with one degree of freedom. In the no-tie case, each variance contribution is . A time at which only one group remains at risk contributes no comparative information.
The numerical parts below report signed-score and variance contributions after day 160. They cannot be added as separate chi-squared statistics to the earlier follow-up: add the scores and variances first, and standardize once for the complete dataset. The log-rank test is particularly effective for proportional hazards alternatives; crossing hazards can produce cancelling score contributions.
For an autoregressive moving-average model, the driving-to-output transfer function is , and the inverse transfer function is . The causality and invertibility root criteria for an ARMA model require these respective rational functions to have power series about zero converging on a disk larger than the unit disk. If the two polynomials have no common factor, the conditions become
Indeed, outside-disk roots leave a radius of convergence greater than one, so the coefficients decay geometrically and are absolutely summable. Conversely an uncancelled pole inside or on the unit disk prevents the required stable power series. If factors are common, apply the criterion after cancellation, to the noise-driven solution rather than additional homogeneous components. The backshift operator translates these power series into the desired one-sided filters.
The original representation has and , with roots and . There is no cancellation. Hence it is neither causal nor invertible relative to its specified driving noise. Stationarity is nevertheless possible through a two-sided solution: expanding the autoregressive inverse in negative powers gives
This is an anticausal time series representation with square-summable coefficients.
To establish the alternative representation on the same process, define
The inverse of is a stable one-sided filter. For , the identities and give
The time-series spectral density of is ; therefore the defined has constant time-series spectral density . Its mean is zero, its variance is , and all its nonzero-lag autocovariances vanish. It is thus weak white noise. Its definition directly gives
This root reflection of an ARMA representation has roots , so is causal and invertible. A constant spectrum proves whiteness, not independence of non-Gaussian coordinates; no Gaussian assumption is needed for the required white noise representation.
For best linear prediction from an infinite past, let be the closed linear span of with . The causal representation expresses every such in present and past values, while invertibility puts every with in . In particular is orthogonal to . The representation at time one then gives the orthogonal projection
Consequently the best linear predictor and its error variance are
Orthogonality proves optimality among linear predictors in the closed past span, without asserting that the predictor must be the conditional mean for a non-Gaussian process.
For an aggregate claims model, let denote one claim size, with expected value and variance . The total is zero when the claim count is zero. Given , independence gives
The law of total expectation and law of total variance, together with for a Poisson distribution, imply
The raw second moment appears because the random count itself contributes to the variance.
Conditional on , the moment-generating function of the sum is . Averaging with the Poisson distribution therefore gives the compound Poisson distribution transform
This is valid wherever is finite. Finite first and second moments alone do not ensure positive exponential moments; for positive claims the corresponding Laplace transform always exists.
For the independent portfolios put and . Their Poisson distribution counts add to a Poisson distribution with parameter . By Poisson-multinomial conditioning, conditional on the total count the first risk count has a binomial distribution with parameters , and the second is the remaining count. Thus one can generate the same total loss by drawing independent risk labels with these weights, then drawing each claim from its label's law. The merged severity has mixture distribution
It follows that has a compound Poisson distribution with count parameter and this severity law. This is the fixed-year version of Poisson superposition of insurance portfolios. Its expected value and variance are
Alternatively, multiplying the two independent aggregate Laplace transforms yields wherever finite, confirming the same compound Poisson distribution.
For the retained compound Poisson aggregate under per-claim reinsurance, replace each claim by its retained payment . Assume the retention is measurable, with as usual. The count parameter remains , and the severity law is the pushforward measure of the mixture severity under . Thus the retained compound Poisson aggregate has a compound Poisson distribution with that transformed severity and
Its moment-generating function is on its finite domain. For a general retention , zero retained payments can occur and are allowed as compound-Poisson marks; they may equivalently be removed by Poisson thinning. The two specified contracts retain strictly positive payments for strictly positive claims.
We use the normalized Gowers U3 norm on an interval, for which a quadratic phase has norm one. Let consist of integer tuples whose eight vertices , , all lie in . If denotes complex conjugation, define
Equivalently, choose a prime , extend by zero to , call that extension , and put . Then
The large ambient modulus prevents wraparound in cubes supported on the interval, so the ratio is independent of the chosen such . This also proves nonnegativity and the norm properties by the Gowers uniformity norm on . Some conventions omit the denominator; their interval norm differs by a fixed bounded factor, and the quadratic-phase norm is then .
For , the exponent in every conjugated cube product is a third additive difference of a quadratic polynomial and is zero. Thus in the normalized interval convention.
The generalized von Neumann inequality for four-term progressions connects this norm to counting arithmetic progressions. For functions bounded by one on a cyclic group of prime order greater than three,
Three applications of Cauchy-Schwarz prove the bound. Zero extension and division by the number of interval progressions give the analogous interval estimate up to an absolute constant. In particular, if , where , has small Gowers U3 norm on an interval, expansion of the progression count shows that it differs from times the count for by . A large Gowers U3 norm detects structure capable of changing four-term progression counts; quadratic phases are the basic example.
For the remaining proof use the ambient just specified, define , and take averages uniformly on . For frequencies not on the character grid, an exponential is evaluated at the chosen integer representatives; the general proof below selects actual characters . The printed question does not define or the interval normalization, so these conventions make the assertion precise. If instead is used, conjugate the correlations and reverse every frequency sign; the quadratic example then has .
Lagrange's theorem states that for a subgroup of a finite group , . In particular divides ; the equal-sized cosets partition .
Apply the theorem to inside both subgroups. Its order divides both coprime orders, so . For and , the group commutator lies in by being a normal subgroup, and in because . It is therefore the identity. Thus every element of commutes with every element of .
Define by . The cross-commutation just proved gives , so this is a group homomorphism from the direct product of groups. The product assumption makes it surjective. If , then , so both entries are the identity and the kernel of a group homomorphism is trivial. Hence
This proves the internal direct product theorem in the present coprime-order setting, rather than merely matching the numbers of elements.
By the partition and the law of total probability, . Also . Combining these identities proves Bayes theorem:
The assumed positive probabilities make the conditional expressions well defined.
Two nonzero vectors are linearly independent when forces . Their linear span then has dimension two. If they are linearly dependent, one is a nonzero scalar multiple of the other, and their span has dimension one. Thus the two requested dimensions are .
The Euclidean scalar product and its norm are and . To prove the Cauchy-Schwarz inequality, first handle trivially. Otherwise the squared norm
gives
Equality holds exactly when the residual vector is zero, meaning the vectors are linearly dependent; this includes the zero-vector cases. Expanding and applying Cauchy-Schwarz then gives
Taking nonnegative square roots proves the triangle inequality.
For the unit-vector optimization, let . Independence ensures . The variable part of is , which Cauchy-Schwarz bounds below by . Equality occurs only for the antiparallel unit vector. Thus
This is minimizing a linear functional on a sphere. The two consequences follow below.

There are unlisted articles, also show them or only show them.