Mike’s CNC 2010-08-27 18:36:00

August 27, 2010
By

Support the OpenGov idea to create a "Platform for number crunchers across (US Federal) government" HERE. A small team is building a small pilot and I'm happy to report that R appears on many of the posts. If you like the idea (or even if you don't),...

Read more »

Mike’s CNC 2010-08-27 18:36:00

August 27, 2010
By

Support the OpenGov idea to create a "Platform for number crunchers across (US Federal) government" HERE. A small team is building a small pilot and I'm happy to report that R appears on many of the posts. If you like the idea (or even if you don't),...

Read more »

Fractals in R

August 27, 2010
By
Fractals in R

Atte Tenkanen had a blog on fractals using R for a time. Much of his source code is still available online.  To produce his version of the Mandelbrot set:source('http://users.utu.fi/attenka/mandelbrot_set.R')Fractals (such...

Read more »

Fractals in R

August 27, 2010
By
Fractals in R

Atte Tenkanen had a blog on fractals using R for a time. Much of his source code is still available online.  To produce his version of the Mandelbrot set:source('http://users.utu.fi/attenka/mandelbrot_set.R')Fractals (such...

Read more »

Because it’s Friday: How Machines Work

August 27, 2010
By
Because it’s Friday: How Machines Work

Ever wondered how a sewing machine seemingly manages to knot stitches without ever releasing the thread? Well, wonder no more: Find this and other animations of marvels of engineering, including the universal velocity joint and the rotary engine, at the link below. World Of Technology: Complicated Mechanisms Explained in simple animations (via) http://mytechnologyworld9.blogspot.com/2010/08/complicated-mechanisms-explained-in.html

Read more »

Poll: Half of SAS users considering a switch

August 27, 2010
By

A recent poll of KD Nuggets readers suggests that of those using SAS today, almost half (49.6%) are considering switching to a different system for statistical analysis. The poll was prompted by the recent high court decision in the UK, that affirmed that "WPS is lawful clone of SAS system" (as stated in a WPS press release). The exact...

Read more »

Matlab-style multiple assignment in R

August 26, 2010
By
Matlab-style multiple assignment in R

R again! You know how in Matlab you can do? S, I = sort(M) I like that. R generic functions makes this possible. First, let’s genericize assignment. I feel like regular “=” and “<-” oughta stay nongeneric, so let’s make … Continue reading →

Read more »

ProjectTemplate

August 26, 2010
By

Introduction As many people already know, I’ve recently uploaded a new R package called ProjectTemplate to GitHub and CRAN. The ProjectTemplate package provides a function, create.project(), that automatically builds a directory for a new R project with a clean sub-directory structure and automatic data and library loading tools. My hope is that standardized data loading,

Read more »

Oh (de)bugger!

August 26, 2010
By
Oh (de)bugger!

By number of questions asked, R passed MATLAB for the first time on Stack Overflow today. Thus it seems an appropriate time to write my first R-based post. This post concerns what to  do when your R-code goes pear shaped. Back in June there were a couple of very good videos on R debugging that

Read more »

New R User Groups in Seoul, Denver

August 26, 2010
By

We have two new local R user groups to report this week. In Seoul, South Korea R user Chel Hee Lee is the organizer of the GNU R User's Group and Open Statistics Project in Korea. My translate-fu isn't quite up to figuring out when the next meeting is, but you can contact the group organizers here or here....

Read more »

Producing grids of plots in R with ggplot2: A journey of discovery

August 26, 2010
By
Producing grids of plots in R with ggplot2: A journey of discovery

I’ve just gone through a bit of a ‘journey of discovery’ in R while trying to plot a grid of plots for one of the research projects I’m doing. I wanted to write a simple function which could produce this grid of plots from a CSV file, allowing me to easily view the trends of

Read more »

In Search of Power-laws: WikiLeaks Edition

August 26, 2010
By
In Search of Power-laws: WikiLeaks Edition

Yesterday, a commenter reminded me of the very popular hobby among scientists of searching for power-law distributions in large event data. While the commonality of scale invariance in event data is quite well known—particularly with respect to conflict data—this has not prevented many researchers from seeking and finding these patterns in data. As the commenter notes,

Read more »

Mike’s CNC 2010-08-26 06:37:00

August 26, 2010
By

Rweblinks, by Abhijit: http://files.meetup.com/1503964/Rweblinks.html.

Read more »

Mike’s CNC 2010-08-26 06:37:00

August 26, 2010
By

Rweblinks, by Abhijit: http://files.meetup.com/1503964/Rweblinks.html.

Read more »

Louis: A Silent Film with Live Music

August 26, 2010
By

The Chicago Symphony hosted the world premiere of Louis last evening, and I had snatched the (literally) last available ticket.The film, which is written, directed and producted by Dan Pritzker, is based loosely on the early years of Louis Armstro...

Read more »

Labor vote share across different types of balloting

August 26, 2010
By
Labor vote share across different types of balloting

We’re starting to get more divisions reporting two-candidate preferred numbers by vote type. The emerging picture (literally) is one in which Labor’s performance on the pre-polls and postals is lagging its performance in ordinary votes. On the other hand, Labor seems to be doing well among absentee voters (the regression line sitting above the 45

Read more »

Global Temperature Proxy Reconstructions ~ now with CO2 forcing

August 26, 2010
By
Global Temperature Proxy Reconstructions ~ now with CO2 forcing

Previously, I did a simple Bayesian projection of recent temperature using proxy data and the methods shown in McShane and Wyner (2010). I showed that when you take out the last 30 years of data (1969~1998), the projection does not track the recent uptick in temperatures well. The “projection” is a simple unparametric bootstrap which

Read more »

Online Certificate Courses in Computational Finance with R

August 25, 2010
By

As announced on the R-Sig-Finance mailing list, the University of Washington is now offering a three-course online certificate in computational finance, using the R programming language as the software base. The three courses are: Investment Science R Computing for Computational Finance Portfolio Construction and Risk Management The course is presented by Doug Martin (founder of S-PLUS and longtime computational...

Read more »

Excel Errors and Other Numerical Nightmares

August 25, 2010
By
Excel Errors and Other Numerical Nightmares

Although I use Excel all the time, and I strongly encourage my students to use it for performance analysis and CaP, I was forced to include a warranty disclaimer in my GCaP book because I discovered a serious numerical error while writing Appendix B. There, my intention was just to show that Excel gives essentially the same results...

Read more »

Excel Errors and Other Numerical Nightmares

August 25, 2010
By
Excel Errors and Other Numerical Nightmares

Although I use Excel all the time, and I strongly encourage my students to use it for performance analysis and CaP, I was forced to include a warranty disclaimer in my GCaP book because I discovered a serious numerical error while writing Appendix B. There, my intention was just to show that Excel gives essentially the same results...

Read more »

Slides and replay for “Big Data with Revolution R”

August 25, 2010
By

Thanks to everyone who attended our webinar this morning, Big Data Analysis for R Using Revolution R Enterprise, and in particular thanks for all the thoughtful questions during the Q&A session. If you missed the live broadcast, a replay is now available (requires the ability to view WMV files), and you can also download the slides in PDF format....

Read more »

Creating a Presentation with LaTeX Beamer – Using Overlays

August 25, 2010
By
Creating a Presentation with LaTeX Beamer – Using Overlays

Overlays can be used in a LaTeX beamer presentation to reveal parts of a slide sequentially, which can be a useful way of imparting information to your audience. There are a number of different ways that overlays can be created depending on the sophistication required in the presentation. Fast Tube by Casper The \pause command is the

Read more »

From igraph to network and back again

August 25, 2010
By
From igraph to network and back again

In an effort to achieve this (last paragraph), I created a couple of functions to coerce networks as ‘igraph’ objects to networks as ‘network’ objects and vice versa. I wrapped them into a package called ‘intergraph’ which I just uploaded to my personal miniCRAN. Please mind, this is still an experimental version! Might be bug-infested.

Read more »

Mike’s CNC 2010-08-25 07:54:00

August 25, 2010
By

Just joined R bloggers (http://www.r-bloggers.com/). I'm using R to write G-code for the milling maching. This evening (10/25/2010), I'll give a talk on this at the DC-area UseR meetup. Here's a link to the presentation: http://files.meetup.com/1503...

Read more »

Mike’s CNC 2010-08-25 07:54:00

August 25, 2010
By

Just joined R bloggers (http://www.r-bloggers.com/). I'm using R to write G-code for the milling maching. This evening (10/25/2010), I'll give a talk on this at the DC-area UseR meetup. Here's a link to the presentation: http://files.meetup.com/1503...

Read more »

What the hell is a variance matrix?

August 25, 2010
By
What the hell is a variance matrix?

When I first came to finance, I kept hearing about “risk models”. I wondered, “What the hell is a risk model?” Of course, I didn’t say this out loud — that would have given the game away.  My wife has strict instructions that she is to be the only one to know that I’m an … Continue reading...

Read more »

informality, the 2010 edition

August 24, 2010
By

For the last two cycles I’ve done some simple regression analysis of the informal vote.  I saw Possum have his go at it, using a specification that is virtually the same as what I’ve run in the past (2007, 2004). The 2010 edition follows.  As usual, electorate-level informality in House of Reps voting increases with

Read more »

How Safe is Your Money?

August 24, 2010
By
How Safe is Your Money?

The FDIC regularly publishes a Failed Bank List and related statistics.  This post uses data in the original XLS from the FDIC web site which is formatted for human consumption to produce the charts below using R.  Note that 2010 data be...

Read more »

Almost There

August 24, 2010
By

It’s been a long wait, but it’s almost over… Ever felt like you started a term paper over and over? Never really getting the mojo to finish it? That’s how I felt creating an ubuntu package for rApache. They should be available in a few hours on...

Read more »