How this calculation works
Select a fixed-size subset of distinct candidate measurement rows to maximize the determinant of a linear-model information matrix. The page returns selected row indices, the information matrix and tied-optimum count after bounded complete enumeration. Its equal-noise and no-replication assumptions are explicit, separating design selection from coefficient estimation.
maximize det(X_SᵀX_S), |S|=m.A worked example
Among candidate rows (1,−1),(1,0),(1,1), selecting the two endpoints gives information matrix diag(2,2), determinant 4 and log determinant log(4). Either adjacent pair has determinant 1, so the endpoint subset is D-optimal for the stated fixed-size unit-variance model.
Good to know
≤18candidate rows/5coefficients, fixed-size subset without replication,≤50,000subsets. Independent unit-variance observation errors; no cost-weighted or Bayesian criterion.
Define the candidate design rows
Each row gives the model regressors for one possible measurement, including a one if an intercept is part of the model. The form does not add that intercept automatically. Candidate rows are choices to select, not already observed response values; no y column is fitted by this page.
Columns must use a common model meaning and fixed scale across candidates. A polynomial design might include one, x and x squared as separate columns, while a categorical design needs deliberate coding. The information criterion depends on those coordinates, so recording only an informal measurement name is insufficient to reproduce the optimization.
The Nonlinear least squares curve fitting calculator with parameter bounds fits response-dependent model parameters. D-optimal selection uses candidate feature rows and a common unit-variance information model before responses are known; it does not minimize observed residuals.
Understand determinant as information volume
Under independent equal-variance linear-model errors, information is proportional to Xtranspose X. Its determinant measures a multivariate information-volume criterion. Maximizing it, or its logarithm, is D-optimality and favors a small joint coefficient-uncertainty volume under the maintained model assumptions.
It does not minimize every individual coefficient variance separately. A design can trade precision between directions while improving the determinant. If a particular coefficient or prediction point is the target, another design criterion may be more appropriate. The page does not select a criterion automatically from a generic desire for more accuracy.
Check the endpoint example
Candidate rows are (1,−1),(1,0),(1,1), and two distinct rows must be selected. The two endpoints give information matrix diagonal two and two, with determinant four and log determinant log four. Either adjacent pair gives determinant one.
The endpoint subset is therefore optimal among the three possible pairs. It spreads the predictor values to identify slope while retaining an intercept. This simple result does not prove that endpoints always solve a richer nonlinear or heteroscedastic design problem; it follows from this supplied linear model and candidate set.
Use the log determinant for stable comparison
The solver compares positive-definite information matrices through their log determinants rather than multiplying potentially extreme eigenvalues. A rank-deficient subset has zero determinant and cannot identify all entered coefficients, so it is excluded from a positive-information optimum.
Selecting at least as many rows as coefficients is necessary but not sufficient for full rank. Duplicate or linearly dependent candidate patterns can leave every allowable subset singular. In that case the page reports the failure rather than assigning an artificial finite score to an unidentifiable design.
Distinguish no replication from distinct coordinates
The selected indices are distinct, so the same candidate row index cannot be chosen repeatedly. If two input rows happen to have identical numeric coordinates, they are still two separate candidate measurements. Choosing both is allowed but may add little information compared with a more diverse subset.
An approximate design assigning fractional weights or an exact design allocating repeated trials to one candidate is a different optimization. The current count means a fixed number of distinct listed opportunities, not a total replication budget. Keep that interpretation when preparing candidate rows from an experimental menu.
Read ties and exact-search scope
The form enumerates every subset of the requested size within a fifty-thousand-subset bound. Completing that search establishes the best numeric log determinant for the supported candidates. Ties are counted within a stated numerical tolerance, and one tied subset is returned as the witness.
There are at most eighteen candidate rows and five model coefficients. The enumeration is exact as a finite candidate search but information determinants are evaluated in floating point. Near-singular designs or nearly tied scores can need independent high-precision checks; a tiny reported difference should not be overinterpreted as a practically meaningful winner.
Validate noise and operational assumptions
The criterion assumes common independent unit-variance errors up to an irrelevant common scale. Different measurement variances, correlated errors, per-run costs and mandatory runs can change which subset is best. None is inferred from candidate coordinates or folded into a hidden weighting.
After selecting a design, collecting data and fitting coefficients remain separate tasks. D-optimality under a wrong model does not guarantee accurate predictions or a successful experiment. Report the candidate matrix, selected count, equal-noise assumption and chosen row indices so another analyst can reproduce the actual design question.
A few questions, answered
Does the page fit response coefficients?
No. It selects candidate measurement rows before responses are collected or fitted.
Is an intercept added automatically?
No. Include a column of ones if the intended linear model needs one.
Can one candidate index be selected repeatedly?
No. This is fixed-size subset selection without replication.
Does D-optimality minimize every coefficient variance?
Not necessarily. It optimizes a joint determinant criterion under the specified equal-noise model.