September 2011

Le Monde puzzle [#738]

September 1, 2011 | xi'an

The Friday puzzle in Le Monde this week is about “friendly perfect squares”, namely perfect squares x2__10 and y2__10 with the same number of digits and such that, when drifting all digits of x2 by the same value a (modulo 10), one recovers y2. For instance, 121 is “friend” with 676. Here is ... [Read more...]

Interactive graphics for data analysis

September 1, 2011 | richierocks

I got a copy of Martin Theus and Simon Urbanek’s Interactive Graphics for Data Analysis a couple of years ago, whence it’s been sat on my bookshelf. Since I’ve recently become a self-proclaimed expert on interactive graphics I thought it was about time I read the thing. ... [Read more...]

Add text aligned to legend in R plot

September 1, 2011 | Xianjun Dong

What I meant is to add text on a R plot when there is already legend on it. Like the left plot in above figure, another piece of text was put exactly below the legend "Pearson'r ...RMSE = 1.9". Here is the code for that: l=legend("topleft", paste(... [Read more...]

An enhanced Kaplan-Meier plot, updated

September 1, 2011 | Abhijit

I’ve updated the R code for the enhanced K-M plot to include additions and improvements by Gil Thomas and Mark Cowley. Thanks fellows for the feedback and updates. http://statbandit.wordpress.com/2011/03/08/an-enhanced-kaplan-meier-plot/ [Read more...]

Forecasting In R: A New Hope with AR(10)

September 1, 2011 | Steven Sabol

In our last post we determined that the ARIMA(2,2,2) model was just plain not going to work for us.  Although i didn't show its residuals failed to pass the acf and pacf test for white noise and the mean of its residuals was greater than three whe... [Read more...]

S&P 500 Returns

September 1, 2011 | ALT

I'll begin with a familiar image:That plot shows the closing values of the S&P 500 index from 1990 until today. It's a useful representation -- at a glance, you can tell when the market rose and fell. That said, it does have some problems: we're...
[Read more...]
1 8 9 10

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)