kirkegaard: Plot contingency table with ggplot2

This is a post in the on-going series about stuff in my package: kirkegaard [I’m not egocentric but since there is no central theme about the functions in the package other than I made and use them, there is nothing else to call it.] I figure it should be easy to find someone who wrote…

Continue Reading

New papers out! Admixture in the Americas

I forgot to post this blog post at the time of publication as I usually do. However, here it is. As explored in some previous posts, John Fuerst and I have spent about 1.25 years (!) producing a massive article: published version runs 119 pages; 25k words without the references; 159k characters incl. spaces. We…

Continue Reading

Is sharing the chorion important? (No)

In the comments on this SlateStarCodex post, someone is questioning my claim that sharing the chorion (what is that?) is unimportant: Emil: Uterine environment stuff is not important. We know this because of this study http://link.springer.com/article/10.1007/s10519-015-9745-3 and because ordinary siblings are about as similar as DZ twins who did share the uterus at the same…

Continue Reading

Making use of list-arrays in R

Quick recap of the main object types in R from Advanced R: homogeneous heterogeneous 1-d atomic vector list 2-d matrix data.frame n-d array ??? So, objects can either store only data of the same type or of any type, and they can have 1, 2 or any number of dimensions. Note that there is a…

Continue Reading

Correcting for n-level discretization?

When one has a continuous variable and then cuts it into bins (discretization) and correlates it with some other variable, the observed correlation is biased downwards to some extent. The extent depends on the cut-off value(s) used and the number of bins. Normally, one would use polychoric-type methods (better called latent correlation estimation methods) to…

Continue Reading