The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

fewclust 0.4.3

Preparation of the first CRAN release; the fits and their numbers are those of 0.4.2.

fewclust 0.4.2

Numbers of the simulation study

The numbers of the simulation study stored in the package (shown in vignette("simulation-study")) now come from the final tables of the study with its current rules: the refit of the convergence check of the marginalized model counts only if it converges (the rule implemented in 0.4.1), and datasets with separation stay results. Only the rows of the marginalized model changed: its mean share of usable datasets is lower (overall and with short series and few clusters), it is clearly below 2.5% at more design points (also with 10 clusters), its unconditional power is slightly lower, and its distances from 5% in the head-to-head map with GEE AR(1) and Fay-Graubard change (two cells change class: 15-25 clusters with 3 occasions is now about the margin, more than 25 clusters with 2 occasions is now similar). It is still never clearly above 7.5%. The values are in the vignette; the list of changes, old and new, is in dev/checks_0.4.2/out/constants_diff.csv of the source repository. Every stored value now names, in R/constants.R, its source table and the identifier of the study’s registry of numbers. The statements of the vignette that depend on these numbers are computed from them. Fitting functions and their results are unchanged.

fewclust 0.4.1

Convergence check of the marginalized model

The convergence check now follows the rule adopted by the simulation study behind the package (decision of 3 November 2026). A fit with the time trend of the latent standard deviation that is at the boundary (nlm() code other than 1 or 2, a slope of the latent standard deviation below check_threshold, or, with check_coherence = TRUE, a log-likelihood below that of the fit without the trend) is replaced by the fit without the trend only if nlm() reports convergence of that refit (code 1 or 2) and its estimates and standard errors are finite. Otherwise the marginalized model gives no result for the dataset: with method = "auto" fit_fewclust() falls back to GEE (AR(1) working correlation, Fay-Graubard correction, as for any other failure of the marginalized model) with a message, and with method = "mmm" it stops with an error of class "fewclust_error". The message says why: the refit did not converge (with its nlm() code), or it gave no finite estimate.

Earlier behaviour (0.3.x, 0.4.0): the refit was used whenever its estimates and standard errors were finite, whatever its nlm() code, and when it was not finite the fit at the boundary was reported. The study judged that a fallback fit must pass the same convergence test as the fit it replaces. Results change only for the datasets on which the check intervenes and the refit does not converge or is not finite; on every other dataset estimates, standard errors, statistics, degrees of freedom and p-values are identical to 0.4.0.

Agreement with the study

On 240 datasets of the study (scenario M3, the model the package fits) where the study’s rule gives no result, the package gives none on 238 (191 by the convergence check, 47 because fit_fewclust() refuses the design); on the other 2 its optimiser converges where MMLB::mm does not, so the check does not intervene. On 240 datasets where the study uses a converged refit, the package reports the same estimate and standard error on 224; the 16 others are design refusals (7), refits with a non-finite standard error in the package (3), trend fits that converge in the package (3) and standard errors that differ (3). Details in dev/aggiornamento_0.4.1.md of the source repository.

fewclust 0.4.0

fewclust is now a classic R package in the style of the tidyverse: one fitting function with the data first, standard methods, broom verbs that return tibbles, and short messages that say what happens and what to do. The numbers do not change: for every method, the estimates, standard errors, statistics, degrees of freedom and p-values are identical to those of version 0.3.1, and so are gee_vcov() and flip_test().

Breaking changes

New

Messages

fewclust 0.3.1

The automatic choice now follows the corrected simulation study (manuscript v7). In the study a dataset whose outcome is constant (all 0 or all 1) gives no usable result for any method; GEE with an AR(1) working correlation and the Fay-Graubard correction had counted 9,646 such datasets as usable. Without them GEE with an AR(1) working correlation, the Fay-Graubard correction and a t reference is clearly above a 7.5% type I error at 2 design points (10 clusters, 2 occasions), and the rule of the study selects the marginalized multilevel model with the convergence check. The numbers the paper took from the package do not change: gee_vcov() and the engine of the marginalized model compute exactly what version 0.3.0 computed.

Breaking changes

New cautions and notes

Constant outcome

Agreement with the study

Unchanged

fewclust 0.3.0

The package now follows the final version of the simulation study (manuscript v5: 2,376 design points, four data-generating mechanisms including a purely serial one). The numbers of the paper do not change: the sandwich corrections of gee_vcov() and the engine of the marginalized multilevel model compute exactly what version 0.2.0 computed.

Breaking changes

New

Changes in messages

fewclust 0.2.0

The package now encodes the decision rule of the revised simulation study (manuscript v4, 1,896 design points).

Breaking changes

Changes in results

New

fewclust 0.1.0

Initial release.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.