Uncategorized

AIB Stock Price, EGARCH-M, and rgarch

May 17, 2011 | timeseriesireland

This post examines conditional heteroskedasticity models in the context of daily stock price data for Allied Irish Banks (AIB), specifically how to test for conditional heteroskedasticity in a series, how to approach model specification and estimation when time-varying volatility is present, and how to forecast with these models; all of ... [Read more...]

The New Irish House Price Index

May 14, 2011 | timeseriesireland

On Friday, the CSO released a new house (and apartment) price index, for the national, Dublin, and national excluding Dublin regions. The release has been noted and covered by the great Irish Economy and Namawinelake blogs. I want to briefly look at some of the statistical properties of this series ... [Read more...]

Potential Output and the Irish Output Gap

May 14, 2011 | timeseriesireland

One prominent feature of early degree-level macroeconomics courses is the concept of ‘potential output’, which one could roughly define as the level of output (GDP) at which inflation is not ‘accelerating’. Potential output is of interest to macroeconomists when analysing the question of output gaps and macroeconomic stabilisation policies by ... [Read more...]

Unused function parameters

May 8, 2011 | Derek-Jones

I have started redoing the source code measurements that appear in my C book, this time using a lot more source, upgraded versions of existing tools, plus some new tools such as Coccinelle and R. The intent is to make the code and data available in a form that is ... [Read more...]

Kickstarter Data Analysis: Success and Pricing

April 25, 2011 | Edwin Chen

Kickstarter is an online crowdfunding platform for launching creative projects. When starting a new project, project owners specify a deadline and the minimum amount of money they need to raise. They receive the money (less a transaction fee) only if … Continue reading → [Read more...]

Michael Ryder Streaks

April 22, 2011 | btibert3

A ways back I put up a post that uses R to plot the scoring trends of an NHL player. Given the recent chatter on sports talk radio around Boston, I used my script to plot the data for Michael … Continue reading → [Read more...]

Introduction to Cointegration and Pairs Trading

April 15, 2011 | Edwin Chen

Introduction Suppose you see two drunks (i.e., two random walks) wandering around. The drunks don’t know each other (they’re independent), so there’s no meaningful relationship between their paths. But suppose instead you have a drunk walking with her dog. This … Continue reading → [Read more...]

Graph Bisection in R

April 14, 2011 | CL

Recently I had to partition a set of SNPs into a training set and a test set. Making a random split would not do: both sets would likely contain very similar SNPs due to linkage disequilibrium (LD), making them non-independent. … Continue reading → [Read more...]

Block diagonal matrices in R

April 13, 2011 | CL

As far as I can tell, R doesn’t have a function for building block diagonal matrices so as I needed one, I’ve coded it myself. It might save someone some time. Example: Let m1 and m2 two square matrices. Selec … Continue reading → [Read more...]

Quality comparison of floating-point maths libraries

April 10, 2011 | Derek-Jones

What is the best way to compare the quality of floating-point math libraries (e.g., sin, cos and log)? The traditional approach for evaluating the quality of an algorithm implementing a mathematical function is based on mathematics; methods have been developed to calculate the maximum error between the calculated and ... [Read more...]

Empirical software engineering is five years old

March 31, 2011 | Derek-Jones

Science and engineering are built on theoretical models that are tested against measurements of ‘reality’. Until around 10 years ago there was very little software engineering ‘reality’ publicly available; companies rarely made source available and were generally unforthcoming about any bugs that had been discovered. What happened around 10 years ago was ... [Read more...]

Statistical tests for variable selection

March 14, 2011 | Rob J Hyndman

I received an email today with the following comment: I’m using ARIMA with Intervention detection and was planning to use your package to identify my initial ARIMA model for later iteration, however I found that sometimes the auto.arima function returns a model where AR/MA coefficients are not ... [Read more...]

Hacker News Analysis

March 13, 2011 | Edwin Chen

I was playing around with the Hacker News database Ronnie Roller made (thanks!), so I thought I’d post some of my findings. Activity on the Site My first question was: how has activity on the site increased over time? I … Continue reading →
[Read more...]

Piiikaaachuuuuuu vs. KHAAAAAN!

March 13, 2011 | Edwin Chen

This is a fun image I found on Neil Kodner’s blog: But I’ve never actually watched any of the Star Trek movies, so I decided to recreate the graph with Pikachu instead: Here’s a smoothed version to better compare the counts … Continue reading →
[Read more...]

A Kernel Density Approach to Outlier Detection

March 13, 2011 | Edwin Chen

I describe a kernel density approach to outlier detection on small datasets. In particular, my model is the set of prices for a given item that can be found online. Introduction Suppose you’re searching online for the cheapest place to … Continue reading → [Read more...]
1 7 8 9 10 11 16

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)