## Using planel.groups in lattice

September 17, 2013
By

Last Tuesday I attended the LondonR user group meeting, where Rich and Andy from Mango argued about the better package for multivariate graphics with R: lattice vs. ggplot2. As part of their talk they had a little competition in visualising London Unde...

## Strategy Metaphors in Soccer

September 17, 2013
By

I play football (soccer) every week in a recreational indoor league. While this is a pretty hectic game with no real time to breathe, I've noticed a few patterns that, in the moment, convince me that there should be a...

## Writing Multiple Functions (Introduction to Statistical Computing)

September 17, 2013
By

Lecture 5: Using multiple functions to solve multiple problems; to sub-divide awkward problems into more tractable ones; to re-use solutions to recurring problems. Value of consistent interfaces for functions working with the same object, or doing si...

## Lab: Of Big- and Small- Hearted Cats (Introduction to Statistical Computing)

September 17, 2013
By

In which we practice the arts of writing functions and of estimating distributions, while contemplating just how little room there is in the heart of a cat. Lab Introduction to Statistical Computing

## Homework: Hitting Bottom and Calling for a Shovel (Introduction to Statistical Computing)

September 17, 2013
By

In which we see how to minimize the mean squared error when there are two parameters, in the process learning about writing functions, decomposing problems into smaller steps, testing the solutions to the smaller steps, and minimization by gradient de...

## Top-Down Design (Introduction to Statistical Computing)

September 17, 2013
By

Lecture 6: Top-down design is a recursive heuristic for solving problems by writing functions: start with a big-picture view of the problem; break it into a few big sub-problems; figure out how to integrate the solutions to each sub-problem; and then ...

## LaTeX: Itemize and Enumerate

September 17, 2013
By

Previously, we talk about paragraph, spacing, and indentation. What about listing in $\mathrm{\LaTeX}$?Just like MS Word, $\mathrm{\LaTeX}$ has both bullet and alphanumeric environment for listing. Bullet listing is constructed inside the itemize domai...

## Forecasting with daily data

September 17, 2013
By

I’ve had several emails recently asking how to forecast daily data in R. Unless the time series is very long, the easiest approach is to simply set the frequency attribute to 7. y <- ts(x, frequency=7) Then any of the usual time series forecasting methods should produce reasonable forecasts. For example library(forecast) fit <- ets(y) fc <- forecast(fit) plot(fc) When the time series is long enough to take in more…

## Attendance in parliament (in Italy)

September 16, 2013
By

Earlier today, I found some interesting data on Italian MPs voting records in the current parliament (which was opened last April). The data are available for both Houses (the Italian system has a lower house, called Camera $-$ effectively the same as ...

## Visualizing a normal distribution as outcomes from a spinner

September 16, 2013
By

Mike Meredith has a new blog post showing an animation that converts a spinner to a normal distribution. It shows hows segments of the spinner map to regions under the normal distribution. Give it a look!(Mike Meredith is also the fellow who created th...

## Data Analysis in the top 9 courses in lifetime enrollment at Coursera!

September 16, 2013
By

Holy cow I just saw this, my Coursera class is in the top 9 by all time enrollment! Top 9 courses on #coursera by lifetime enrollment current as of 9/16- check out & enroll: http://t.co/2X0EJoetoC! pic.twitter.com/d0Sko1KhoD — Coursera (@coursera) September … Continue reading →

## He’s adult entertainer, Child educator, King of the crossfader, He’s the greatest of the greater, He’s a big bad wolf in your neighborhood, Not bad meaning bad but bad meaning good

September 16, 2013
By

An offhand mention in this recent post motivated me to google Evilicious. And this is what I found: From the prologue: The idea I [Hauser] develop is that evildoers are made in much the same way that addicts are made. Both processes start with unsatisfied desires. Whether it is a taste for violence or a […]The post He’s adult entertainer, Child educator, King of the crossfader, He’s the greatest of…

## Lunch and talk on Wednesday

September 16, 2013
By

Note: This is a cross-post from Junk Charts. I will be the luncheon speaker at INFORMS NYC on Wednesday in NYC. The talk will provide some context for my new book Numbersense (link), and discuss a few examples from the book. You can pre-register here. INFORMS is the professional society for Operations Research and Management Science people. For some years, I have attended these regularly and learned a lot from…

## Lunch and talk Wednesday

September 16, 2013
By

I will be the luncheon speaker at INFORMS NYC on Wednesday in NYC. The talk will provide some context for my new book Numbersense (link), and discuss a few examples from the book. You can pre-register here. INFORMS is the...

## What versions of R are supported by SAS?

September 16, 2013
By

SAS has supported calling R from the SAS/IML language since 2009. The interface to R is part of the SAS/IML language. However, there have been so many versions of SAS and R since 2009, that it is hard to remember which SAS release supports which versions of R. The following [...]

## Profile Likelihood for New Jersey U.S. Senate Special Election

September 16, 2013
By

As it stands right now Cory Booker has a very good chance of winning the New Jersey Special U.S. Senate election on October 16 to replace Frank Lautenberg and fill the remainder of his term for the next 15 months.  So with the election only about a month away I took advantage of some of […]

## Data Visualization and Journalism Event in San Francisco on September 26

September 16, 2013
By

Visual.ly is hosting an event on data visualization and journalism on September 26 in San Francisco, under the rather clever heading of DV’n'J (think PB&J). I’m one of the speakers. I will be talking about my research on storytelling and where I see visualization going in journalism. Given the audience, The new Story Points feature […]

## How to learn statistics (Part 2)

September 15, 2013
By

Some more help (preaching?) for students of statistics Last week I outlined the first five principles to help people to learn and study statistics. They focussed on how you need to practise in order to be good at statistics and … Continue reading →

## 60 Seconds on Measurement vs. Theory in all the Sciences

September 15, 2013
By

At Penn we have something of a unique tradition, an ongoing series of "60-Second Lectures." Four Penn profs speak each semester, outdoors, at noon on four consecutive Wednesdays. And yes, each of the four lectures is capped at 60 seconds.60-Second...

## Swiss Jonah Lehrer update

September 15, 2013
By

Nassim Taleb adds this link to the Dobelli story.I’m confused. I thought Swiss dudes were supposed to plagiarize their own stuff, not rip off other people’s. Whassup with that?The post Swiss Jonah Lehrer update appeared first on Statistic...

## JAGS users: runjags has been updated

September 15, 2013
By

Image credit: http://www.potracksgalore.com/accessories/hanging-chains/premierpotrackchains.cfm The package runjags by Matt Denwood has been recently updated. The runjags package has many nice facilities for running JAGS, especially a seamless interfac...

## The it-gets-me-so-angry-I-can’t-deal-with-it threshold

September 15, 2013
By

I happened to be looking at Slate (I know, I know, but I’d already browsed Gawker and I was desperately avoiding doing real work) and came across this article by Alice Gregory entitled, “I Read Everything Janet Malcolm Ever Published. I’m in awe of her.” I too think Malcolm is an excellent writer, but (a) […]The post The it-gets-me-so-angry-I-can’t-deal-with-it threshold appeared first on Statistical Modeling, Causal Inference, and Social Science.

## Lab: Only the Answers Have Changed (Introduction to Statistical Computing)

September 15, 2013
By

In which we try our hand at controlling the flow of our code, and learn about the reproducibility of randomized procedures. Lab, R code Introduction to Statistical Computing