StatsFuns vs Distributions

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

StatsFuns vs Distributions

Boylan, Ross
These packages seem to have a lot of overlapping functionality.  Could anyone explain what's going on?

https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ seems to say that StatsFuns is for lower level numerical stuff, but as a user it seems odd.  Also, that post says that Distributions will depend on StatsFuns, but I just installed Distributions on 0.4 and it doesn't seem to have such a dependency.

Thanks.
Ross Boylan

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: StatsFuns vs Distributions

John Myles White
https://github.com/JuliaStats/Distributions.jl/blob/b67be4023ccdab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6

On Tuesday, May 3, 2016 at 8:40:45 PM UTC-7, Boylan, Ross wrote:
These packages seem to have a lot of overlapping functionality.  Could anyone explain what's going on?

<a href="https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ&#39;;return true;">https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ seems to say that StatsFuns is for lower level numerical stuff, but as a user it seems odd.  Also, that post says that Distributions will depend on StatsFuns, but I just installed Distributions on 0.4 and it doesn't seem to have such a dependency.

Thanks.
Ross Boylan

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: StatsFuns vs Distributions

Boylan, Ross
Thank you.  I see the dependency; I was misled because when I added the package there weren't any messages about installing StatsFuns.  I thought that meant it wasn't necessary; what it actually meant was that StatsFuns was already installed.

I still find the split of distribution related functions across the two packages odd.  In general, should I start with Distributions?  For example, it looks as if StatsFuns.betapdf(a, b, x) and
Distributions.pdf(Distributions.Beta(a, b), x) are two ways to get the same value.

Ross

From: [hidden email] [[hidden email]] on behalf of John Myles White [[hidden email]]
Sent: Wednesday, May 04, 2016 8:40 AM
To: julia-stats
Subject: [julia-stats] Re: StatsFuns vs Distributions

https://github.com/JuliaStats/Distributions.jl/blob/b67be4023ccdab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6

On Tuesday, May 3, 2016 at 8:40:45 PM UTC-7, Boylan, Ross wrote:
These packages seem to have a lot of overlapping functionality.  Could anyone explain what's going on?

https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ seems to say that StatsFuns is for lower level numerical stuff, but as a user it seems odd.  Also, that post says that Distributions will depend on StatsFuns, but I just installed Distributions on 0.4 and it doesn't seem to have such a dependency.

Thanks.
Ross Boylan

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: StatsFuns vs Distributions

John Myles White
You should always use Distributions.

On Wednesday, May 4, 2016 at 6:40:20 PM UTC-7, Boylan, Ross wrote:
Thank you.  I see the dependency; I was misled because when I added the package there weren't any messages about installing StatsFuns.  I thought that meant it wasn't necessary; what it actually meant was that StatsFuns was already installed.

I still find the split of distribution related functions across the two packages odd.  In general, should I start with Distributions?  For example, it looks as if StatsFuns.betapdf(a, b, x) and
Distributions.pdf(Distributions.Beta(a, b), x) are two ways to get the same value.

Ross

From: [hidden email] [[hidden email]] on behalf of John Myles White [[hidden email]]
Sent: Wednesday, May 04, 2016 8:40 AM
To: julia-stats
Subject: [julia-stats] Re: StatsFuns vs Distributions

<a href="https://github.com/JuliaStats/Distributions.jl/blob/b67be4023ccdab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJuliaStats%2FDistributions.jl%2Fblob%2Fb67be4023ccdab985dce8bd7536722cf257ee8a6%2Fsrc%2FDistributions.jl%23L6\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeOLsTyfftfOUqy8RJc88RMJj1cw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJuliaStats%2FDistributions.jl%2Fblob%2Fb67be4023ccdab985dce8bd7536722cf257ee8a6%2Fsrc%2FDistributions.jl%23L6\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeOLsTyfftfOUqy8RJc88RMJj1cw&#39;;return true;">https://github.com/JuliaStats/Distributions.jl/blob/b67be4023ccdab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6

On Tuesday, May 3, 2016 at 8:40:45 PM UTC-7, Boylan, Ross wrote:
These packages seem to have a lot of overlapping functionality.  Could anyone explain what's going on?

<a href="https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ&#39;;return true;">https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ seems to say that StatsFuns is for lower level numerical stuff, but as a user it seems odd.  Also, that post says that Distributions will depend on StatsFuns, but I just installed Distributions on 0.4 and it doesn't seem to have such a dependency.

Thanks.
Ross Boylan

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: StatsFuns vs Distributions

Andreas Noack
I regret that StatsFuns.jl was created. I fully agree that it's confusing and I think that Distributions has the better API. We should seriously consider merging the two packages again.

On Sat, May 7, 2016 at 11:39 AM, John Myles White <[hidden email]> wrote:
You should always use Distributions.


On Wednesday, May 4, 2016 at 6:40:20 PM UTC-7, Boylan, Ross wrote:
Thank you.  I see the dependency; I was misled because when I added the package there weren't any messages about installing StatsFuns.  I thought that meant it wasn't necessary; what it actually meant was that StatsFuns was already installed.

I still find the split of distribution related functions across the two packages odd.  In general, should I start with Distributions?  For example, it looks as if StatsFuns.betapdf(a, b, x) and
Distributions.pdf(Distributions.Beta(a, b), x) are two ways to get the same value.

Ross

From: [hidden email] [[hidden email]] on behalf of John Myles White [[hidden email]]
Sent: Wednesday, May 04, 2016 8:40 AM
To: julia-stats
Subject: [julia-stats] Re: StatsFuns vs Distributions

https://github.com/JuliaStats/Distributions.jl/blob/b67be4023ccdab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6

On Tuesday, May 3, 2016 at 8:40:45 PM UTC-7, Boylan, Ross wrote:
These packages seem to have a lot of overlapping functionality.  Could anyone explain what's going on?

https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ seems to say that StatsFuns is for lower level numerical stuff, but as a user it seems odd.  Also, that post says that Distributions will depend on StatsFuns, but I just installed Distributions on 0.4 and it doesn't seem to have such a dependency.

Thanks.
Ross Boylan

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: StatsFuns vs Distributions

John Myles White
I would support that change.

On Wednesday, May 11, 2016 at 5:01:21 PM UTC-7, Andreas Noack wrote:
I regret that StatsFuns.jl was created. I fully agree that it's confusing and I think that Distributions has the better API. We should seriously consider merging the two packages again.

On Sat, May 7, 2016 at 11:39 AM, John Myles White <[hidden email]> wrote:
You should always use Distributions.


On Wednesday, May 4, 2016 at 6:40:20 PM UTC-7, Boylan, Ross wrote:
Thank you.  I see the dependency; I was misled because when I added the package there weren't any messages about installing StatsFuns.  I thought that meant it wasn't necessary; what it actually meant was that StatsFuns was already installed.

I still find the split of distribution related functions across the two packages odd.  In general, should I start with Distributions?  For example, it looks as if StatsFuns.betapdf(a, b, x) and
Distributions.pdf(Distributions.Beta(a, b), x) are two ways to get the same value.

Ross

From: [hidden email] [[hidden email]] on behalf of John Myles White [[hidden email]]
Sent: Wednesday, May 04, 2016 8:40 AM
To: julia-stats
Subject: [julia-stats] Re: StatsFuns vs Distributions

<a href="https://github.com/JuliaStats/Distributions.jl/blob/b67be4023ccdab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJuliaStats%2FDistributions.jl%2Fblob%2Fb67be4023ccdab985dce8bd7536722cf257ee8a6%2Fsrc%2FDistributions.jl%23L6\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeOLsTyfftfOUqy8RJc88RMJj1cw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJuliaStats%2FDistributions.jl%2Fblob%2Fb67be4023ccdab985dce8bd7536722cf257ee8a6%2Fsrc%2FDistributions.jl%23L6\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeOLsTyfftfOUqy8RJc88RMJj1cw&#39;;return true;">https://github.com/JuliaStats/Distributions.jl/blob/b67be4023ccdab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6

On Tuesday, May 3, 2016 at 8:40:45 PM UTC-7, Boylan, Ross wrote:
These packages seem to have a lot of overlapping functionality.  Could anyone explain what's going on?

<a href="https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ&#39;;return true;">https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2cXRc3ZwJ seems to say that StatsFuns is for lower level numerical stuff, but as a user it seems odd.  Also, that post says that Distributions will depend on StatsFuns, but I just installed Distributions on 0.4 and it doesn't seem to have such a dependency.

Thanks.
Ross Boylan

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: StatsFuns vs Distributions

Milan Bouchet-Valat
Le dimanche 15 mai 2016 à 20:54 -0700, John Myles White a écrit :
> I would support that change.
+1


> > I regret that StatsFuns.jl was created. I fully agree that it's
> > confusing and I think that Distributions has the better API. We
> > should seriously consider merging the two packages again.
> >
> > On Sat, May 7, 2016 at 11:39 AM, John Myles White <johnmyleswhite@g
> > mail.com> wrote:
> > > You should always use Distributions.
> > >
> > >
> > > > Thank you.  I see the dependency; I was misled because when I
> > > > added the package there weren't any messages about installing
> > > > StatsFuns.  I thought that meant it wasn't necessary; what it
> > > > actually meant was that StatsFuns was already installed.
> > > >
> > > > I still find the split of distribution related functions across
> > > > the two packages odd.  In general, should I start with
> > > > Distributions?  For example, it looks as if
> > > > StatsFuns.betapdf(a, b, x) and
> > > > Distributions.pdf(Distributions.Beta(a, b), x) are two ways to
> > > > get the same value.
> > > >
> > > > Ross
> > > > From: [hidden email] [[hidden email]
> > > > m] on behalf of John Myles White [[hidden email]]
> > > > Sent: Wednesday, May 04, 2016 8:40 AM
> > > > To: julia-stats
> > > > Subject: [julia-stats] Re: StatsFuns vs Distributions
> > > >
> > > > https://github.com/JuliaStats/Distributions.jl/blob/b67be4023cc
> > > > dab985dce8bd7536722cf257ee8a6/src/Distributions.jl#L6
> > > >
> > > > > These packages seem to have a lot of overlapping
> > > > > functionality.  Could anyone explain what's going on?
> > > > > https://groups.google.com/d/msg/julia-stats/nOObNwKM1b8/5mN2c
> > > > > XRc3ZwJ seems to say that StatsFuns is for lower level
> > > > > numerical stuff, but as a user it seems odd.  Also, that post
> > > > > says that Distributions will depend on StatsFuns, but I just
> > > > > installed Distributions on 0.4 and it doesn't seem to have
> > > > > such a dependency.
> > > > > Thanks.
> > > > > Ross Boylan
> > > > >
> > > > -- 
> > > > You received this message because you are subscribed to the
> > > > Google Groups "julia-stats" group.
> > > > To unsubscribe from this group and stop receiving emails from
> > > > it, send an email to [hidden email].
> > > > For more options, visit https://groups.google.com/d/optout.
> > > >

--
You received this message because you are subscribed to the Google Groups "julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.