Repository navigation
statistics-2.1.1
A maintenance release: agreement statistics, feature selection with relieff and sequentialfs, posterior probabilities for SVM classifiers, the Ryan-Joiner normality test, and iteration limits as in MATLAB across the fitting functions.
Requires Octave >= 11.1.0 and datatypes 1.5.0 or newer, as 2.0.0 did.
Standing notice, unchanged since 1.9.0. The nan and the tablicious packages are incompatible with this one.
Incompatible changes. Code calling these functions must be checked:
lassoglmdivides its loss by the total number of binomial trials, as MATLAB does, so a fit with more than one trial per row gives different coefficients at a given Lambda;'Size'is renamed'BinomialSize', and'Size'stays as an alias.lassoandlassoglmtake'Weights'with one element per row ofX; a vector already shortened to the rows withoutNaN, and integer, logical, complex or infinite weights, raise an error (#534).friedman'sKendallsWCIbounds the concordance beyond chance, where it bounded the expected value of Kendall's W and could exclude W itself.anovanreturnsstats.varnamesas a column, as MATLAB does.
New functions.
cohenKappaandfleissKappafor agreement between two or several raters,limitsOfAgreementandblandAltmanPlotfor the Bland-Altman limits of agreement. MATLAB has none of them.relieffandsequentialfsfor feature selection, matching MATLAB.fitSVMPosteriorand the SVM classifiers'fitPosterior, giving posterior probabilities frompredict, matching MATLAB.rjtest, the Ryan-Joiner test of normality, as in MATLAB R2026b.
Fixes.
kmeansstopped by'MaxIter'returned centroids that were not the means of its clusters;glmfitran one iteration fewer than MATLAB;fitgmdistreturned the parameters of one step past the likelihood it reported;kmedoids'pam'took one swap per iteration.nnmf,tsne,fitgmdistandglmfitfailed with a'MaxIter'of 0.lassoglmhung when every response was at the edge of its range, and took a'Size'vector of any length;lassoandlassoglmrefused a full weight vector whenXorYheldNaN(#534).fitcnbfailed on a class with prior 0, andfitcknncould predict one.isoutlierrefused a'ThresholdFactor'of 0 (#536), and gave rounded thresholds for an integer one.
Improvements. The classifiers remove a class with prior 0 before fitting, as MATLAB does, and five more take 'Cost' as a structure; crosstab takes 'IncludeMissingGroups' (#535) and a single input; lassoglm takes a two-column, logical or categorical binomial Y; kmeans takes 'Options'; statset accepts a 'TolFun', 'MaxIter' or 'MaxFunEvals' of 0; anovan takes 'varnames' as a character matrix.
Every change is listed in NEWS.