Category Archives: R statistics

Stata gets a markdown package… will try this in coming weeks

Rigorous documentation of the analysis plan, procedure, and computer codes enhances the comprehensibility and transparency of data analysis. Documentation is particularly critical when the codes and data are meant to be publicly shared and examined by the scientific community to … Continue reading

Posted in R statistics

Non-citizens voting? Wonderful straightforward analysis from Ansolabehere, Luks, and Schaffner

Stepping back from the immediate question of whether the CCES in fact shows a low rate of voting among non-citizens, our analysis carries a much broader lesson and caution about the analysis of big databases to study low frequency characteristics … Continue reading

Posted in R statistics

Why use R instead of Excel or SPSS, for quantitative archaeology or any social science for that matter!

For a long time archaeologists had few options to deal with these problems because there were few alternative programs. The general alternative to using a point-and-click program is writing scripts to program algorithms for statistical analysis and visualisations. Writing scripts … Continue reading

Posted in R statistics

Something I need to remember…

reading a 100M csv file into R, read.csv takes 61s, and with read_csv in readr just 3s. That’s amazing. #rstats @hadleywickham a great job via Hadley Wickham (@hadleywickham) | Twitter.

Posted in R statistics

Microsoft to acquire Revolution Analytics

I’m very pleased to announce that Microsoft has reached an agreement to acquire Revolution Analytics. Revolution Analytics is the leading commercial provider of software and services for R, the world’s most widely used programming language for statistical computing and predictive … Continue reading

Posted in R statistics

Using quotes in local and global macros in Stata

For some reason I spent a lot of time yesterday doing this: turn a list of variables into a list with doublequotes for each variable, then separated by commas.  I confess I still do not really understand the logic of … Continue reading

Posted in R statistics

Coding Stata and listening to The Format, On the Porch, over and over…

Posted in R statistics