Tutorials › Group Sequential Methods and Sample Size Re-Estimation › Approximating Survivor Regions With Rectangular Cells

Computing Boundaries and Power · Tutorial 230 of 699

Approximating Survivor Regions With Rectangular Cells

You will learn to classify grid cells against a continuation region and use rectangular sums to approximate survivor densities and survivor mass.

Advanced 10 min read

What You'll Learn

  • State the Gaussian transition and survivor-density assumptions required by the rectangular-cell recursion.
  • Construct a midpoint-grid approximation to the survivor density at a new look.
  • Convert approximate density values into survivor mass using cell widths.
  • Classify cells against a stopping boundary and identify the error caused by boundary-straddling cells.
  • Check calculations through mass accounting, grid sensitivity, and comparison with cell transition probabilities.

Why Approximate Survivor Regions With Cells?

At an interim look, a group sequential procedure continues only for statistic values inside its continuation region. The survivor density describes the distribution of the statistic among paths that have not stopped. To propagate that density to the next look, one integrates over the current survivor region. When the boundary is curved, asymmetric, or inconvenient for direct integration, a grid of rectangular cells provides a transparent numerical approximation.

The grid does not change the statistical stopping rule. It replaces integrals over the continuous state axis with finite sums, while a cell-classification rule decides which parts of the grid are treated as surviving. The approximation is useful only when its two sources of error are understood: integration within cells and classification of cells that intersect a boundary.

Definition: At look \(j\), let \(X_j\) be the monitoring statistic, and let \(C_j\) be its continuation region: values in \(C_j\) have not crossed a stopping boundary. The survivor density \(f_j^S(y)\) is the density at \(X_j=y\) for paths that have survived through look \(j\), including their probability mass. Its integral, \(\int f_j^S(y)\,dy\), is the probability of surviving through that look.

Model and Rectangular-Cell Recursion

Assume the statistic has a Gaussian Markov transition between consecutive looks. Specifically, conditional on \(X_{j-1}=x\), suppose \(X_j\) is normal with mean \(m_j(x)\) and variance \(v_j>0\). The transition density is

$$ K_j(y\mid x)=\frac{1}{\sqrt{2\pi v_j}} \exp\!\left\{-\frac{[y-m_j(x)]^2}{2v_j}\right\}. $$

The Markov assumption means that, given the current statistic, the next-look distribution does not additionally depend on earlier states. Assume also that the continuation regions are specified, the survivor density at the preceding look is available, and the numerical grid covers the region whose mass is being approximated. If the state axis is restricted to a finite interval, mass outside that interval must be accounted for rather than silently treated as zero.

The exact recursion multiplies the previous survivor density by the transition density, integrates over the previous continuation region, and sets the result to zero outside the new continuation region:

$$ f_j^S(y)=\mathbf{1}\{y\in C_j\} \int_{C_{j-1}} f_{j-1}^S(x)K_j(y\mid x)\,dx. $$

To approximate this integral, divide the relevant part of the previous state axis into cells \(A_i\) with widths \(h_i\) and midpoints \(x_i\). Divide the new state axis into cells \(D_\ell\) with widths \(q_\ell\) and midpoints \(y_\ell\). The midpoint rectangular approximation evaluates the integrand at the cell midpoints:

$$ \widehat f_j^S(y_\ell) = \mathbf{1}\{y_\ell\in C_j\} \sum_{i:\,x_i\in C_{j-1}} f_{j-1}^S(x_i)K_j(y_\ell\mid x_i)h_i. $$

The resulting approximation to survivor mass is another rectangular sum:

$$ \widehat S_j= \sum_{\ell:\,y_\ell\in C_j} \widehat f_j^S(y_\ell)q_\ell. $$

Here \(f_j^S(y_\ell)\) is a density, measured as probability per unit of the statistic, whereas \(\widehat f_j^S(y_\ell)q_\ell\) is a probability mass. Confusing these quantities is a common source of errors.

How the Midpoint Approximation Arises

For fixed \(y\), write the integrand as \(g(x)=f_{j-1}^S(x)K_j(y\mid x)\). On a cell of width \(h\) centered at \(x_i\), the midpoint rectangle replaces the cell integral by \(h g(x_i)\). If \(g\) is twice continuously differentiable on the cell and \(|g''(x)|\le M\), Taylor expansion around \(x_i\) gives

$$ \int_{x_i-h/2}^{x_i+h/2}g(x)\,dx = hg(x_i)+R_i, \qquad |R_i|\le \frac{Mh^3}{24}. $$

The linear Taylor term integrates to zero because the cell is centered at its midpoint; the displayed bound follows by integrating the quadratic remainder bound \(M(x-x_i)^2/2\). Thus, for a smooth integrand and a fixed, correctly classified region, halving a uniform cell width typically reduces this component of the error by about a factor of four. This argument does not cover cells cut by a boundary: the indicator of the continuation region is discontinuous there, so boundary classification can dominate the smooth integration error.

Worked Example: Propagating Three Source-Cell Masses

Consider one transition with standard deviation \(0.6\) and conditional mean \(m(x)=0.8x\). Three source cells have midpoints \(0.2,\ 0.4,\ 0.8\), with approximate survivor masses \(0.05018,\ 0.04470,\ 0.02944\), respectively. Find the rectangular approximation to the destination density at \(y=0.4\). Assume the source cell masses are already given, so each contributes its mass times the transition density at its midpoint.

The normal-density prefactor is \(1/(0.6\sqrt{2\pi})\approx0.6649\). From \(x=0.2\), the conditional mean is \(0.16\), so \(K(0.4\mid0.2)=0.6649\exp\{-\tfrac12(0.24/0.6)^2\}\approx0.6138\). At \(x=0.4\), the mean is \(0.32\), giving \(K(0.4\mid0.4)=0.6649\exp\{-\tfrac12(0.08/0.6)^2\}\approx0.6590\). At \(x=0.8\), the mean is \(0.64\), so the distance from \(y=0.4\) is again \(0.24\), and \(K(0.4\mid0.8)\approx0.6138\).

The three contributions to the destination density are therefore \(0.05018(0.6138)\approx0.03080\), \(0.04470(0.6590)\approx0.02946\), and \(0.02944(0.6138)\approx0.01807\). Adding them gives \(\widehat f^S(0.4)\approx0.07833\) per unit of the statistic. If the destination cell centered at \(0.4\) has width \(0.2\) and is classified as surviving, its approximate mass is \(0.07833(0.2)=0.01567\). The density and cell mass are not interchangeable.

Classifying Cells at a Boundary

For a general continuation region, classify each cell using a stated rule. A simple midpoint rule retains a cell when its midpoint is in the continuation region, and excludes it otherwise. For a two-sided continuation interval \(C_j=(l_j,u_j)\), this means retaining destination cell \(D_\ell\) when \(l_j<y_\ell<u_j\). Whether the interval endpoints are included makes no difference to the continuous model's probability, but the rule for cells near those endpoints still matters.

A midpoint rule can retain a cell that partly lies beyond a stopping boundary, or exclude a cell that partly lies inside. The rectangular sum then assigns the whole cell according to its midpoint. Smaller cells reduce the region affected by this approximation, but do not make a coarse-grid classification exact.

Worked Example: Midpoint Classification Near Two Boundaries

At a particular look, suppose the continuation region is \(C=(0.25,0.75)\), and the state axis from 0 to 1 is divided into five cells of width \(0.2\). The cell midpoints are \(0.1,\ 0.3,\ 0.5,\ 0.7,\ 0.9\). Suppose the approximate survivor-density values at those midpoints are \(0.10,\ 0.25,\ 0.30,\ 0.20,\ 0.05\) per unit.

Under midpoint classification, the cells centered at \(0.3,\ 0.5,\ 0.7\) are retained, because those midpoints lie between the boundaries. Their approximate masses are \(0.25(0.2)=0.050\), \(0.30(0.2)=0.060\), and \(0.20(0.2)=0.040\). The estimated survivor mass is therefore \(0.050+0.060+0.040=0.150\).

The first retained cell, \([0.2,0.4]\), crosses the lower boundary \(0.25\), and the last retained cell, \([0.6,0.8]\), crosses the upper boundary \(0.75\). The calculation assigns both entire cells to the continuation region. It is a valid application of the stated midpoint rule, but its boundary contribution is approximate; finer cells or a more boundary-aware calculation may change the result.

A Destination-Cell Check and Numerical Diagnostics

A useful comparison keeps the source integration as a midpoint sum but integrates the Gaussian transition over each destination cell. If \(D_\ell=[a_\ell,b_\ell]\), a source midpoint \(x_i\) contributes according to the conditional probability

$$ P(X_j\in D_\ell\mid X_{j-1}=x_i) = \Phi\!\left(\frac{b_\ell-m_j(x_i)}{\sqrt{v_j}}\right) - \Phi\!\left(\frac{a_\ell-m_j(x_i)}{\sqrt{v_j}}\right), $$

where \(\Phi\) is the standard normal cumulative distribution function. This approach avoids approximating the transition density as constant across a destination cell, although source-cell and boundary-classification errors remain. It is one useful check on a fully rectangular density evaluation.

Several diagnostics help identify a failing approximation:

  • Check mass accounting. Survivor mass must be nonnegative and cannot exceed the mass available before the look, apart from small rounding error. Large violations usually indicate a density-versus-mass mistake, a missing cell width, or double counting.
  • Check the direction of boundary effects. A cell midpoint just inside a boundary retains the entire cell under the midpoint rule. If the implementation instead drops it, the coding rule and stated method disagree.
  • Inspect density scale and units. A density has units reciprocal to the statistic; multiplying by a cell width produces a dimensionless probability mass.
  • Repeat with a finer grid. Material changes in survivor mass signal that the original grid is too coarse for the boundary or transition density. Agreement across two grids is reassuring, but does not prove accuracy if both grids mis-handle the same boundary or omitted tail mass.
  • Compare destination-cell probabilities. Substantial disagreement with the Gaussian cell-probability calculation suggests that density variation within destination cells is important.

Worked Example: Summing Two Destination Cells

Worked Example: Two Gaussian Destination-Cell Masses

Suppose two source cells have survivor masses \(0.1\) and \(0.2\). For each source, the next-look transition has standard deviation \(0.6\). At the midpoint of the first destination cell, the distances from the two conditional means are \(0.05\) and \(0.45\); at the midpoint of the second, the distances are \(0.45\) and \(0.05\). Both destination cells have width \(0.5\), and both midpoints are in the continuation region.

The normal density at distance \(0.05\) is \(0.6649\exp\{-\tfrac12(0.05/0.6)^2\}\approx0.6626\). At distance \(0.45\), it is \(0.6649\exp\{-\tfrac12(0.45/0.6)^2\}\approx0.5019\). Thus the combined density approximation at the first destination midpoint is \(0.1(0.6626)+0.2(0.5019)=0.16664\). At the second midpoint it is \(0.1(0.5019)+0.2(0.6626)=0.18271\).

Multiplying by the destination-cell width gives approximate masses \(0.16664(0.5)=0.08332\) and \(0.18271(0.5)=0.09135\). Together they contribute about \(0.17467\) to survivor mass. These are rectangular density-times-width approximations, not exact cell probabilities.

Limitations and Common Pitfall

Rectangular cells are straightforward to audit, but their convenience does not guarantee precision. Accuracy depends on how rapidly the survivor density and transition kernel vary across cells, the location of boundaries relative to cell edges, and whether the grid represents all relevant probability mass. A narrow continuation region or a boundary near a high-density area can make boundary classification especially consequential. The approximation also inherits any error in the previous-look survivor density.

Common mistake: “The cell midpoint is inside the continuation region, so the cell is exactly a survivor cell.” The midpoint rule only assigns the whole rectangle according to one representative point; it does not establish that every point in the cell survives. The correction is to describe the resulting mass as an approximation, inspect cells that straddle boundaries, and assess sensitivity to cell width or a boundary-aware alternative.

Direct integration or simulation can serve as alternatives when cell approximations are inadequate. Cell transition probabilities can improve integration over destination cells; direct numerical integration can represent boundaries more precisely; simulation avoids a state grid but introduces Monte Carlo uncertainty. These methods have different computational costs and error sources, so the choice depends on the required accuracy and the structure of the boundary.

Check Your Understanding

Answer each question, then compare with the short solutions below.

  1. What is the difference between survivor density at a grid midpoint and the approximate survivor mass in its cell?
  2. A destination cell has width \(0.1\) and approximate survivor density \(0.42\) per unit at its midpoint. What is its rectangular mass contribution?
  3. Under midpoint classification, what happens to a cell whose midpoint is inside the continuation region but whose edge crosses a stopping boundary?
  4. Why can the smooth-integrand midpoint error bound fail to describe the error near a stopping boundary?

Solutions. (1) Density is probability per unit of the statistic; multiplying it by cell width gives approximate probability mass. (2) \(0.42(0.1)=0.042\). (3) The whole cell is retained by the midpoint rule, although part lies beyond the boundary, so this creates boundary-classification error. (4) The continuation-region indicator jumps at the boundary and is not smooth there, so the smoothness condition used for the midpoint error bound does not hold across that cell.

Clinical Biostats