Stuff with R

Some blog posts that involve R code applications or examples.

Bias in Merit Awards?

An engineering department gave 10 awards in 2022 and 9 awards in 2021 to high-achieving students. “The prerequisite to receive the award is a grade of 6.0 [highest possible grade in Switzerland] for the thesis, an average final grade of at least 5.25 in the Master’s program as well as a written endorsement by the … Continue reading Bias in Merit Awards?

Analyzing Between-Person and Within-Person Associations

Explanations and implied causal mechanisms for digital media use often operate at the individual level. For example, the hypothesis photo sharing with friends increases social connectedness implies that when people share more photos they will feel more connected. A typical test of such a hypothesis might rely on a linear regression with a count measure … Continue reading Analyzing Between-Person and Within-Person Associations

What’s in a Library?

After not using a reference manager at first (2014–2016) and later being very frustrated with Mendeley after a couple of years, I started using Zotero in 2018. I am extremely happy with the software and its features – it just works very well for everything I do. The browser plugin to import the full citation … Continue reading What’s in a Library?

Success and Luck

If you assume there are 5 jobs available for a pool of N candidates, luck will play a more important role in determining success, i.e., being selected for the job, the larger N is. Here is a simulation example in R adapted from this video. Let’s assume a candidate’s “true score” can be objectively assessed … Continue reading Success and Luck

Quantifying Internet Use

This post summarizes key findings from our article How Long and What For? Tracking a Nationally Representative Sample to Quantify Internet Use published in the Journal of Quantitative Description: Digital Media. Read more about this new journal here. The internet is increasingly used across multiple devices, often on the go, and very much integrated into … Continue reading Quantifying Internet Use