This version replaces the simulation and optimisation core. The model is the same (Okuyama 2012, 2026); what changes is how it is computed and how the results are summarised. It was validated against Okuyama (2026, Table S1) with the datasets D2 and D3 of FoRAGE, and with simulated data (parameter recovery).
src/motor.cpp); with the same seed it reproduces exactly
the pure-R reference implementation and the simulator of Okuyama (2026).
It is about 40-65 times faster.set.seed() of
the user controls every result, including the parallel profile.s is now the standard deviation of the handling
time on the natural scale (same units as h), as in
Okuyama (2026), instead of the standard deviation on the log scale. The
Lognormal still has mean h; the equivalent log-scale value
is sqrt(log(1 + (s / h)^2)). Values of s from
version 1.0.4 are not comparable.NLL_min + qchisq(0.95, 1) / 2 (+1.92). Version
1.0.4 used +3.84, which gives an interval of about 99.5%.log(a * H_ref^z), log(h),
log(k) and sqrt(s), with wide bounds (1.0.4
used fixed bounds that excluded the real values of the validation
datasets: h <= 0.5, k >= 0.5, z <= 3). A warning is shown when
a parameter ends on a bound.z_hat is the minimum of the likelihood
profile, and the AIC of the model with free z uses its NLL
(previously a separate five-parameter fit, which could be worse than the
profile because of Monte Carlo noise).future); the previous plan(multisession) had
no effect on the fit.k is
very small). When a limit falls in a bracket wider than the grid step,
extra values of z are evaluated inside it so that the interpolated limit
is as precise as the rest of the grid.k, parameters
on a bound, open intervals and noisy likelihood.nll_reeval).Imports and
LinkingTo).fit_full() was replaced by fit_profile()
and fit_z_fixed().?funresMech) and extended
?run_app.