Showing posts with label matrix. Show all posts
Showing posts with label matrix. Show all posts

Monday, July 13, 2015

Inside-Out Additive Effects

The new Pixar film Inside-Out has emotion-characters that inhabit the mind of an 11-year old girl, named Riley. All five of her selected emotion-characters are important, Anger, Fear, Disgust, Sadness, and Joy, and as the film progresses they combine together to create new emotions. Christopher Haubursin from Vox created the matrix above, showing the new emotions created. For example Joy and Anger, either top-right or bottom-left of the matrix, combine together to produce Righteousness. Riley has many more emotions to choose from with the resulting additive effects. A clever display.

Monday, November 4, 2013

Correlation Ellipse Matrix

Here is an informative graphical representation of the correlation matrix of a data set of weather data on 16 variables. The image is via the RevolutionAnalytics blog and their post on big data available in R. The data mining R package Rattle produced the image. The magnitudes of correlations are shown with a concentration ellipses. Blue ellipses, with positive slopes, display variables with positive correlation with darker blue shading depicting higher positive correlation and lighter blue shading depicting lower positive correlation. Near zero correlations are shown as open, unfilled ellipses that are nearly circular. Variables with negative correlation are shown similarly by red ellipses with negative slopes. Dark red shading depicts greater negative correlation and lighter red shading depicts negative correlations closer to zero. This is a very useful tool to guide the eye through the relationships of the many variables used. Of course, as is well known, correlation is only an appropriate measure of the strength of the linear relationships between two variables when their scatterplot shows approximately the elliptical shape shown in these shaded icons. Examples abound of scatterplots where representing them as above can be misleading. My favorite, below, from the book by Chambers, et al. shows eight scatterplots all with the same positive correlation of 0.7. Correlation and its representation with an ellipsoidal icon is appropriate for only one of these scatterplots. This extols us all to remember, to look at the data.


Monday, June 17, 2013

Using Metadata to find Colonial Traitors to the English Crown (c. 1770s)