Details
fit_diagnostics() returns a compact diagnostics table for an
hsquared_fit object. It is an inspection helper over the current result
payload: it does not refit the model, rerun validation checks, or promote an
experimental bridge target to production support.
The method row names the objective that produced the fit. For
target = "nongaussian" with marginal = "laplace", that value is
"Laplace marginal likelihood": a Laplace approximation that integrates
the intercept under a flat measure (REML-like V_A), not conventional
Laplace-ML as in glmer / pedigreemm. logLik() is not comparable
with glmer. The numerical method is unchanged.
Two rows share the word "boundary" but report unrelated things (hsquared#230):
at_boundary/at_boundary_conditionderive from the fitted estimates: a variance component at or near zero, or an inadmissible negative estimate (hs_fit_boundary_class()). Emitted for the Gaussian animal-model / genomic / single-step routes that report one primary variance-share layout; the_conditionrow is dropped (notNA) when the fit is interior, since there is nothing extra to say.search_boundary/search_boundary_conditionmirror the non-Gaussian bridge's optimizer state:result$boundary(documented asfit$result$boundaryin?hs_control) reports whetherHSquared.jl's single-variance Brent search stopped on the rail of its log-scale bracket (log(initial$sigma_a2) +/- 6, HSquared.jl#327) or, underrestart_check = TRUE, whether the two-start gap fence fired; either way the estimate is a function of the search, not the data. Only fits whose result carries aboundaryfield (the non-Gaussian route) gain this pair; a Gaussianengine = "fit"fit gains neither row (not evenNA). Unlikeat_boundary_condition,search_boundary_conditionis always emitted alongside a presentsearch_boundaryflag, reading"interior"rather than disappearing when the flag isFALSE– the search-bracket rail is a binary optimizer state with no benign-vs- inadmissible split to only sometimes report. In practice asearch_boundary = TRUEfit is refused before it reaches anhsquared_fitobject at all, so a returned fit'ssearch_boundaryis alwaysFALSE;TRUEis reachable only on a hand-builtresultobject.