Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Love this (and all of Preet’s work).

Made a statistics visual awhile back using roughjs[0], seems like the perfect setting with which to add roughnotation :)

[0] https://www.jwilber.me/permutationtest/



That's beautiful.


You know, it's funny that presumably this explanation of the permutation test is intended for people with very little / no knowledge of statistics.

And yet, I still don't get it. Like, at all. I feel like I'd make a very bad data scientist ;)


The first measurement made (between the red and blue groups) shows a difference between the average wool quality of the two groups. Since the members were selected at random, you might conclude that the new shampoo is working because, what are the odds that you just picked all the good alpacas at random? That's what we're checking.

For several permutations of different groups (each group is a new random slection of alpacas so a mix of blue and red alpacas) take the same measurement (average of group a - average of group b)

Count the number of times that the difference was as good or better as your original measurement and you will find out the odds that being in your treatment group made a difference. (If random groupings show similar measurements then it means it's more likely that your specific treatment/control group did nothing).


And now I get it. That's all the explanation I needed. Thank you :)


I like your work too!


awesome




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: