I recently finished a long stretch of work on a particular project that required me to draw upon four R packages. Each time I got back to my work on the project, I’d have to load the packages manually, as … Continue reading →

You've probably heard of the Birthday Paradox: it only takes a small gathering of people before it's quite likely that two of them share the same birthday. You can solve the problem analytically or with simulation, but usually in either case simplifying assumptions are made (no-one born on February 29, for example). Joe Rickert uses Revolution R Enterprise 6...

Exploring whether regression coefficients differ between groups is an important part of applied econometric research, and particularly for research with a policy based objective. For example, a government in a developing country may decide to introduce free school lunches in an effort to improve childhood health. However, if this treatment is known to only improve

Prime is the core of number theory. Here is an introduction of prime number on Wikipedia. I could only understand roughly half of it. Now, let’s look at the seventh problem of Project Euler, which is another about prime number. By listing the first six prime numbers: 2, 3, … Continue reading →

Lots of short videos on how to do several things in R.

e-mails with the latest R posts.

(You will not see this message again.)