243 search results for "pca"

Decluttering ordination plots in vegan part 1: ordilabel()

January 12, 2013
By
Decluttering ordination plots in vegan part 1: ordilabel()

In an earlier post I showed how to customise ordination diagrams produced by our vegan package for R through use of colours and plotting symbols. In a series of short posts I want to cover some of the options available … Continue reading →

Read more »

Decluttering ordination plots in vegan part 1: ordilabel()

January 12, 2013
By
Decluttering ordination plots in vegan part 1: ordilabel()

In an earlier post I showed how to customise ordination diagrams produced by our vegan package for R through use of colours and plotting symbols. In a series of short posts I want to cover some of the options available in vegan that can be used to help in producing better, clearer,...

Read more »

Factor Analysis of Baseball’s Hall of Fame Voters

January 9, 2013
By
Factor Analysis of Baseball’s Hall of Fame Voters

Factor Analysis of Baseball's Hall of Fame VotersRecently, Nate Silver wrote a post which analyzed how voters who voted for and against Barry Bonds for Baseball's Hall of Fame differed. Not surprisingly, those who voted for Bonds were more likely to vote for other suspected steroids users (like Roger Clemens). This got...

Read more »

More Principal Components Fun

January 6, 2013
By
More Principal Components Fun

Today, I want to continue with the Principal Components theme and show how the Principal Component Analysis can be used to build portfolios that are not correlated to the market. Most of the content for this post is based on the excellent article, “Using PCA for spread trading” by Jev Kuznetsov. Let’s start by loading

Read more »

100 most read R posts in 2012 (stats from R-bloggers) – big data, visualization, data manipulation, and other languages

January 2, 2013
By
100 most read R posts in 2012 (stats from R-bloggers) – big data, visualization, data manipulation, and other languages

R-bloggers.com is now three years young. The site is an (unofficial) online journal of the R statistical programming environment, written by bloggers who agreed to contribute their R articles to the site. Last year, I posted on the top 24...

Read more »

Clustering with selected Principal Components

December 28, 2012
By
Clustering with selected Principal Components

In the Visualizing Principal Components post, I looked at the Principal Components of the companies in the Dow Jones Industrial Average index over 2012. Today, I want to show how we can use Principal Components to create Clusters (i.e. form groups of similar companies based on their distance from each other) Let’s start by loading

Read more »

Visualizing Principal Components

December 22, 2012
By
Visualizing Principal Components

Principal Component Analysis (PCA) is a procedure that converts observations into linearly uncorrelated variables called principal components (Wikipedia). The PCA is a useful descriptive tool to examine your data. Today I will show how to find and visualize Principal Components. Let’s look at the components of the Dow Jones Industrial Average index over 2012. First,

Read more »

Visualising Tourism Data using R with googleVis package

December 20, 2012
By
Visualising Tourism Data using R with googleVis package

Inspired by Mages’s post on Accessing and plotting World bank data with R (using googleVis package), I created one visualising tourism receipts and international tourist  arrivals of various countries since 1995. The data used are from the World Bank’s country indicators. To see the motion chart, double click a picture below.  Code Filed under: R, Tourism

Read more »

Multidimensional scaling of REM album covers: FlagSpace revisited

December 11, 2012
By
Multidimensional scaling of REM album covers: FlagSpace revisited

By way of following up on an old in-joke, and doing something constructive because I couldn’t get to sleep, I thought I would revisit the Flag Space plot that I blogged about a while back and learn how to do it. … Continue reading →

Read more »

A thermometer in R using Arduino and Java

November 11, 2012
By
A thermometer in R using Arduino and Java

A couple of weeks ago, Markus Gesmann demonstrated the feasability of connecting R and Arduino using Processing and Rserve in a nice and simple example. This actually rekindled my interest in Arduino that I hadn’t had time to satisfy…Again I will show a very easy and simple example, but this time, transferring the data between Arduino and R...

Read more »