Blog Archives

Linear models: Pushing down and speeding up

October 20, 2017
By
Linear models: Pushing down and speeding up

Let’s start with a few observations about linear models. The usual discussion posits a target variable y of length N and a design matrix X with p columns (of full rank, say) and N rows. The linear model equation can be written and the least squ...

Read more »

The German fuel prices data set

July 27, 2017
By
The German fuel prices data set

The data set on German fuel prices contains the fuel prices, but not the sales, from more than 14000 fuel stations in Germany since June 2014. It is made available by the webservice Tankerkoenig as a Postgres dump (from June 2014 onwards) under CC...

Read more »

A simple static website generator with purrr

July 26, 2017
By
A simple static website generator with purrr

Today, I want to present a simple way to use purrr to create a static website generator. Of course, there is Jekyll, Hugo and the blogdown package, but in many cases you may find yourself, like I did, with your own bits and pieces of html, no time t...

Read more »

Efficient missing line imputation using the rep function

April 20, 2017
By
Efficient missing line imputation using the rep function

To get this R blog series started, I want to present a little data preparation procedure which comes up often in the analysis of time series. We are used to thinking of time series as somehow being regularly spaced. For instance, we may be lookin...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)