1783 search results for "ggplot2"

How to do a quantitative literature review in R

May 17, 2011
By
How to do a quantitative literature review in R

In the early stages of a literature review, you may have hundreds of papers and not know how to even begin sorting through them. In this post, I show you how to perform a two-stage clustering analysis with R so that you can identify the main groups within your data, based on key attributes of each paper.

Read more »

Gifts from BAC ML and the Federal Reserve

May 17, 2011
By
Gifts from BAC ML and the Federal Reserve

Bank of America Merrill Lynch and the Federal Reserve Bank of St. Louis Fed continue to surprise me with even more gifts.  This time they added Emerging Market Bond Indexes with history back to 1998 (cannot see Asia Pacific Crisis of 1997-1998 but...

Read more »

Russell Napier, ASIP in FT Says Emerging Market Currencies

May 17, 2011
By
Russell Napier, ASIP in FT Says Emerging Market Currencies

Clearly I have succumbed to confirmation bias, since my second favorite presentation from the CFA Institute Annual Conference this year came from Scotland native Russell Napier, ASIP who shares my views nearly completely http://video.ft.com/v/946244201...

Read more »

AIB Stock Price, EGARCH-M, and rgarch

May 17, 2011
By
AIB Stock Price, EGARCH-M, and rgarch

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 this is done in R,

Read more »

Omega as Optimizer

May 16, 2011
By
Omega as Optimizer

During Jan Straatman’s presentation, I tweeted Jan Straatman #cfa2011 In real life no normal distributions so use omega function to optimize actual returns After the presentation, I asked Jan his second choice for optimization after Omega, and he re...

Read more »

Reshape Package in R: Long Data format, to Wide, back to Long again

May 16, 2011
By
Reshape Package in R: Long Data format, to Wide, back to Long again

In this post, I describe how to use the reshape package to modify a dataframe from a long data format, to a wide format, and then back to a long format again. It’ll be an epic journey; some of us may not survive (especially me!). Wide versus Long Data Formats I’ll begin by describing what

Read more »

Cointegration, R, Irish Mortgage Debt and Property Prices

May 15, 2011
By
Cointegration, R, Irish Mortgage Debt and Property Prices

As a follow-up to my post examining the stationarity of the new property price index, this post will briefly look at some of the dynamics of mortgage debt and property prices; all data is monthly, from the beginning of 2005 to March 2011. This will also serve as an illustration of the ‘vars‘ and ‘urca‘

Read more »

The New Irish House Price Index

May 14, 2011
By
The New Irish House Price Index

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 in more detail. Below is

Read more »

Friday fun projects

May 14, 2011
By
Friday fun projects

What’s a “Friday fun project”? It’s a small computing project, perfect for a Friday afternoon, which serves the dual purpose of (1) keeping your programming/data analysis skills sharp and (2) providing a mental break from the grind of your day job. Ideally, the skills learned on the project are useful and transferable to your work

Read more »

One-way ANOVAs in R – including post-hocs/t-tests and graphs

May 11, 2011
By
One-way ANOVAs in R – including post-hocs/t-tests and graphs

In this post, I go over the basics of running an ANOVA using R. The dataset I’ll be examining comes from this website, and I’ve discussed it previously (starting here and then here). I’ve not seen many examples where someone runs through the … Continue reading →

Read more »