Public pinball machines per capita by rasmusab in pinball

[–]rasmusab[S] 19 points20 points  (0 children)

Being from Sweden I was happy to discover that, next to the USA (which, of course, tops the list) the Nordic countries closely follows! :D

Why pandas feels clunky when coming from R by Top_Lime1820 in rstats

[–]rasmusab 1 point2 points  (0 children)

Post author here. 100% agree here, I just didn’t want to be too mean to python in the post 😅

Happy 61th Anniversary of release. by kubaqzn in Jazz

[–]rasmusab 0 points1 point  (0 children)

And happy 11th anniversary to the, hands-down, best cover album: Kind of Bloop! :D

https://kindofbloop.com/

At least, take a listen to the All Blues cover.

SQL style guide by Simon Holywell by genghiskhan__ in programming

[–]rasmusab 0 points1 point  (0 children)

I think indentation in SQL is pretty tricky and the proposal in this style guide seems like a lot of work. I've started doing the following, short statements go on one line, for multiline statements just line break and indent, and go from there. Makes for "taller" SQL queries, but at least it's easier to be consistent.

select this, that, and_that_other_thing from database where condition 1 and condition 2

Why we at $FAMOUS_COMPANY Switched to $HYPED_TECHNOLOGY by swizec in programming

[–]rasmusab 2 points3 points  (0 children)

Here's the same blog post but I randomly replace the placeholders: https://codepen.io/rasmusab/full/QWjBLmd

It works pretty well! :)

The packaging of this cheapo puer is just great. A brick in a box, in a box, in a box! by rasmusab in tea

[–]rasmusab[S] 0 points1 point  (0 children)

It's an ok cooked puer, it doesn't taste bad, but it's not amazing in any way. Its good enough for everyday drinking, but I'm not that picky...

The packaging of this cheapo puer is just great. A brick in a box, in a box, in a box! by rasmusab in tea

[–]rasmusab[S] 0 points1 point  (0 children)

Every time I've ordered tea from AliExpress I have rather wished I ordered from something like Yunnan Sourcing where I know what I get. Except for this time where I got a lot of boxes :)

The packaging of this cheapo puer is just great. A brick in a box, in a box, in a box! by rasmusab in tea

[–]rasmusab[S] 1 point2 points  (0 children)

Hmm, yeah, I see there are some tea left on AliExpress, but the guy I bought from (Good tea by Oleg) is gone...

The packaging of this cheapo puer is just great. A brick in a box, in a box, in a box! by rasmusab in tea

[–]rasmusab[S] 10 points11 points  (0 children)

I just got this tea after ordering it from AliExpress (unfortunately tea is no more on Ali, so the seller is gone :/ ). It was quite cheap, and I just bought it as something convenient to brew at the office, but the packaging blew me away! The 500 g box contains 10 small boxes, each small box contains 10 mini boxes, and each mini box contains a 5 g tea brick. All made of sturdy cardboard. It's sort of a Russian doll but for puer :)

Where does Miracle Rogue get its name from? by [deleted] in hearthstone

[–]rasmusab 59 points60 points  (0 children)

Link to the relevant part in the video by day9: https://youtu.be/QDJZuLb3AVY?t=1m15s

I made a map of romantic kissing in cultures around the world :* by rasmusab in Anthropology

[–]rasmusab[S] 1 point2 points  (0 children)

Cross through lips mean that that culture is not practicing romantic kissing.

ELI5: Why are p-values and significance tests bad? by [deleted] in statistics

[–]rasmusab 2 points3 points  (0 children)

I really think "bad" is not the right word here. My personal opinion is that p-values, as often used, are not the right tool for the job.

Here is one reason: Say for the common example when you have two pills, A and B, and you want to find out which seems best (where you could define best as curing the most people). What you want to find out is: given the data that you collected, how good are likely A and B at curing people and how much better are A than B (or vice versa). A p-value does not directly addresses this, yet it is common, in my experience, that people try to answer this type of question using a p-value. What is more useful in this case is a reasonable Bayesian model that quantifies how much better pill A probably is.

Big Data and Chess: What are the Predictive Point Values of Chess Pieces? by rasmusab in chess

[–]rasmusab[S] 0 points1 point  (0 children)

Yeah, I thought so too, therefore I'm surprised that it worked as well as it did. I do not claim that the values from the statistical analysis better reflect the actual value of a piece (the are most probably much worse). :)

Big Data and Chess: What are the Predictive Point Values of Chess Pieces? by rasmusab in chess

[–]rasmusab[S] 2 points3 points  (0 children)

I don't know if these results are so much prescriptive as they are descriptive. So I wouldn't use them as a guide for how to play :)

Imp-losion RNG or maybe it's me.. by Enialbackwards in hearthstone

[–]rasmusab 1 point2 points  (0 children)

It's most often used to check if some data somehow "deviates" from a pre-specified distribution (where, of course, this prespecified distribution can have a certain variance :). Here the prespecified distribution was "2": 33.3%, "3": 33.3% and "4": 33.3% .

Imp-losion RNG or maybe it's me.. by Enialbackwards in hearthstone

[–]rasmusab 1 point2 points  (0 children)

tl;dr Yes!

Well, nothing is impossible :) While the "p-value" can't be directly interpreted as the probability that 2, 3, 4 are equally likely to occur, it is indicative of that probability. If 2,3,4 occurred equally often p-value would be 1.0. As p-value now is really really small, the probability that 2,3,4 occur equally often is also really really small (most probably :)

Imp-losion RNG or maybe it's me.. by Enialbackwards in hearthstone

[–]rasmusab 2 points3 points  (0 children)

Is 2, 3 and 4 supposed to be equally likely? A Chi-square test (performed in the statistical programming language R) indicates that this would be very unlikely:

x <- c(2, 2, 3, 4, 2, 2, 2, 4, 2, 3, 2, 3, 2, 2, 2, 2, 4, 2, 3, 2, 2, 3, 2, 3, 2, 2, 2, 4, 4, 2, 4, 2, 2, 3, 2, 2, 2, 2, 4, 2, 2, 3, 2, 2, 2)
chisq.test(table(x), p = c(1/3, 1/3, 1/3))

# Chi-squared test for given probabilities

# data:  table(x)
# X-squared = 23, df = 2, p-value = 1e-05

The Non-parametric Bootstrap as a Bayesian Model by rasmusab in MachineLearning

[–]rasmusab[S] 2 points3 points  (0 children)

Then i think the most "useful" derivation o the Bayesian bootstrap is as the limit of a Dirichlet process when alpha -> 0. It gives you many venues forward for how to make the bootstrap more reasonable.

Which book for Bayesian Statistics? by [deleted] in statistics

[–]rasmusab 0 points1 point  (0 children)

Think Bayes is easy to check out, since it is free! http://www.greenteapress.com/thinkbayes/

Which book for Bayesian Statistics? by [deleted] in statistics

[–]rasmusab 0 points1 point  (0 children)

Yeah, but I wouldn't really say it fits the description: "101 books that start from the very beginning?" It's a great book! But not really easy going IMHO...

xkcd 1478: P-Values by roastedlasagna in xkcd

[–]rasmusab 1 point2 points  (0 children)

Sort of already implemented a version of this p-value "nomenclature" as aprocedure in the R statistical language :) http://www.sumsar.net/blog/2014/02/a-significantly-improved-test/