Revised market prediction distributions

January 4, 2011
By
Revised market prediction distributions

This provides revised plots of the prediction distributions published yesterday.  The previous plots of prediction distributions should be ignored — they are not doing as advertised. We show the prediction distribution of levels of several equity indices (plus oil price) at the end of 2011 assuming nothing happens.  That is, we’ve taken out market trends … Continue reading...

Read more »

Creating prediction distributions

January 4, 2011
By
Creating prediction distributions

Here we give details and code for the prediction distributions exhibited in yesterday’s blog post Tis the season to predict. Eight years of returns The equity indices use daily closing levels from the start of 2003.  This data comes from Yahoo. A roughly equivalent technique of selecting the last 2000 daily prices is used for … Continue reading...

Read more »

Customizing the Theme of Your R HTML Help

January 4, 2011
By
Customizing the Theme of Your R HTML Help

R's default theme of the HTML help pages is too plain for me to read, but we can easily modify the theme, which is essentially a CSS file. You can find the file under: file.path(R.home('doc'), 'html', 'R.css') Simply replac...

Read more »

How many of each gift did my true love give to me?

January 4, 2011
By
How many of each gift did my true love give to me?

How many of each gift did my true love give to me?

Read more »

Gifts my true love gave to me on all twelve days of Christmas

January 4, 2011
By
Gifts my true love gave to me on all twelve days of Christmas

Gifts my true love gave to me on all twelve days of Christmas

Read more »

First meeting of Toronto R User Group this Friday

January 3, 2011
By

The Greater Toronto Area R User Group is having its inaugural meeting this Friday, January 7. The meeting will feature Ben Bolker, professor and author of Ecological Models and Data in R, who will speak on Generalized Linear Models. It's also your opportunity to join the group and help define its future path, so if you're in the area...

Read more »

Example 8.19: Referencing lists of variables

January 3, 2011
By
Example 8.19: Referencing lists of variables

In section 1.11.4 (p. 50), we discuss referring to lists of variables in a data set. In SAS, this can be done for variable stored in adjacent columns with the "var_x -- var_y" syntax and for variables with sequentially enumerated suffixes with the "va...

Read more »

Exporting KML from R

January 2, 2011
By
Exporting KML from R

Google Earth has become a popular way of disseminating spatial data. KML is the data format required to do this. It is possible to load almost any type of spatial...

Read more »

LaTeX Typesetting – Tables

January 2, 2011
By
LaTeX Typesetting – Tables

One area of LaTeX that is not always straightforward is producing tabular material. In this post we will look at some of the basics of creating tables in a LaTeX document. Fast Tube by Casper When creating tables there is a tabular environment that can be used and we need to specify the number of

Read more »

Animation from Kaggle traffic prediction competition

January 2, 2011
By

Below: two animations (same one twice, just as different speeds) I made from the highway data for the Kaggle traffic prediction competition.The data are travel times for 61 different sections of Sydney's M4 freeway, in both directions. The data comes i...

Read more »

Animation from Kaggle traffic prediction competition

January 2, 2011
By

Below: two animations (same one twice, just as different speeds) I made from the highway data for the Kaggle traffic prediction competition.The data are travel times for 61 different sections of Sydney's M4 freeway, in both directions. The data comes i...

Read more »

Le Monde puzzle [52|solution]

January 1, 2011
By
Le Monde puzzle [52|solution]

I have now received the first issue of Le Monde magazine, including the solution to puzzle #52 I solved just in time by simulated annealing! The trick is in using the following theorem: Iter(1,x,y) is divisible by 10x-1 if and only if y is divisible by 10x-1. Then the value to be found is divisible

Read more »

Ten News Stories of 2010 – and the Statistics that Made Them

January 1, 2011
By
Ten News Stories of 2010 – and the Statistics that Made Them

Significance MagazineAccording to Significance Magazine (jointly published by Royal Statistical Society and the American Statistical Association) the following are the top ten stories of 2010.1. Progress in the preven...

Read more »

Ten News Stories of 2010 – and the Statistics that Made Them

January 1, 2011
By
Ten News Stories of 2010 – and the Statistics that Made Them

Significance MagazineAccording to Significance Magazine (jointly published by Royal Statistical Society and the American Statistical Association) the following are the top ten stories of 2010.1. Progress in the preven...

Read more »

R-bloggers in 2010: Top 14 R posts, site statistics and invitation for sponsors

January 1, 2011
By
R-bloggers in 2010: Top 14 R posts, site statistics and invitation for sponsors

A year ago (on December 9th 2009), I wrote about founding R-bloggers.com, an (unofficial) online R journal written by bloggers who agreed to contribute their R articles to the site. In this post I wish to celebrate R-bloggers’ first birthday by sharing with you: Links to the top 14 posts of 2010 Reflections about the origin of R-bloggers Statistics

Read more »

Review: Statistical Analysis with R: Beginner’s Guide by John M. Quick

January 1, 2011
By
Review: Statistical Analysis with R: Beginner’s Guide by John M. Quick

Summary: If you can get past the strange underlying story, then this gives a good introduction to R to someone with no programming experience. However, if you have any experience with other programming languages then another book is likely to be more suitable. Reference: Quick, J. M., Statistical Analysis in R: Beginners Guide, Packt Publishing,

Read more »

Nov 2010 Year-To-Date Global Temperature Anomaly 1st in 2 Series, 2nd in 3 Series: Update

January 1, 2011
By
Nov 2010 Year-To-Date Global Temperature Anomaly 1st in 2 Series, 2nd in 3 Series: Update

This post shows the YTD global land – ocean temperature anomaly (LOTA) trends for the 5 major series through November, 2010 and how  2010 YTD ranks over the entire record for each series.  The source data  file link is provided. … Contin...

Read more »

Single variable optimization

January 1, 2011
By

Optimization means to seek minima or maxima of a funtion within a given defined domain. If a function reach its maxima or minima, the derivative at that point is approaching to 0. If we apply Newton-Raphson method for root finding to f’, we can get the optimizing f. Read More: 223 Words Totally

Read more »

Single variable optimization

January 1, 2011
By

Optimization means to seek minima or maxima of a funtion within a given defined domain. If a function reach its maxima or minima, the derivative at that point is approaching to 0. If we apply Newton-Raphson method for root finding to f’, we can get the optimizing f. Read More: 223 Words Totally

Read more »

Happy New Year with R (2011, Fireworks!)

January 1, 2011
By
Happy New Year with R (2011, Fireworks!)

Last year I posted an animation created in R to celebrate the new year, and this year I've got a more fabulous animation (available on CRAN) The above animation comes from the demo('fireworks') in the R package animation 2.0-0. Thanks for the contri...

Read more »

Happy New Year with R (2011, Fireworks!)

January 1, 2011
By
Happy New Year with R (2011, Fireworks!)

ast year I posted an animation created in R to celebrate the new year, and this year I’ve got a more fabulous animation. Unfortunately our Lord of CRAN (Kurt) has been out of office for several days, so I’m unable to publish my animation package on CRAN as scheduled. Anyway, for those who are curious

Read more »

Rearranging the office to find a fresh perspective. Hasn’t…

December 31, 2010
By
Rearranging the office to find a fresh perspective.
Hasn’t…

Rearranging the office to find a fresh perspective. Hasn’t been done in seven years. I feel better already. Gonna hang some pictures. Gonna set some goals. I’m not afraid to fail. Saw “True Grit” last night. I liked it.

Read more »

History makes Stat. Science!

December 31, 2010
By
History makes Stat. Science!

While the above heading sounds like a title in reverse, its words are in the “correct” order in that our paper with George Casella, A Short History of Markov Chain Monte Carlo, has been accepted for publication by Statistical Science. This publication may sound weird when considering that the paper is also scheduled to appear

Read more »

R-Chart: Year End Wrap Up

December 31, 2010
By
R-Chart: Year End Wrap Up

Thanks to everyone who visited and commented here at R-Chart over the last year!  Blogging has forced me to crystallize my thoughts and I hope others have benefited a bit from these meanderings.  It it great to interact with the&nbs...

Read more »

R-Chart: Year End Wrap Up

December 31, 2010
By
R-Chart: Year End Wrap Up

Thanks to everyone who visited and commented here at R-Chart over the last year!  Blogging has forced me to crystallize my thoughts and I hope others have benefited a bit from these meanderings.  It it great to interact with the&nbs...

Read more »

Video of Joy of Stats by Hans Rosling

December 31, 2010
By
Video of Joy of Stats by Hans Rosling

The Joy of Stats narrated by Hans Rosling was just produced by BBC and shown to their audience.  Hans Rosling via gapminder.org was kind enough to post the full hour video of the documentary about joys of statistics.  The video is posted on Y...

Read more »

Video of Joy of Stats by Hans Rosling

December 31, 2010
By
Video of Joy of Stats by Hans Rosling

The Joy of Stats narrated by Hans Rosling was just produced by BBC and shown to their audience.  Hans Rosling via gapminder.org was kind enough to post the full hour video of the documentary about joys of statistics.  The video is posted on Y...

Read more »

R / Finance 2011 Call for Papers: Updated and expanded

December 31, 2010
By

One week ago, I sent the updated announcement below to the r-sig-finance list; this was kindly blogged about by fellow committee member Josh and by our pal Dave @ REvo. By now. I also updated the R / Finance conference website. So to round things ...

Read more »

R / Finance 2011 Call for Papers: Updated and expanded

December 31, 2010
By

One week ago, I sent the updated announcement below to the r-sig-finance list; this was kindly blogged about by fellow committee member Josh and by our pal Dave @ REvo. By now. I also updated the R / Finance conference website. So to round things ...

Read more »