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 »

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 »

The R Journal, Vol.2 Issue 2 is out

December 31, 2010
By

The second issue of the second volume of The R Journal is now available . Download complete issue Refereed articles may be downloaded individually using the links below. Table of Contents Editorial 3 Contributed Research Articles Solving Differential Equations in R Karline Soetaert, Thomas Petzoldt and R. Woodrow Setzer 5 Source

Read more »

Revolutions blog: 2010 statistics

December 31, 2010
By
Revolutions blog: 2010 statistics

Since it's the end of the year, and since this is a statistics blog, I thought I'd pull some data from the blog server and run some number on the blog itself. Overall, the blog has doubled the average number of daily visitors and pageviews compared to 2009. The number of pageviews varies quite a lot, as you can...

Read more »

Le Monde puzzle [52]

December 31, 2010
By
Le Monde puzzle [52]

The last puzzle of the year in Le Monde reads as follows (as far as I understand its wording!): Iter(n,x,y) is the function Iter=function(n,x,y){ if (n==1){ output=trunc(y/10)+x*(y%%10) }else{ output=Iter(n-1,x,Iter(1,x,y))} return output } Find the seven-digit number z such that Iter(6,1,z)=12, Iter(6,2,z)=19, Iter(6,3,z)=29, and Iter(6,-1,z)=Iter(6,-2,z)=Iter(6,-3,z)=0. Obviously, the brute-force solution of listing all 90 million seven digit

Read more »

R Journal 2/2

December 31, 2010
By
R Journal 2/2

The last gift of 2010: R Journal 2/2 is out! Get it from here.

Read more »

R Journal 2/2

December 31, 2010
By
R Journal 2/2

The last gift of 2010: R Journal 2/2 is out! Get it from here.

Read more »

Empirical Bayes Estimation of On Base Percentage

December 30, 2010
By
Empirical Bayes Estimation of On Base Percentage

I guess you could call this On Bayes Percentage. *cough*Fresh off learning Bayesian techniques in one of my classes last quarter, I thought it would be fun to try to apply the method. I was able to find some examples of Hierarchical Bayes being used to...

Read more »

R Packages for Social Search

December 30, 2010
By

Jesse Bridgewater works on "social search awesomeness" for the Bing search engine, and is setting up his dev environment with the necessary tools including python, vim, and R. Jesse has shared a handy script he uses to install all the specialty packages he uses for his data analysis. This is a handy script to modify for your own purposes,...

Read more »