Publications by Daniel

Beautiful tables for linear model summaries #rstats

06.03.2015

Beautiful HTML tables of linear models In this blog post I’d like to show some (old and) new features of the sjt.lm function from my sjPlot-package. These functions are currently only implemented in the development snapshot on GitHub. A package update is planned to be submitted soon to CRAN. There are two new major features I added to this func...

5734 sym R (3445 sym/16 pcs) 4 img 12 tbl

CRAN download statistics of any packages #rstats

07.03.2015

Hadley Wickham announced at Twitter that RStudio now provides CRAN package download logs. I was wondering about the download numbers of my package and wrote some code to extract that information from the logs… The first code snippet is taken from the log website itself: # Here's an easy way to get all the URLs in R start <- as.Date('2013-11-28'...

1122 sym R (1407 sym/4 pcs) 6 img

Reading from and writing to SPSS, SAS and STATA with R #rstats #sjPlot

11.03.2015

On CRAN now My sjPlot-package was updated on CRAN (binaries will be available soon, I guess). This update contains, besides many small improvements and fixes, two major features: First, new features to print table summaries of linear models and generalized linear models (for sjt.glm, the same new features were added as to sjt.lm – however, the...

4422 sym R (1195 sym/4 pcs) 6 img

sjmisc – package for working with (labelled) data #rstats

22.05.2015

The sjmisc-package My last posting was about reading and writing data between R and other statistical packages like SPSS, Stata or SAS. After that, I decided to bundle all functions that are not directly related to plotting or printing tables, into a new package called sjmisc. Basically, this package covers three domains of functionality: readin...

3871 sym R (1850 sym/7 pcs) 10 img

Beautiful table-outputs: Summarizing mixed effects models #rstats

04.06.2015

The current version 1.8.1 of my sjPlot package has two new functions to easily summarize mixed effects models as HTML-table: sjt.lmer and sjt.glmer. Both are very similar, so I focus on showing how to use sjt.lmer here. # load required packages library(sjPlot) # table functions library(sjmisc) # sample data library(lme4) # fitting models Linear m...

2561 sym R (2020 sym/7 pcs) 4 img 5 tbl

Retrieving Data from Google Books with `ngramr`

14.11.2015

Karl Marx is the most famous founding fathers of modern sociology with a popularity peak in 1975-6, but declining ever since. Introduction Google has a tool for tracking the frequency of words or phrases across its vast collection of scanned texts, the Google Books. The Google Ngram Viewer reports data and graphs the frequency of words encounter...

3027 sym R (1692 sym/3 pcs) 10 img

Venezuela’s 2015 Parliamentary Elections

03.12.2015

Next Sunday Venezuelans are heading to the polls once again with international concerns about the clearness of the balloting. To get an idea about the political climate over there, I've collected some polls available on the internet. The surprising thing from those surveys is a tremendous variability from pollster to pollster about the single to...

1000 sym R (743 sym/1 pcs) 4 img

Venezuelan Parliamentary Election: What do the Polls Say?

05.12.2015

There is not a huge population of opinion polls covering this parliamentary election in Venezuela, but all I've can be used to gauge the public opinion by the local polling houses. This posting begs an obvious question: how has the mood in Venezuela varied over time with respect to voting intentions for the two political blocs? Next, can we detec...

3944 sym R (3608 sym/1 pcs) 6 img 1 tbl

Data, data, data

13.12.2015

Having presented preliminary findings from a national sample of therapeutic communities in Brazil, I thought the Babbage's words fits like a glove for those criticizing quantitative approaches for policy evaluations: the “Errors using inadequate data are much less than those using no data at all” (Charles Babbage). Related To leave a comme...

707 sym 4 img

Gender Effect in Conference Talks

21.12.2015

I was searching in the arXiv repository for an interesting paper to read over the weekend, when I found this: “Studying Gender in Conference Talks — data from the 223rd meeting of the American Astronomical Society”. The title and figures caught my attention more than the subject of the conference, I've to confess. The plot below, taken from...

1267 sym R (1869 sym/1 pcs) 4 img