lindeloev / tests-as-linear

Common statistical tests are linear models (or: how to teach stats)
https://lindeloev.github.io/tests-as-linear/
488 stars 92 forks source link

Add explaination of rank() to text #9

Closed kaspermarstal closed 5 years ago

kaspermarstal commented 5 years ago

Thanks for this great resource! In the section on Pearson Correlation, what is rank(x)? Did I miss it? If not, I suggest to elaborate on this in the text as I am probably not the only one with this question. Awesome work!

lindeloev commented 5 years ago

Great idea/catch. Will do that, or at least link to a pedagogical resource. I'm hoping to do it before the weekend is over.

lindeloev commented 5 years ago

I just added some theory on ranks. Let me know what you think.