Repository navigation
statistics-2.0.0
A major release: the Octave-only hypothesis tests share one layout and report effect sizes with their confidence intervals, and repeated measures models, effect sizes for mean differences, drift detection and three chart objects arrive.
Requires datatypes 1.5.0 or newer, which changes how tables convert; see its release notes.
Requires Octave >= 11.1.0. pkg test statistics passes 20,700 of 20,700.
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:
-
chi2testandmcnemar_testreturn[h, p, stats], andztest2returns[h, p, ci, stats].p = chi2test (x)still runs but now returnsh. -
correlation_test,hotelling_t2testandhotelling_t2test2name their statistics instatsas MATLAB does:tstat,zval,CorrCoef,t2stat. -
regression_ftest (y, X, keep)fits both models itself; its former F statistic and degrees of freedom were wrong. -
bartlett_testandlevene_testare removed;vartestnruns both tests. -
The SVM's
KernelScaledivides the predictors and the polynomial kernel is(1 + u'v)^q, as in MATLAB, so every Gaussian, polynomial and sigmoid fit changes. -
jackknifereturns one row per jackknife sample, andlimereads predictors holding levels as MATLAB does. -
Effect sizes.
meanEffectSizegives Cohen's d, Glass's delta, Cliff's delta and four more, with exact or bootstrap intervals that match MATLAB's;gardnerAltmanPlotdraws them beside the data. The Octave-only tests, andranksum,signrank,kruskalwallisandfriedman, report effect sizes with their intervals instats. -
Repeated measures:
fitrmandRepeatedMeasuresModel, withranova,mauchly,epsilon,manova,multcompareand the sphericity corrections, over the new studentized range distribution (stdrcdfand its family). -
Two-sample and drift tests:
knntest,mmdtestanddetectdrift, withnomdistandnomdist2for nominal data. -
Charts:
heatmap,scatterhistogramandparallelplot, each returning an object whose properties redraw it. -
Accurate tails. P-values below 1e-16 are now computed across 35 functions and classes, where they were 0.
betainv,tinv,tcdfandfinvkeep their digits far into the tails:tinv (1e-6, 1)was -44721 where the quantile is -318310. -
Fixes.
chi2test's homogeneous and marginal models now agree with R.binotest's one-sided p-values were swapped.fitglmewith a normal response gave standard errors off by up to a factor of 53.correlation_test's rank tests failed.linkagecorrupted the tree onInforNaNdistances.nancov ([], [])returns a 2-by-2NaNmatrix, as in MATLAB.
Every change is listed in NEWS.