The mean ratio is , so its logarithm is exactly ; the baseline coefficient cancels. Under the stated asymptotic normal approximation, the Wald confidence interval for is . Exponentiation is monotone and therefore preserves the interval's coverage event. HenceThe standard error of is not needed for this confidence interval: the Poisson regression already supplies the standard error of the contrast . It would be incorrect to combine the two reported standard errors as if the mean ratio depended on both coefficients independently.
Let and be the aggregate counts in the control and treated groups. Assuming independent physicians, their Poisson distributions have means and . Condition on . By independent Poisson conditioning,The PDF's full table gives , and . Thus the Two-group Poisson ratio conditional likelihood isConditioning the individual observations instead gives a multinomial distribution with cell probabilities in the first group and in the second; its parameter-dependent likelihood is the same. No factor involves . The conditional estimates are and .
The solid Poisson regression profile and dashed negative binomial regression profile peak at essentially the same . The dashed profile is slightly wider and has heavier shoulders: it gives larger relative likelihood to values farther from the common maximizer. Thus the estimated mean ratio is stable, while the negative binomial model expresses slightly greater uncertainty.
The Poisson distribution constrains variance to equal the mean. A common negative binomial parametrization instead has , with additional shape ; it permits overdispersion due, for example, to unexplained between-physician heterogeneity. Profiling this extra parameter lets the data support greater count variability and usually reduces information about the mean contrast. In this two-group model, the fitted group means remain the sample means for fixed , which explains the nearly identical maximizers. The small separation of the profiles indicates a modest effect here, not overwhelming evidence for strong overdispersion. The comparison concerns the original PDF figure; no figure is reproduced.
For pair , use conditionally independent counts and , with a common effect and a separate positive baseline rate for each physician. Equivalently the linear predictor is , with . This Poisson regression controls each physician's stable baseline propensity.
Condition on all twelve pair totals . The paired Poisson conditional likelihood has independent factorsThis eliminates every exactly. It is more useful as a nuisance-elimination device than the unpaired calculation, which removes only one common baseline: many pair-specific rates are otherwise estimated from just two measurements each.
A possible concern is loss of information through conditioning on totals that are not ancillary for , especially with sparse pairs; a zero-total pair contributes no conditional information. There is an important qualification in this exact fixed-baseline Poisson model. Maximizing over gives , and substitution leaves precisely the same -dependent factor as the conditional likelihood. Hence there is no extra loss relative to ordinary profiling in this particular model; one should not automatically assert an incidental-parameter bias in its estimate of .
Additional baseline observations, a calibrated distribution of baseline rates, or informative hierarchical constraints can retain information in the pair totals. A Gamma–Poisson hierarchical model is one possible structured model, but merely giving it a completely free common mean does not automatically create extra information about : that mean can absorb the factor in the totals. Such remedies trade exact nuisance elimination for additional data or assumptions. Finally, paired sampling alone does not establish conditional Poisson independence or equidispersion: remaining within-physician dependence or overdispersion should be checked, and an appropriate joint count model or physician-level robust variance used if needed. The common multiplicative-effect assumption is also part of the analysis.
Treat the two retrieved sets of positive tests as independent binomial samples, each of size 500, and use a two-sided test at significance level . The normal-approximation sample size for comparing two proportions, with equal numbers in each group, isFor , , this gives , or 356 per group. Thus 500 positives in each period are sufficient for 80% power under these assumptions.
More explicitly, a pooled two-proportion test rejects whenwhere pools the maximum-readout successes. At the proposed alternative, the difference has mean and standard deviation . The planning null critical difference is , giving approximate powerThis compares the readout percentage among positive tests. It assumes comparable measurement rules and independent observations; a change in that percentage alone does not identify its causal explanation or the prevalence of drug use in the full tested population.
Use equal individual allocation, a two-sided 5% test as in part (a), 80% power, complete four-week ascertainment and the supplied fatal-overdose endpoint. Then , , and . Substituting into the sample size for comparing two proportions givesRounding upward for equal allocation givesThe corresponding expected endpoint counts are about 148 in the control arm and 103 in the active arm. The one-third eligibility proportion affects how many prisoners must be screened, not the number of eligible participants randomized; at full consent and eligibility ascertainment, roughly three times this randomized total would need screening. Loss to follow-up, nonadherence or a changed baseline mortality risk would require a separate design adjustment.
The wording needs an endpoint qualification. The supplied risk is death from overdose, and the proposed effect concerns preventing those deaths. It does not give the incidence of all overdoses. Thus the calculation above sizes fatal overdoses, the intended endpoint supported by the data. For a literal 30% reduction in all overdoses, the unknown baseline incidence must replace in the formula, with . This is the endpoint-specific rare-event sample size issue: the same fatal risk can coexist with many nonfatal rates. For example gives about 29525 per arm, whereas gives about 2838; knowing only the fatal rate cannot determine that latter sample size.
Use individual stratified randomization within each joint combination of prison and the three prespecified addiction-management categories. Within every joint stratum, use permuted-block randomization with equal numbers of active and control assignments in each completed block. This directly balances allocations within prison and within management category, rather than hoping that simple independent allocation will achieve both.
Run the allocation sequentially, since the availability and frequency of management categories change during recruitment. Completed blocks balance contemporaneously, so the expanding category is not assigned predominantly to one trial arm. Use varying block sizes and centrally protected allocation concealment to prevent prediction of future assignments. Incomplete final blocks allow a small residual imbalance, and an odd stratum total cannot be split exactly equally. If many joint strata are very sparse, a prespecified randomized minimization in clinical trials scheme can instead target the prison and management margins, retaining a random component. The analysis should account for the important design strata.
An ethical objection concerns the proposed saving of control-prison staff costs: the trial is explicitly based on individual informed consent, and institutional allocation does not justify omitting control participants' information, consent or appropriate outcome follow-up. These responsibilities remain in both arms. A cluster-randomized trial can sometimes be ethically defensible, but changing the randomized unit alone does not make those participant protections unnecessary.
The statistical objection is loss of independent information and potential prison-level imbalance. Outcomes within a prison may share baseline risks, management practices and release conditions, yielding positive intraclass correlation. For equal cluster size , the usual exchangeable approximation gives design effect , so the individual-randomization calculation understates the sample required when . There are also fewer independent randomized units, and prison-specific adoption of management practices can be unbalanced across arms. Thus randomizing prisons generally loses precision for this individually deliverable intervention, unless compensating design features and additional clusters are supplied.
For a continuous survival distribution, , and . Applying these identities gives the Weibull distributionThe survivor function has value one at zero; the hazard may diverge there when , which does not invalidate the distribution.
For common shape , the hazard ratio is , independent of time. Thus the two distributions lie in the same proportional hazards family. They also satisfyHence the time multiplier is and the hazard multiplier is , establishing the common accelerated life family as well. Here is reciprocal scale, not the ordinary time-scale parameter.
Under independent censoring conditional on the modelled covariates, an observed event contributes , and a right-censored observation contributes . Factors from the censoring distribution may be omitted when they contain no survival-model parameters. The survival likelihood and log-likelihood are thereforeCensored individuals still contribute their observed exposure through ; they are not deleted from the analysis.
Put . With common Weibull distribution parameters and the hazard from part (a), substitution into the general log-likelihood givesThis is up to censoring-mechanism terms independent of . For and fixed , its maximizing rate is ; the shape still requires separate estimation if it is unknown.
Write and . The exponential survival likelihood has . Its score is , and for its second derivative is . Thus the exponential-rate estimation from censored exposure givesAll observation times, including censoring times, belong in . If , the likelihood decreases with positive and has its supremum as ; under the stated strict positivity constraint there is no interior maximum.
Set , , and . Then andThe integrated offsets are known and enter only as constants in estimation of . Let and assume and every at an event is small compared with . Expanding the score givesNow write and retain first-order terms in . Since , the equation becomes . Therefore the exponential rate with a small known additive hazard estimate isThe correction is negative: some event risk is already supplied by the known additive hazards. As a check, if every , the score equation gives the exact positive interior estimate . The approximation is intended for small offsets and a positive interior solution; a negative approximation or no observed events requires handling the boundary rather than reporting a negative rate.
Let be the distinct observed event times, with individuals at risk just before and events there. Parameterize the event-time distribution by the conditional failure probabilities . Under independent censoring, the survival part of the nonparametric likelihood groups into factorsAn individual still under observation at contributes either a failure factor or a survival factor; later-censored individuals contribute the latter factors until censoring. Maximizing each factor independently gives , including the boundary solutions when or . Multiplying the conditional survival probabilities yields the Kaplan–Meier estimatorThe notation here denotes the survivor function, as in the question. The estimator is constant between event times. Under the usual simultaneous-event convention, individuals censored at remain in its risk set while events are processed, and are then removed.
Let be the number at risk just after , and suppose the events are grouped into tie sizes at ordered times in . With no intervening censoring or entry, their risk counts are , , , and so on. Hence the Kaplan–Meier telescoping across a censor-free interval givesOnly the total appears. Consequently the order of the events and their grouping into ties do not affect the estimate at . Censoring exactly at does not change this conclusion when it is processed after the events at that time, as in the standard convention. The calculation assumes ; no estimator beyond an exhausted risk set is being inferred from unobserved follow-up.
Use time since enrolment, and assume the cohorts share a common survival distribution with independent administrative censoring. The PDF starts cohort A in 2006, not the corrupted 2000 date in the TeX aid. During the first follow-up year the pooled sample begins with 200 subjects and has deaths, with no earlier censoring. By part (a),At one year, the 69 remaining cohort-B subjects are administratively censored. Cohort A supplies 72 subjects at risk for the second follow-up year, with 24 deaths and 48 survivors. ThereforeThe given grouped totals suffice because there is no censoring inside either follow-up interval; no assumption about the ordering or ties of its deaths is needed.
Cohort A alone would give . But two-year survival is the product of first-year survival and conditional survival through the second year. Cohort B contributes a full year's information to the first factor even though it has no second-year follow-up. Omitting it discards useful early deaths and survivors. The pooled estimate combines the first-year information from both cohorts with the conditional second-year information from cohort A.
Thus lack of two-year follow-up is handled by censoring, not by removing the entire short-follow-up cohort. This is cohort pooling under administrative censoring. The criticism assumes comparable time-since-entry survival distributions: if enrolment cohort or calendar period genuinely changes the hazard, naive pooling is not justified. One should model or stratify that effect, and an estimand specifically restricted to cohort A may appropriately use its own survival distribution.
The Cox proportional-hazards model specifieswhere is an unspecified common baseline hazard and is the individual's covariate vector. The hazard ratio for two fixed covariate vectors is , constant in time. Assume independent subjects and independent censoring conditional on their covariates, and use the question's absence of tied events.
Let be an event time, its failing subject, and the risk set immediately before that time. In a short interval of length , the conditional probability that subject fails, given one failure among those at risk, isThe baseline hazard cancels. Multiplying the successive conditional event-identity factors gives the Cox partial likelihood for :This is a partial likelihood, not the full survival likelihood for the unspecified . Risk sets evolve with the observed history; the derivation uses their successive conditional hazards, rather than assuming the risk sets themselves are independent.
Define and . For component ,Differentiating again givesThus the score and information of Cox partial likelihood are the sum of event-minus-risk-mean contrasts and the sum of risk-weighted covariance matrices, respectively. The Hessian is negative semidefinite; the likelihood is concave, with strict identifiability requiring variation in the relevant risk-set covariates.
At event time , the vector Schoenfeld residual iswhere is the fitted partial-likelihood coefficient. It compares the covariate of the person who actually failed with the covariate mean predicted for the failing person, using the fitted hazard weights over the risk set. Under the model at the true coefficient, the conditional expected failing covariate is precisely that weighted mean, so the corresponding Schoenfeld function is conditionally centered at zero. Residuals are defined at observed events, not at censoring times.
The score equation from part (a) is exactlyAt a finite interior unpenalized maximum, , soThis is the intended fitted-residual identity. For an arbitrary trial coefficient it is a score, not generally zero; a single event with covariates zero and one in its risk set can have Schoenfeld function at . Penalized estimates or a boundary maximum also need their own score conditions rather than this unqualified zero-sum assertion.
Under proportional hazards, each coefficient is constant over event time. Examine the Schoenfeld residuals, preferably scaled Schoenfeld residuals, against time or a prespecified transformation such as log time, ranks or a fitted survival-time transformation. Plot a smooth trend and its uncertainty for each covariate. Under the working model there should be no systematic residual-time association; a persistent trend suggests a time-varying coefficient. In a coefficient-scale plot that adds to the scaled residuals, the null trend is horizontal at the fitted coefficient.
A formal proportional hazards assumption test can add a time interaction, for example , and test using a score test with information adjusted for the fitted constant coefficients. The score contributions involve the Schoenfeld functions weighted by . One can test each covariate and use a joint global test for a vector of time-interaction coefficients. Such an association would be possible despite the unweighted residual sum being zero, so that fitted identity does not establish proportional hazards.
A systematic nonhorizontal coefficient trend or significant residual-time association is evidence against a constant hazard ratio. Failure to reject is compatible with the assumption, not proof of it. These diagnostics target the proportionality restriction; they do not by themselves verify covariate functional form or independence of the censoring mechanism.
Articles by others on the same topic
There are currently no matching articles.