Repository navigation
Nuée 0.9.7
Models that follow the design of a monitoring study: qualitative variables in cross terms, adjusted means and pairs of levels, a curve per category, random slopes, a model's observations chosen by a condition; columns added from another table and tables summarized by group; coefficients side by side, trend tests for autocorrelated and seasonal series, diversity indices and the power to detect a trend.
Install
Windows
- Download Nuee-Setup-0.9.7.exe below.
- 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.
- 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.7-amd64.deband runsudo apt install ./Nuee-0.9.7-amd64.deb. apt brings R and the R packages Nuée needs. - Other distributions: use
Nuee-0.9.7-x86_64.AppImage(needslibfuse2) orNuee-0.9.7-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.
- Install R and its packages first:
- Older R: Nuée uses the computer's R. With an R older than 4.4 (Ubuntu 22.04 and 24.04, Debian 12),
.rdsand.RDatafiles don't open, because reading one could run code (CVE-2024-27322).
New in 0.9.7
- Qualitative variables in cross terms: a regression (linear, mixed, GLM, GAM) takes cross terms with a qualitative variable, in the Cross terms tab or as
a * bin the R formula.year × sectorlets the year's slope change from one sector to another;habitat × treatment, a treatment's effect from one habitat to another.- The coefficients are those of
lm,nlmeandmgcvwith the same reference category. Without the year's main effect (sector + year:sector), each coefficient is a sector's slope. - The Effects view draws one line (or curve) per category, with the table of slopes. The AIC selection, the contributions and the nested models take a cross term in or out whole, with its main effects.
- Adjusted means and pairs of levels: Plots › Adjusted means gives each category's mean adjusted for the model's other terms, with its 95 % interval, and every pair of categories, corrected by Tukey or Holm, as the emmeans package computes them.
- With a cross term: the pairs within each level of the other variable, or the year's slopes per category and their pairs.
- With a log or logit link, on the response's scale (ratios, odds ratios). A sentence ready for a report, the Methods text and Export to R.
- A curve per category in a GAM:
s(year, by = sector), each curve with its edf, test, effect and thresholds, inmgcv::gamandmgcv::gammwith CAR1. - Random slopes:
(1 + year | site), each site its own trend around the fixed slope, with the slope's variance, its correlation with the intercept and Johnson's (2014) R²; with CAR1, and in mgcv's GLMMs. A singular fit, such as an uncentred year's, is flagged. - A model's observations chosen by a condition: New model › Observations › "Keep only the observations where…" (
year >= 2010 & site != "S2"), for every type of model. It is kept with the model, evaluated again at each fit, given in the Summary, the Methods text and Export to R, and read without being run. - Add columns from a table: Edit › Add columns from a table… joins another file's columns (the sites' habitat and altitude, the weather by year) by a key of one or more columns. Repeated keys are refused, unmatched observations listed; Ctrl+Z removes them.
- Summarize by group: Edit › Summarize by group… makes a new project with one row per group (sector and year), with the mean, sum, median, minimum, maximum, standard deviation or count of the variables chosen.
- Coefficients side by side: Prediction › Compare models puts several regressions in columns, a row per term, then n, AIC, R², the random effects, φ and the curves' edf; Ctrl+C copies it as a table for Word or Excel.
- Trend tests: in Plots › Series › Trends, Hamed and Rao's (1998) test for autocorrelated series, and the seasonal Kendall test (Hirsch, Slack and Smith, 1982) for samples taken several times a year.
- Diversity indices:
richness(),shannon(),simpson()andpielou()in New variable formulas, over species columns (shannon(Ablette:Vandoise)), as vegan computes them. - Trend power: Plots › Trend power says how many years it takes to detect a trend (per year, or in % per year) with this many sites counted every year, from a linear or mixed model's variances (CAR1 included), with a simulation that checks it.
- Changes and fixes:
- A category a regression didn't see in its fit (absent from its observations, or from the training groups in cross-validation, as sectors validated by site) was predicted as the reference category, without a word. It gets no prediction now, and those rows are counted and explained; Q2 can change from 0.9.6.
- In Block contributions (AIC), a main effect now leaves with the cross terms that contain it, so the ΔAIC of a model with cross terms change from 0.9.6.
- In Export to R, a name from the project (a variable, a model, a file…) that held a line break could break out of a comment of the script and run when the script was run. Such names are now written on a single line; this matters for a project received from someone.
- A change the engine refused (a New variable formula that doesn't compute) no longer leaves an empty step for Ctrl+Z.
The full list is in Aide › Quoi de neuf and CHANGELOG.md.
Checksum
SHA-256 of Nuee-Setup-0.9.7.exe:
214db1f1131549f5e4aeefcdeac5eb93a215f24f466e7e9da13174516afe6fa2