Why Estimation Failures Are Design Outcomes
A simulation replicate can generate data exactly as planned and still produce no usable estimate. An optimizer may stop without meeting its convergence criteria; a fit may reach a parameter constraint; or the algorithm may report convergence while the likelihood surface is too flat to support precise estimation. These outcomes matter when comparing designs. A design that gives excellent precision among successfully fitted replicates may be less useful if it frequently produces unusable fits.
The task here is to measure convergence and estimation problems consistently across designs, and to diagnose their likely source. A nonconverged fit is not automatically evidence that the design is poor: it may reflect an avoidable numerical problem. Conversely, a software convergence flag does not establish that the data are informative or that the resulting estimates are trustworthy.
Define the Outcomes Before Counting Them
For each simulated replicate, record the design, scenario, generated data identifier, fitting status, parameter estimates, objective value, optimizer messages, and diagnostic results. Define a status rule before inspecting which design performs best. For example, “converged” might require both the optimizer’s success flag and a scaled gradient below a stated tolerance. A boundary rule might require an estimate within a chosen tolerance of a lower or upper constraint. Tolerances should be appropriate to the parameter scale and estimation method, rather than selected after seeing the results.
Use all attempted replicates as the denominator for the primary convergence rate. Let \(R\) be the number of attempted replicates for a design and \(C_r=1\) if replicate \(r\) meets the convergence rule, and 0 otherwise. Then the estimated convergence rate is the proportion of attempts that converged. The failure rate is its complement when each attempt is classified as either converged or failed. If a fit is flagged as converged but fails a separate reliability check, report that category explicitly rather than silently counting it as an ordinary success.
These are estimates of the probabilities of convergence and failure under the simulation’s specified data-generating and fitting procedures. Their interpretation assumes the simulation replicates are generated according to the intended scenario and are analyzed consistently. If some attempts are missing because of a programming or infrastructure interruption, report them separately; do not treat them as successful fits or hide them by changing the denominator without explanation.
For parameter \(j\), define a boundary indicator \(B_{rj}\) using the parameter’s allowable range and a prespecified tolerance. Report the boundary rate over all attempts and, when useful, also among converged fits. The first describes how often the design-and-analysis procedure produces boundary estimates overall; the second describes boundary behavior conditional on obtaining a converged fit. These answer different questions and should not be conflated. A boundary estimate may be a legitimate estimate, so it is not automatically a failed fit.
Worked Example: Comparing Convergence Rates
Suppose two hypothetical designs are each evaluated in 200 simulated replicates. Under a rule requiring an optimizer success flag and a scaled gradient no greater than 0.001, Design A meets the rule in 190 replicates, while Design B meets it in 176. Assume all 400 attempted fits have been classified and no runs were interrupted.
For Design A, \(R=200\) and \(\sum C_r=190\), so \(\widehat{q}_{\mathrm{conv}}=190/200=0.950\), or 95.0%. Its failure rate is \(10/200=0.0500\), or 5.00%.
For Design B, \(\widehat{q}_{\mathrm{conv}}=176/200=0.880\), or 88.0%, and its failure rate is \(24/200=0.120\), or 12.0%. Thus Design A had 7.00 percentage points more converged fits in these simulations. This difference is a diagnostic result, not proof that the design itself caused a numerical problem: the nature and pattern of the failed fits need examination.
For scale, the estimated standard error of a sample proportion is \(\sqrt{\widehat{q}(1-\widehat{q})/R}\), under independent, identically generated replicates within a design. For Design A it is \(\sqrt{0.950(0.0500)/200}=0.0154\), or 1.54 percentage points. This quantifies Monte Carlo variation in the estimated rate; it does not explain the failures or replace the planned comparison of designs.
Boundary Estimates Need Their Own Interpretation
A boundary estimate can arise because the true parameter is at a boundary, because the data are weakly informative about that parameter, because the model’s likelihood is irregular, or because optimization has failed. A boundary percentage alone cannot distinguish these explanations. Report which parameter reached which boundary, the tolerance used, and the denominator. When constraints differ by parameter, state the boundary rules separately.
For example, if a variance parameter is constrained to be nonnegative, an estimate of zero is on the boundary. That may be consistent with little estimated variability in the simulated data, or with insufficient information to distinguish a small positive variance from zero. If estimates repeatedly stop at a constraint with poor gradients or sensitivity to starting values, a computational explanation becomes more plausible. Neither interpretation follows from the boundary count alone.
Worked Example: Reporting Boundary Rates
In 250 hypothetical replicates, a model estimates a nonnegative random-effect variance. Define a boundary estimate as an estimate below 0.0001. There are 230 fits that meet the convergence rule; 18 converged fits estimate the variance below the tolerance, and 5 additional nonconverged attempts also return an estimate below it.
Among all attempts, the boundary rate is \((18+5)/250=23/250=0.0920\), or 9.20%. Among converged fits, it is \(18/230=0.0783\), or 7.83%. The two rates differ because the conditional rate excludes nonconverged fits.
A transparent report would give both values and state that 20 of 250 attempts did not meet the convergence rule. It would not call all 23 boundary estimates failures: 18 occurred in fits that met the rule. Further diagnostics are needed to decide whether these estimates are numerically suspect or plausible consequences of the data and model.
Diagnose the Pattern, Not Just the Flag
Treat an optimizer flag as one piece of evidence. Examine the scaled gradient at the reported solution, whether the objective value is finite, whether estimates satisfy constraints, and whether the estimated information matrix or Hessian supports local uncertainty calculations. A small gradient is reassuring about local stationarity, but does not prove that the optimizer found the relevant optimum. A singular or poorly conditioned Hessian may indicate weak curvature, parameter redundancy, or another numerical problem. Inspect parameter correlations and uncertainty estimates as well, while recognizing that none is a standalone diagnosis.
For a subset of problematic replicates, rerun the fit using reasonable alternative starting values or an alternative optimization strategy. Compare objective values and parameter estimates. If independent starts repeatedly reach similar estimates and objective values, that supports—but does not prove—that the solution is stable. If starts yield materially different solutions, or a modest change in numerical settings changes the result, suspect an optimization or identifiability problem requiring investigation. A lower objective value from another start may indicate that the original fit did not find the best solution.
Patterns across replicates also help. Failures concentrated in one parameter, scenarios with little variation in an important covariate, or designs with sparse observations in an informative time region can suggest that the data do not constrain certain parameters well. That is a design-relevant warning, even when the software terminates normally. Similar failures across many designs and scenarios may instead point toward an analysis-pipeline or model-implementation issue. These are clues, not conclusive tests: computational instability and weak information can occur together.
Apply fixed rules for convergence, failure, and parameter-specific boundary estimates; retain optimizer messages and diagnostics.
Show attempted counts, convergence and failure rates, and boundary rates with their denominators.
Review gradients, objective values, constraints, Hessian behavior, and the distribution of problematic parameter estimates.
Use reasonable alternate starts or optimization settings to determine whether the result is stable or sensitive to computation.
State how failures affect each performance summary and avoid interpreting conditional results as if they covered all attempts.
Worked Diagnostic: Computation or Weak Information?
Suppose two hypothetical designs each have 100 simulated replicates. Design X has 96 converged fits; four fail, and all four have large scaled gradients. Design Y has 96 converged fits; four fail, but all four have small gradients and estimates of a variability parameter at its lower bound. In a diagnostic rerun of those eight fits from three reasonable starting values, the Design X fits reach acceptable gradients and similar objective values in three of four cases. The Design Y fits repeatedly produce estimates near zero and similar objective values, while the corresponding Hessians show little curvature in the variability direction.
Both designs have \(\widehat{q}_{\mathrm{conv}}=96/100=0.960\), or 96.0%, and a 4.00% failure rate. Those equal rates conceal different patterns. For Design X, the large gradients and improvement after rerunning are evidence of an optimization problem in at least some fits. For Design Y, repeatable near-zero estimates combined with weak curvature are consistent with limited information about that variance parameter. They do not establish that the data alone caused the failures: model structure or numerical implementation could also contribute.
The appropriate conclusion is therefore not “the designs are equally reliable” solely because their rates match. Report the identical rates, then describe the contrasting diagnostics and the limited scope of the reruns. A further investigation might check the model implementation and explore whether the sampling design contains observations informative about the parameter. Do not simply alter the model or constraints to force convergence and then compare the modified analysis as though it were the original procedure.
How Failures Affect Other Performance Summaries
Bias, root mean squared error, and interval coverage computed only among converged replicates are conditional summaries. For example, mean bias among converged fits describes the estimates produced when the fitting procedure converged; it does not describe all attempted replicates. If failures are more common in difficult simulated data sets or with extreme estimates, excluding them can make the remaining estimates look more favorable. Report the convergence rate beside conditional summaries, and state the denominator for every reported quantity.
Where possible, inspect whether failure is associated with the generated parameter values, covariates, or data characteristics. Such patterns can reveal that missing estimates are selective rather than random. Do not impute a failed fit as though it were a numerical estimate without a defensible method. If a performance measure is undefined for a failure, present it as conditional on success and separately report the failure probability. A decision may reasonably favor a design with slightly less precision among successful fits but substantially fewer failures; the trade-off should be made visible rather than buried in a single summary.
Common Pitfall and Limitations
- Counting a software success flag as full validation. A termination message does not guarantee a good optimum, adequate curvature, or informative data. Pair it with prespecified diagnostics.
- Calling every boundary estimate a failure. Boundary estimates can be valid under the model and parameter constraints. Classify boundary behavior separately, then investigate its context.
- Dropping failed replicates without a denominator. This inflates the apparent success of the analysis and can bias conditional performance summaries. Keep the attempted count visible.
- Claiming weak information from a high failure rate alone. A rate does not identify its cause. Use diagnostic patterns and controlled reruns, and retain uncertainty about the explanation.
Diagnostics are necessarily imperfect. Gradient and Hessian criteria depend on scaling and numerical implementation; alternative starts can miss a better solution; and weak information can produce both broad uncertainty and optimization instability. Prespecified rules improve comparability, but they do not turn a numerical classification into a causal diagnosis. Report enough detail for readers to see what counted as success and how failures influenced the design comparison.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- In 160 simulated attempts, 148 meet a prespecified convergence rule. What are the estimated convergence and failure rates?
- For a constrained parameter, 12 of 150 attempts are boundary estimates; 10 of 135 converged fits are boundary estimates. State both rates and explain why they differ.
- A fit reports successful termination but has a large scaled gradient. Should it automatically count as a reliable converged fit? Explain.
- Several fits repeatedly estimate a variance near zero from different starting values, with similar objective values and weak Hessian curvature in that direction. What explanation is consistent with this pattern, and what can you not conclude?
- Why should bias calculated only from converged replicates be labelled as conditional?
Solutions. (1) The convergence rate is \(148/160=0.925\), or 92.5%; the failure rate is \(12/160=0.0750\), or 7.50%. (2) Across all attempts the boundary rate is \(12/150=0.0800\), or 8.00%; among converged fits it is \(10/135=0.0741\), or 7.41%. The denominators answer different questions, and the first includes boundary results from nonconverged attempts. (3) No. A large gradient indicates that the solution may not satisfy the prespecified numerical criterion; apply the stated rule and investigate the fit rather than trusting the termination message alone. (4) The pattern is consistent with weak information about the variance parameter, but does not prove that weak data information is the only cause; model or computational issues may also contribute. (5) Failed replicates do not contribute estimates to that calculation, and their omission may be selective. The resulting bias describes estimates conditional on convergence, not all attempted replicates.