In a two-factor design with four corner observations and independent center replicates, the difference between the corner mean and center mean has variance . Under a full quadratic regression surface it estimates ; the linear and interaction terms average to zero at the corners. With , the center pure error estimate makes its squared standardized contrast an test under a first-order mean model. Zero contrast does not exclude curvature, since the two squared-term coefficients may cancel.
Central composite design 2026-10-14
A central composite design augments a factorial portion with axial points and replicated centre points. It supports a full quadratic response model: intercept, linear terms, cross-products and squared coordinates. Centre-point replication estimates pure error. Choosing the axial distance appropriately gives a rotatable design.
Lack of fit 2026-10-14
Lack of fit is a mismatch between a regression model's mean function and the true mean relationship. Replicated predictor configurations can separate its sum of squares from pure error. A residual-versus-fitted plot can suggest curvature or changing variance even without a formal replication-based test.
Lack-of-fit F-test 2026-10-14
For independent normal responses of common variance at distinct predictor settings, a rank- normal linear model has residual degrees . The saturated setting-mean model has parameters and pure error degrees . Splitting orthogonal residual spaces gives lack of fit degrees . Under the fitted mean model, the two squared lengths divided by the common variance are independent chi-squared variables; their ratio of mean squares has the F-distribution shown. This test is unavailable without repeated settings or positive lack-of-fit degrees.
For this fraction, and , so their product is . The signed defining relation is
The complete factorial contrast alias classes are
The five main effects and occupy six distinct alias classes, and none aliases with the intercept. Every undesired two-factor term in these classes is assumed negligible, and all terms of order at least three are also assumed negligible. Thus design (b) is suitable under the stated interaction assumptions. Its intercept and six requested columns are mutually orthogonal, with , so each coded regression coefficient is . The corresponding high-minus-low main effect is .
There is one residual degree of freedom, but no replicated setting and therefore no separate pure error estimate. Suitability here means estimability under the stated model; it does not protect estimates from active interactions that the assumptions exclude.
For the general normal linear model, minimizing gives the least-squares normal equations . Full column rank makes invertible, so
The mean and covariance follow by substituting and using , . Normal errors also give the exact multivariate normal distribution of this estimator.
Use coded experimental variables
Their origin is the middle of the allowed rectangle, and the stated endpoints become . The four corners and center runs give mutually orthogonal columns , with
Writing when , the ordinary least squares estimates are
Their variances are , , , with zero covariances.
The repeated center runs estimate pure error without requiring the fitted mean surface to be correct:
They also permit a center-point curvature contrast. Let and . Under the first-order model, and . Under a quadratic surface, its expectation is , since the linear and terms average to zero. Thus
under the first-order normal model. With only one center run there is no pure-error degree of freedom. A zero center contrast does not exclude all curvature, because the two quadratic coefficients can cancel. The corners also estimate an interaction contrast; the full Lack-of-fit F-test compares the first-order fit with the five setting means, with two lack-of-fit and pure-error degrees of freedom.
If the first-order model is adequate and , steepest ascent in response surface methodology uses the unit coded direction . The Cauchy-Schwarz inequality proves that it maximizes the predicted directional derivative. Run sequential settings for increasing feasible , corresponding to physical increments from the center. Stop or reduce the steps when measured yield ceases to improve, and refit locally near promising settings. Respect the allowed rectangle; if a boundary is reached, investigate feasible boundary directions rather than extrapolating outside it. A near-zero gradient offers no first-order ascent direction and calls for further modeling.
If curvature is indicated, add the four axial settings , together with further center replication. This face-centered central composite design stays inside the allowed physical ranges and separates the two squared coordinates, which the corners alone cannot do. Fit the full quadratic regression surface
Write its fitted quadratic part as , where , and . Its gradient and Hessian are and . If is nonsingular, the stationary setting is
If is negative definite and is feasible, it is the fitted maximum. Otherwise compare feasible stationary settings, optima on each edge obtained from the restricted one-variable quadratic, and the corners. A singular or poorly determined calls for attention to ridge directions and more runs. Convert any chosen coded setting back using , , and confirm its yield experimentally. The fitted local surface guides the search; it does not establish an untested physical optimum.
Code each two-level factor as a sign . A factorial contrast indexed by a factor subset has sign column , with the empty subset giving the intercept. Construct a regular fractional factorial design by choosing independent words and retaining the settings satisfying , where each . In binary exponent notation these are independent linear equations over , leaving freely chosen coordinates and exactly settings. Dependence of the chosen words would fail to give the stated fraction size.
The words generated by multiplying the form the defining contrast subgroup , of order . Multiplication cancels a repeated factor, so word multiplication is symmetric difference of subsets. On the fraction, is constant for every , and hence
To see that these are all the aliases, average over the fraction. If , this is a nonconstant character of its freely varying binary coordinates; pairing settings that reverse that character makes the average zero. If , the product is constant. Thus the aliasing in a fractional factorial design classes are exactly the cosets of . For a half fraction, with , and every contrast column is aliased with exactly the other word , with a plus or minus sign according to the chosen fraction. This includes the defining word paired with the intercept.
For the six-factor experiment, take the 32-run half fraction
Its resolution of a fractional factorial design is VI. Every main effect is aliased with a five-factor interaction, and every two-factor interaction with a four-factor interaction. In particular, no two required low-order effects are aliased with one another. Under the stated negligible-higher-interaction assumption, all six main effects and the fourteen required two-factor interactions are estimable before introducing blocks.
To form four equal days, classify runs by the two signs
Their product is . The three nonconstant block contrasts therefore coincide with the treatment-column alias classes
Only among the main effects and two-factor interactions is lost to block confounding in a factorial design; the other two block directions involve only negligible three-factor interactions.
Here is an explicit construction of every run without an ambiguous generator convention. For each day sign pair , choose freely and set
There are eight distinct settings per day and 32 in total. Direct multiplication gives , and . Conversely those three equations solve uniquely from , so there are no missing or repeated settings. Assign the four sign pairs randomly to the four days, and randomize the eight runs within each day.
Distinct nonaliased factorial contrasts are orthogonal over the fraction. None of the 20 required low-order contrast columns belongs to a block class, so all are also orthogonal to the three block-effect columns. Their joint design matrix, including an intercept, therefore has rank . The analysis of variance partition is
The eight residual directions are the remaining unconfounded three-factor alias classes. They estimate error only under the negligible-higher-interaction assumption; they are not a separate replicated pure error stratum. This provides the requested comparisons within exactly four days of eight runs.
For the initial normal linear model, the design matrix has rows . The eight factorial corners have balanced signs and orthogonal coordinate columns; the six centre points contribute only to the intercept. Consequently
Using the least-squares normal equations gives the least-squares estimator
It is a linear transformation of independent normal responses, so its sampling distribution is
The four estimated coefficients are independent, since they are jointly normal with diagonal covariance matrix.
Adding the axial settings produces a central composite design: eight factorial corners, six axial points and six replicated centre points. The axial distance is the rounded value of . With that exact distance it is a rotatable design for a full quadratic model. Indeed, sign symmetry annihilates odd moments, all coordinates have the same second moment, and the fourth moments satisfy
Rotational symmetry requires the first to be three times the second, giving . Using the printed rounded distance makes rotatability approximate, rather than mathematically exact.
The full quadratic regression mean has ten coefficients:
The expanded design matrix has rank ten. To verify this rather than just count parameters, suppose such a quadratic vanishes at every setting. Its centre value sets its constant term to zero; subtracting the values at opposite axial points sets every linear coefficient to zero, and adding them then sets every squared-coordinate coefficient to zero. On the factorial corners, orthogonality of the three pair-product columns forces their coefficients to zero as well. Thus all ten columns are independent, leaving residual statistical degrees of freedom.
There are distinct settings: eight corners, six axial points and the centre. The six centre replicates give the only pure error, with degrees and sum of squares . The saturated setting-mean model has parameters, so the lack of fit beyond the quadratic model has degrees. For any setting with replicates, the identity
splits the residual sum of squares into pure error and lack of fit; the cross term vanishes because the deviations from the setting mean sum to zero. Summing gives
Under a correct quadratic mean with independent errors of constant normal variance, the pure-error and lack-of-fit projections are orthogonal, hence their sums of squares are independent with respective distributions and . The Lack-of-fit F-test therefore uses
This is below the given and critical values and . There is no significant lack of fit at either level. That is failure to reject this quadratic mean, not proof that it is exact or that a maximum has already been located. The pure-error denominator also assumes the error variance at the centre represents the common variance throughout the experiment.
The data do not cross every age with every gender: only age 21 has both genders, while age 30 has only women and age 40 only men. Thus a gender effect separate from age can be estimated under an additive model, but age-by-gender interactions cannot all be estimated or checked. There is only one observation in each recorded combination of age, gender, policy, and points, so there is no within-cell replication for separating pure error from lack of fit. No sampling method or additional risk characteristics are supplied, limiting comparisons between policyholder categories.
There is also a source discrepancy: the printed table gives for one comprehensive premium, whereas the R data vector gives at the corresponding position. The supplied regression output is treated as referring to the R data. This should be resolved against the original data before substantive use.