Oijee!
Blog Tags Data Hikes Projects About

Fitting a least squares model

R Methods Statistics

Instructions on how to estimate a least squares model that is the best linear unbiased estimator.

28 March 2019

Data pseudonymization in R

R Methods

With the recent adoption of GDPR, pseudonymization is now a relevant method of protecting personal data. An example of how to pseudonymize data in R is given.

31 May 2018

Are nonsensical models useful?

Statistics

Despite that regression models sometimes include parameters that are theoretically invalid, they are still used to explain phenomena. Why? This will be explained by fitting different models on data with theoretical limitations.

27 April 2018

Plotting the fit of regression models in R

R

Visualizing model fit helps better understand how well model fits data but also illustrates the relationship between variables. An example is given on how to do this in R.

10 March 2018

Propensity score matching with R

R Methods

A walkthrough on how to carry out PSM analysis in R using base R functions.

17 January 2018

On the milk price in EU

AgEcon

Milk prices in EU plunged after expiration of milk quotas in 2015. Some trends of milk prices are explored and the effects of the end of quotas are presented.

03 September 2017

Match as an alternative to merge in R

R

While 'merge' function is the most straightforward solution to joining datasets by a common variable in R, sometimes 'match' is more intuitive.

22 May 2017

Evaluating keyboard layouts with R

R

Popular keyboard layouts are evaluated in the context of typing in English. Various aspects of typing are considered and differences are calculated and plotted.

14 April 2017