News for hackers. Stuff that matters.
Re:Show HN: Coinmarketcap replacement with free JSON API by cryptoplot on Friday December 07, 2018 @09:12AM (#18627758)
Indeed, the median works better in general, even on degenerate distributions. The Cauchy distributions has no defined mean, but still has a median.

We need to upgrade the FAQ to be more specific with the methods we use.

To be quick: The price come from many exchange. We exclude suspicious points. Then we do aggregation function like the average.

Averaging may not technically be the best method, but it is simple, and it has a wide support. And with the number of data points we have, we assume the Law of Large Number apply.

Still it could be interesting to use the median. I need to think more about it.

Re:Show HN: Coinmarketcap replacement with free JSON API by DINKDINK on Friday December 07, 2018 @05:41PM (#18632370)
>we assume the Law of Large Number apply

Null hypothesis mandates you make no such assumption. Even if you did, a gaussian distribution assumes variable independence which markets are most certainly not. Even still if the variables were independent, you surely don't have enough samples of prices to report an accurate mean.

Re:Show HN: Coinmarketcap replacement with free JSON API by cryptoplot on Friday December 07, 2018 @11:33PM (#18633945)
Agreed. We should not make such assumptions, because the number of exchanges is still quite low.

But you would be surprised to know how many samples we have at any moment!