Publications by andrew

Filtering Data with L1 Regularisation

27.03.2014

A few days ago I posted about Filtering Data with L2 Regularisation. Today I am going to explore the other filtering technique described in the paper by Tung-Lam Dao. This is similar to the filter discussed in my previous post, but uses a slightly different objective function: where the regularisation term now employs the L1 “taxi cab” metri...

3884 sym R (1363 sym/4 pcs) 10 img

Daylight Saving Effect on S&P500 and FTSE100

01.04.2014

Does the transition to and from Daylight Saving Time (DST) have a (significant) effect on the stock market? In a recent blog post on The UK Stock Market Almanac, the author found that the average return of the FTSE100 index for the days following the start of British Summer Time (BST) was -0.07% during the interval 1985-2013. This was lower than ...

6070 sym R (8509 sym/14 pcs) 8 img

Earthquake Magnitude / Depth Chart

07.04.2014

I am working on a project related to secondary effects of earthquakes. To guide me in the analysis I need a chart showing the location, magnitude and depth of recent earthquakes. There are a host of such charts available already, but since I had the required data on hand, it seemed like a good idea to take a stab at it myself. Getting the Data Th...

2177 sym R (2232 sym/4 pcs) 6 img

Largest Volcanoes in Recorded History (and other statistics)

11.04.2014

Around 199 years ago the largest volcano in recorded history, Mount Tambora, erupted, spewing an enormous volume of molten rock and ash into the atmosphere and onto the surrounding land. How is the intensity of a volcanic eruption quantified? Most people know about the Richter Scale which quantifies the energy released in an earthquake. The anal...

2812 sym R (1558 sym/6 pcs) 8 img

Earthquakes: Land / Ocean Distribution

13.04.2014

The next stage in my earthquake analysis project is to partition the events into groups with epicentre over land or water. Since our existing catalog contains the latitude and longitude for the epicentres, it was a relatively simple matter to pipe these into gmtselect and label the events accordingly. The resulting data when sucked into R looks l...

1472 sym R (464 sym/1 pcs) 8 img

Transitioning to Stan

14.04.2014

Kevin Cartier writes: I’ve been happily using R for a number of years now and recently came across Stan. Looks big and powerful, so I’d like to pick an appropriate project and try it out. I wondered if you could point me to a link or document that goes into the motivation for this tool (aside from the Stan user doc)? What I’d like to under...

1892 sym

R Interface to Myfxbook

17.04.2014

Myfxbook provides an interface to your FOREX trading accounts as well as an active trading community. It has a broad range of functionality including a responsive interface to the FOREX market; tools for performing statistical analyses on your trades; the facility to mirror trades from other traders or systems; and provides a platform for pu...

3250 sym R (5065 sym/9 pcs) 6 img

Hazardous and Benign Space Objects: Getting the Data

28.04.2014

The recent story about a skydiver nearly being hit by falling meteor got me thinking about all the pieces of rock floating around in near-Earth space. Despite the fact that the supposed meteor was probably just a chunk of rock mistakenly packed in with a parachute, the fact that something like that could actually happen is quite intriguing. And n...

6149 sym R (2569 sym/13 pcs) 12 img

Comrades Marathon: Negative Splits and Cheating

06.05.2014

With this year’s Comrades Marathon just less than a month away, I was reminded of a story from earlier in the year. Mark Dowdeswell, a statistician at Wits University, found evidence of cheating by some middle and back of the pack Comrades runners. He identified a group of 20 athletes who had suspicious negative splits: they ran much faster in ...

7370 sym Python (4897 sym/10 pcs) 10 img

Hazardous and Benign Space Objects: Solving Kepler’s Equation

08.05.2014

Following on from my previous post about Near Earth Objects, today we are going to solve Kepler’s Equation to find the eccentric anomaly, which is the next step towards plotting the positions of these NEOs relative to Earth. The Eccentric, True and Mean Anomalies The relationship between the eccentric and true anomalies are depicted in the figu...

2498 sym R (2117 sym/4 pcs) 12 img