Skip to content

Nuée 0.9.3

Choose a tag to compare

@4rtefakt 4rtefakt released this 12 Nov 17:47
· 663 commits to main since this release
47b68e4

Community and classification analyses: redundancy and correspondence analysis, decision trees, linear discriminant analysis and k-means. Additive mixed models with an autocorrelation in time, a curve's thresholds, group variables and imputation of missing values.

Install

Windows

  1. Download Nuee-Setup-0.9.3.exe below.
  2. Run it and choose to install for yourself (no administrator rights needed) or for everyone on the computer. It replaces an earlier version; from 0.9.1, a click in the status bar installs it.
  3. The installer isn't code-signed, so Windows may say it protected your PC: click More info, then Run anyway.

R is included; nothing else to install. Windows 10 or 11, 64-bit. Uninstall from Settings › Apps.

Linux

  • Debian, Ubuntu and derivatives: download Nuee-0.9.3-amd64.deb and run sudo apt install ./Nuee-0.9.3-amd64.deb. apt brings R and the R packages Nuée needs, now including MASS, rpart and cluster.
  • Other distributions: use Nuee-0.9.3-x86_64.AppImage (needs libfuse2) or Nuee-0.9.3-x64.tar.gz (unpack, then ./nuee).
    • Install R and its packages first: install.packages(c("httpuv", "jsonlite", "openxlsx", "haven", "readxl", "foreign", "nlme", "mgcv", "MASS", "rpart", "cluster")).
    • See the README.
  • Older R: Nuée uses the computer's R. With an R older than 4.4 (Ubuntu 22.04 and 24.04, Debian 12), .rds and .RData files don't open, because reading one could run code (CVE-2024-27322).

New in 0.9.3

  • Redundancy analysis (RDA): Nouveau modèle › RDA asks how much of a table of responses (species abundances, measurements) explanatory variables explain, and how.
    • The responses can be transformed by Hellinger, chord or log(x + 1), and covariates can be removed first (partial RDA).
    • Results: triplots in scaling 1 or 2 and the adjusted R².
    • Permutation tests of the model, of each axis and of each term, within sites if needed, with a fixed seed.
    • Forward selection and variation partitioning between blocks of variables.
    • The results are those of the vegan package.
  • Correspondence analysis (CA) of a table of counts or abundances, with contributions and cos².
  • Decision trees (rpart): a regression or classification tree on the raw variables, so its thresholds read in their units.
    • Missing values are handled by surrogate variables.
    • Pruned by the 1-SE rule through a cross-validation by site, and validated by predicting each site with a tree rebuilt without it.
    • Results: the tree drawn, the rules of its leaves, the importance of the variables, and the stability of the first split over 200 bootstrap draws of the sites.
    • With little data, the minimum per leaf is lowered so that the tree can split.
  • Linear discriminant analysis (MASS::lda): discriminant scores and coefficients, a classification cross-validated by groups, and posterior probabilities.
  • k-means: clusters on the scaled variables, with silhouettes and the choice of k. Groups → variable makes the clusters a qualitative variable of the project.
  • Like the other models, these analyses have a Methods text, export tables, a PDF or Word report and an Export to R, checked against Nuée's results before it is written. Trees and LDA predict test sets and new observations.
  • Additive mixed models: a GAM or GLM with random effects and an autocorrelation in time (CAR1) is fitted by mgcv::gamm.
    • The autocorrelation can run within a finer level than the last random effect: the sector within its site.
    • Each curve can be given its basis dimension (k).
  • A curve's thresholds: the Effects view shows a curve's effect and slope with 95 % simultaneous bands (2000 draws of the coefficients), and the ranges where the slope clearly rises or falls. They are also in the report and in Export to R.
  • Concurvity of each curve in an additive model's Summary.
  • Group variables: group_mean(x, sector) and group_deviation(x, sector) in a New variable formula (moyenne_groupe, ecart_groupe in French).
  • Imputation of missing values: regularized iterative PCA, as missMDA::imputePCA does. The number of components is chosen by generalized cross-validation of the standardized variables.
  • Fixes:
    • Edit model keeps the blocks and modifiers of cross terms.
    • The one-click update now updates an all-users installation outside Program Files in place, instead of installing a second copy.

The full list is in Aide › Quoi de neuf and CHANGELOG.md.

Checksum

SHA-256 of Nuee-Setup-0.9.3.exe:
e2e32ebf2561f67480b36b3ed095647c5c80ac107188b511f149924959784169