Re: statistics functions

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: statistics functions

On 01/08/2018 05:36 AM, [hidden email] wrote:
Re: Release 4.4.0 and statistics package
Julien Bect [hidden email]
01/08/2018 02:04 AM
[hidden email]
[hidden email]
[hidden email] <MTAwMDAwNy5ub21hZA.1514392550@quikprotect> [hidden email] <MTAwMDAzMy5ub21hZA.1514418407@quikprotect> <20171228132956.GA23403@till> <MTAwMDAzOC5ub21hZA.1514478398@quikprotect> <20171228174833.GB24810@till> [hidden email] <MTAwMDAxNC5ub21hZA.1515105591@quikprotect> <20180107173343.GA7544@till> <MTAwMDAwOS5ub21hZA.1515374679@quikprotect> [hidden email] [hidden email]
[hidden email]
[hidden email]
text/plain; charset=windows-1252; format=flowed

Le 08/01/2018 à 09:39, Daniel J Sebald a écrit :
On 01/08/2018 01:55 AM, Julien Bect wrote:
Le 08/01/2018 à 02:24, Rik a écrit :
Many thanks for that work.  I removed most of the functions from the core
in this cset (
Most of the work was actually re-writing the Statistics chapter of the
manual to make sense again.

What about functions such as mean, median, mode, std, var ?

In Matlab they belong to "Matlab core", not to the Statistic& & ML toolbox:,

which means that now, some programs that run on Matlab without any dependency will not run on Octave unless the statistics package is loaded...

Just my two cents, sorry if this has been discussed before...

I also didn't quite understand that statistics function discussion.  It sounded like any stats-related functions would be moved to the statistics package.  But I've pulled the latest code and it looks like the routines such as var.m, corr.m, etc. have simply been moved to ./scripts/statistics/ directory.  I think the title of the changeset is a bit misleading in that it suggests all routines were removed when it was only the non-common ones that were removed; "(re)move" might have suggested it wasn't that simple.

Ok, my bad.  I misunderstood Rik's commit message.

Yes, these functions were moved from ./scripts/statistics/base to ./scripts/statistics, so they're still in Octave cor, everythng is fine.

Sorry for the noise.

Yes, as you've found Octave has retained a core set of generally useful statistics functions.  In fact, we support a few more like iqr and discrete and empirical distributions that Matlab doesn't provide to ordinary users.  When I have the time (i.e., within a few months) I plan to add bounds() and mad() as these are good general purpose measures of dispersion as well.