Regression Modeling With Proportion Data (Part 1)

Predicting Attendance in the German Handball-Bundesliga

Modeling Proportion Data Application: Handball-Bundesliga Setup Selected Variables Initial Results for Beta Regression Illustrative Plot of Estimates Residuals Model Comparisons Models Considered Model Performance Prediction of Future Matches Resources As a data scientist, one often encounters dependent variables that are proportions: for example, the number of successes divided by the number of attempts, party vote, proportion of money spent for something, or the attendance rate of public events. [Read More]

Durchschnittsalter in den Mannheimer Stadtteilen

Geodaten plotten mit ggplot2

Ich wollte schon immer einmal Geodaten plotten und heute bin ich endlich dazu gekommen das auszuprobieren. Das Plotten selbst ist eigentlich ganz einfach … fortunes::fortune("done it.") #> #> It was simple, but you know, it's always simple when you've done it. #> -- Simone Gabbriellini (after solving a problem with a trick suggested #> on the list) #> R-help (August 2005) Die Herausforderung besteht eher darin die Daten aufzubereiten, in diesem Fall die Polygone der Stadtteile von Mannheim. [Read More]

Plotting Many Groups With ggplot2

The shape palette can deal with a maximum of 6 discrete values because more than 6 becomes difficult to discriminate

ggplot2 is a great R package and I use it almost everyday. When plotting data for different groups, one has different options to identify them, for example, by means of different colors or different shapes. However, with many groups, it often becomes very difficult or even impossible to discriminate between the groups. Herein, I will illustrate a solution to plot an intermediate number of groups with ggplot2. First, I will use different colors to discriminate between the groups. [Read More]
ggplot 

Lowest Number of Red Cards in 40 Years

Web Scraping FIFA World Cup Data

While watching a FIFA World Cup game, I suddenly had the impression that games got fairer over the years. Everybody remembers the headbutt of Zinedine Zidane, but I haven’t seen similar things in 2018. I always wanted to try out web scraping and this was the opportunity to do so. https://media.giphy.com/media/9AuHkzLy26AmI/giphy.gif In this post, I will give a very brief intro to web scraping focusing mostly on scraping the World Cup data. [Read More]