Sometimes doing elementary things in R is a pain

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…

Continue Reading

Is the summed cubes equal to the squared sum of counting integer series?

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”]…

Continue Reading

Comments on Learning Statistics with R

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…

Continue Reading

Ripping books from UMDL Text: Leta S. Hollingworth’s Gifted children, their nature and nurture

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,…

Continue Reading

Ripping threads from able2know forums

So, i thought that is a good idea to take a copy of all the interesting threads on varius forums, just in case they shut down. doing it manually is waste of time. so, i went coding and make a crawler. after spending a couple of hours, i have now made a crawler that reads…

Continue Reading

Review of python book and some other thoughts

It was mentioned by TechDirt in their reporting on an absurd copyright case (so, pretty normal).     The strange choice of the author to use identation to mark borders between paragrafs when indents are very important in python. He cud just have used newlines to do that.     The code is not easily…

Continue Reading