Getting a percentage table from a dataframe A reviewer asked me to: 1) As I said earlier, there should be some data on the countries of origin of the immigrant population. Most readers have no idea who actually moves to Denmark. At the very least, there should be basic information like “x% of the immigrant […]

Martin Gardner is 100 today. 1³+2³+3³+4³ = 100 = (1+2+3+4)². Does the sum of the first numbers cubed always equal the square of their sum? — Matt Parker (@standupmaths) October 21, 2014 R can tell us: DF.numbers = data.frame(cubesum=numeric(),sumsquare=numeric()) #initial dataframe for (n in 1:100){ #loop and fill in   DF.numbers[n,”cubesum”] = sum((1:n)^3)   DF.numbers[n,”sumsquare”] […]

So I found a textbook for learning both elementary statistics much of which i knew but hadnt read a textbook about, and for learning R. health.adelaide.edu.au/psychology/ccs/teaching/lsr/ book is free legally www.goodreads.com/book/show/18142866-learning-statistics-with-r Numbers refer to the page number in the book. The book is in an early version (“0.4”) so many of these are small errors […]

quod.lib.umich.edu/g/genpub/AGE2118.0001.001?view=toc Due to this book repeatedly coming up in conversation regarding the super smart people, it seems to be worth reading. It is really old, and should obviously be out of copyright (thanks Disney!), however it possibly isn’t and in any case I couldn’t find a useful PDF. I did however find the above. Now, […]