Andreas Noack

Results 344 comments of Andreas Noack

I don't really see how we could do better here. Scaling a degenerate distribution to unit variance is not really possible. In numerical terms that just means you get maximum...

> I think scikit-learn tries to fix std from 0 to 1 That's a pretty significant discontinuity to introduce at zero and the result definitely doesn't have unit variance. @maximsch2...

@simonbyrne Wouldn't a fancy mean be much slower? Checking that all the values in a vector are identical (which indeed is not what `allunique` does) should be really cheap.

> Here's towards making julia stats more usable.... Did you intend to add more? It would be useful with a more detailed description of what would be required here. That...

To me, this seems like complicating the code with very limited practical benefit. Introducing new types always has some overhead and I don't really see the benefit in this case....

I'm well aware that you do a lot of work with histograms so my questions was more if you could give an example that could help me understand a situation...

Might be a good fit for a separate package. That would also allow for defining L-moments for Distributions.

This is on purpose. I think it is the standard thing to do, e.g. it is the estimator in Brockwell and Davis and it is what R does. Notice that...

What is the data generating process and what is the sample size in those examples?

I think the existing version is fine. Separately from that, I also think this should be implemented with division instead of multiplication with the inverse.