Skip to content
Nuée

Guide

.usp projects

File history

For a project from a .usp file, the explorer shows "File history": the log stored in the file (creation, working-set changes, number of components, deleted models...), with the date, the software version and the user. Right-click on an imported model › Model history: only what concerns it.

What matches the stored values (checked on 944 models from 133 .usp projects)

Scaling, R2X, R2Y, scores, loadings, eigenvalues, T2 and its limit, DModX (plain and weighted) and DCrit, VIP, coefficients, RMSEE.

The models of a file are fitted as the software that wrote it fits them: with missing values, NIPALS sometimes converges very slowly, doesn't converge or has several solutions, and it stops there as that software does (a relative change of 1e-5, 200 iterations at most), starts from the same column and validates each component starting from the full model. So 805 PLS models out of 809 of the test corpus, and the 403 PLS models of the 2003 projects, give back their fit and their Q2; the models Nuée fits itself keep its precision (1e-10).

What differs

  • Q2 (and what comes from the cross-validation: Q2 per variable, RMSEcv, CV-ANOVA, the cross-validated classification, confidence intervals): by default, Nuée predicts each group by a model fitted without it, its centres recomputed (see "Cross-validation"); the stored values come from a validation done with the centring and scaling of all the observations. Median difference from the stored Q2(cum), over the test corpus: 0.003 for PLS models with over 200 observations, 0.01 from 50 to 200, 0.10 from 20 to 50, 0.22 below, Nuée's Q2 being nearly always lower; 0.04 for PCA. With groups by an ID (a site, a sector), the difference is larger: the model fitted without a site doesn't know that site's mean level either. Validated with "Full model's centres and weights", the stored Q2 comes back exactly, groups by ID included: 805 PLS models out of 809 of the test corpus (220 out of 220 without missing data; the other four are those of a project whose fit differs, below), 441 out of 443 of four real projects (moteur/tests/verifier_references.R), where the other two have a round without any variation, whose stored value comes from rounding errors. For a PCA, it is off by 0.02 in median: the details of the files' validation aren't published.
  • A version 11 project: its four PLS models, whose single Y has missing values. Their software counts the observations without y in the X weights, as if their Y residuals were ±0.99, which no rule found explains; R2 and Q2 are up to 0.04 off.
  • Sign of the components of new models: arbitrary (imported models are oriented as in the file).
  • Dendrograms: exact Ward method; the merges at the top of the tree may differ from those of the stored tree.
  • Automatic fitting: the published rules, applied to Nuée's Q2, may choose another number of components; for PCA, the exact limit used in the files isn't published.
  • VIP cut-off (step around 0.8): the application's own method.
  • Confidence intervals of the VIPs of a model with two components or more (the VIPs themselves are the same): those of the program that wrote the file weight the components of each cross-validation round in a way that isn't published; with one component, they are the same.
  • OPLS / OPLS-DA: no stored model to compare with (see above).
  • Suggested transformation: the published rule doesn't say whether both skewness and Min/Max are needed; the application requires both.

This page is part of the guide installed with Nuée (USER-GUIDE.txt, also in Help › User guide).