# Blog Archives

## How to perform PCA on R

January 1, 2017
By

This is a practical tutorial on performing PCA on R. If you would like to understand how PCA works, please see my plain English explainer here. Reminder: Principal Component Analysis (PCA) is a method used to reduce the number of variables in a dataset. We are using R’s USArrests dataset, a dataset from 1973 showing, […]

## How to perform PCA on R

January 1, 2017
By

This is a practical tutorial on performing PCA on R. If you would like to understand how PCA works, please see my plain English explainer here. Reminder: Principal Component Analysis (PCA) is a method used to reduce the number of variables in a dataset. We are using R’s USArrests dataset, a dataset from 1973 showing, […]

April 20, 2015
By

Buybacks are when companies buy their own stocks. They can do this privately with stockholders, or simply purchase the stocks off the open market. Why? Companies buy back their own stocks because this supports the value of their stock (during tough times). It also reduces the total amount of equity, which improves metrics like Return on […]

## The end of the oil glut

April 7, 2015
By

In my last post, I talked about how America had depressed oil prices by increasing its supply. Recall this graph which shows that the supply glut is primarily caused by increased American supply (the top pink line is America): Since low prices are mainly caused by American oversupply, a decrease in American supply will have […]

## Why oil prices came down, and won’t anymore

April 6, 2015
By

This article was republished by the Significance, the official magazine of the American Statistical Association and Royal Statistical Society (UK). You have probably heard that the price of crude oil has tumbled from \$115 per barrel (159 litres, an archaic but established unit of measurement) in June 2014 to \$54 in March 2015. Why oil […]

## Principal Component Analysis in 6 steps

March 21, 2015
By

A common-sense explanation of PCA, and how to do it yourself in six steps.

## World Wide Wage

October 4, 2014
By

South Koreans earn, on average, \$33,140 per year (PPP), making them almost as rich as Britons. However, Koreans also work 30% more hours than Britons, making their per-hour wage considerably less than a British wage. In fact, the Korean wage of \$15 per hour (PPP) is comparable to that of a Czech or Slovakian. Here […]

## If Scotland becomes a country

September 14, 2014
By

On the 18th of September 2014, Scottish people will vote on secession from the United Kingdom, potentially ending a union that has existed since 1707. If Scots vote “Yes” to end the union, the United Kingdom will consist of England, Wales and Northern Ireland, while the newly created country of Scotland may look like this: […]

## I am probably watching TV right now

August 28, 2014
By

I got an email from a gentlemen boasting labor data that even the Bureau of Labor Statistics hasn’t published yet! Retale, a tool that helps you scour advertisements for deals in your area, has produced a cool infograph on what Americans are doing right now. It tells you what activities Americans are doing at different […]

## Indian Elections 2014 – a Summary

May 20, 2014
By

India conducted general elections between 7th April and 12th May , which elected a Member of Parliament to represent each of the 543 constituencies that make up the country. The opposition BJP won 31% of the votes, which yielded them 282 out of 543 seats in parliament, or 52% of all seats. The BJP allied with […]