335 search results for "boxplot"

In case you missed it: October 2012 Roundup

November 7, 2012
By

In case you missed them, here are some articles from October of particular interest to R users. Sponsorships for local R user groups from Revolution Analytics are now open to applicants worldwide. During the landfall of Hurricane Sandy in the US, several R-based apps used public weather and social media data to document its impact, like this timeline of...

Read more »

Another look at ideology of the US congress

November 5, 2012
By
Another look at ideology of the US congress

In response to last week's post on the rapidly increasing ideology of the US Republican Party, Mike Lawrence suggested another way of looking at the DW-NOMINATE ideology data. Rather than simply looking at boxplots of the congress scores by party over time, we could fit a smooth curve to get a better sense of the trends over time. Mike...

Read more »

Reordering factor levels in R plots

November 3, 2012
By
Reordering factor levels in R plots

A few days ago a post doctoral researcher asked me if I could help him reorder the factor levels on a bar chart. The problem is that R automatically alphabetizes factor levels. I thought this would be fairly straight-forward but...

Read more »

Volatility from daily or monthly: garch evidence

October 29, 2012
By
Volatility from daily or monthly: garch evidence

Should you use daily or monthly returns to estimate volatility? Does garch explain why volatility estimated with daily data tends to be bigger than if it is estimated with monthly data? Previously There are a number of previous posts — with the variance compression tag — that discuss the phenomenon of volatility estimated with daily … Continue reading...

Read more »

Carl Morris Symposium on Large-Scale Data Inference (2/3)

October 20, 2012
By
Carl Morris Symposium on Large-Scale Data Inference (2/3)

Continuing the summary of last week’s symposium on statistics and data visualization (see part 1 and part 3)… Here I describe Dianne Cook’s discussion of visual inference, and Rob Kass’ talk on statistics in cognitive neuroscience. [Edit: I've added a few … Continue reading →

Read more »

What a nice looking scatterplot!

October 15, 2012
By
What a nice looking scatterplot!

This week, we look at plotting data using scatterplots. I'll definitely have a post on other ways of plotting data, like boxplots or histograms.Our data from last week remains the same:First, a quick way to look at all of your continuous variables at once is just to do a plot command of your data....

Read more »

Annotations for “R For Dummies”

October 15, 2012
By
Annotations for “R For Dummies”

Here are detailed comments on the book.  Elsewhere there is a review of the book. How to read R For Dummies In order to learn R you need to do something with it.  After you have read a little of the book, find something to do.  Mix reading and doing your project. You cannot win … Continue reading...

Read more »

Agreement between code readability ratings given by students

October 13, 2012
By
Agreement between code readability ratings given by students

I have previously written about how we know nothing about code readability and questioned how the information content of expressions might be calculated. Buse and Weimer ran a very interesting experiment that asked subjects to rate short code snippets for readability (somebody please rerun this experiment using professional software developers). I’m interested in measuring how

Read more »

Creating SVG Plots from R

October 12, 2012
By

I recently wanted to create a ggplot that I could then 'tweak' furthur. This is my solution, to create an .svg file which can be loaded into a suitable application (I prefer Inkscape) and furthur edited / tweaked. # Build an example Plotlibrary(ggplot2...

Read more »

S&P 500 sector strengths

October 10, 2012
By
S&P 500 sector strengths

Which sectors are coherent, and which aren’t? Previously The post “S&P 500 correlations up to date” looked at rolling mean correlations among stocks.  In particular it looked at rolling mean correlations of stocks within sectors. Of importance to this post is that the sectors used are taken from Wikipedia. Relative correlations The thought is that … Continue reading...

Read more »