Question 28 of my final exam for Design and Analysis of Sample Surveys

June 7, 2012
By

This is it, the last question on the exam! 28. A telephone survey was conducted several years ago, asking people how often they were polled in the past year. I can’t recall the responses, but suppose that 40% of the respondents said they participated in zero surveys in the previous year, 30% said they participated [...]

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far. Making some improvements I have been po...

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far. Making Continue reading →

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far. Making some improvements I have been pos...

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far. Making some improvements I have bee...

Read more »

Basic field guide to data journalism

June 7, 2012
By
Basic field guide to data journalism

Last Updated on Wednesday, 06 June 2012Published by Media Helping Media on Wednesday, 06 June 2012Written by Brian Boyer, John Keefe, Friedrich Lindenberg, Jane Park, Chrys WuGetting started in data journalismLooking for data on a particular topic or i...

Read more »

Duncan Watts and the Titanic

June 7, 2012
By

Daniel Mendelsohn recently asked, “Why do we love the Titanic?”, seeking to understand how it has happened that: It may not be true that ‘the three most written-about subjects of all time are Jesus, the Civil War, and the Titanic,’ as one historian has put it, but it’s not much of an exaggeration. . . [...]

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far. Making some improvements I have been pos...

Read more »

Geographical data charted right

June 7, 2012
By
Geographical data charted right

The following chart by the Financial Times reminds me of the famous Napoleon Russian Campaign map: I also love it when geographical data, in this case average house price data by region, are plotted without a map. If plotted on...

Read more »

You should not use split in production code

June 7, 2012
By

Recently I have stumbled on a problem with split function applied on list of factors. The issue is that it might produce wrong splits when splitting factors contain dots.Here is the example of the problem. Invoking the following code:df <-...

Read more »

EuroVis 2012, Day 2

June 7, 2012
By
EuroVis 2012, Day 2

Day 2 of EuroVis was a long series of paper presentations, occasionally interrupted with copious amounts of food. Here are some of the highlights. The Parallel Coordinates Matrix by Julian Heinrich, John Stasko, and Daniel Weiskopf describes a way of arranging axes in parallel coordinates to show all two-axis combinations without (much) redundancy. Doing this, it is possible to find all the interesting patterns in data without having to try…

Read more »

PLoS topic page on ABC

June 7, 2012
By
PLoS topic page on ABC

A few more comments on the specific entry on ABC written by Mikael Sunnåker et al…. The entry starts with the representation of the posterior probability of an hypothesis, rather than with the posterior density of a model parameter, which seems to lead the novice reader astray. After all, (a) ABC was not introduced for [...]

Read more »

Question 27 of my final exam for Design and Analysis of Sample Surveys

June 6, 2012
By

27. Which of the following problems were identified with the Burnham et al. survey of Iraq mortality? (Indicate all that apply.) (a) The survey used cluster sampling, which is inappropriate for estimating individual out- comes such as death. (b) In their report, Burnham et al. did not identify their primary sampling units. (c) The second-stage [...]

Read more »

Body Weight in the United States – Part 1, "The Problem"

June 6, 2012
By
Body Weight in the United States – Part 1, "The Problem"

The ProblemIn the United States, people are getting fatter and they are doing so at an alarming rate.So What?Being fat isn't just a social stigma - it's unhealthy in nearly every facet of life. Staying in this condition brings high blood pressure, diab...

Read more »

Mixture of Normal Distributions

June 6, 2012
By
Mixture of Normal Distributions

In this post I show a simple illustration of a mixture of normal distributions. For the examples, we assume we have metric values that we suppose are generated by a mixture of two different normal distributions, which I'll call clusters. We don't know ...

Read more »

Your conclusion is only as good as your data

June 6, 2012
By

Jay Livingston points to an excellent rant from Peter Moskos, trashing a study about “food deserts” (which I kept reading as “food desserts”) in inner-city neighborhoods. Here’s Moskos: From the Times: There is no relationship between the type of food being sold in a neighborhood and obesity among its children and adolescents. Within a couple [...]

Read more »

Small data

June 6, 2012
By

Big data is getting a lot of buzz lately, but small data is interesting too. In some ways it’s more interesting. Because of limit theorems, a lot of things become dull in the large that are more interesting in the…Read more ›

Read more »

Eight tips to make your simulation run faster

June 6, 2012
By
Eight tips to make your simulation run faster

"Help! My simulation is taking too long to run! How can I make it go faster?" I frequently talk with statistical programmers who claim that their "simulations are too slow" (by which they mean, "they take too long"). They suspect that their program is inefficient, but they aren't sure why. [...]

Read more »

Constants and ARIMA models in R

Constants and ARIMA models in R

This post is from my new book Forecasting: principles and practice, available freely online at OTexts.org/fpp/. A non-seasonal ARIMA model can be written as \begin{equation}\label{eq:c} (1-\phi_1B - \cdots - \phi_p B^p)(1-B)^d y_t = c + (1 + \theta_1 B...

Read more »

Constants and ARIMA models in R

June 6, 2012
By
Constants and ARIMA models in R

This post is from my new book Forecasting: principles and practice, available freely online at OTexts.com/fpp/. A non-seasonal ARIMA model can be written as (1)   or equivalently as (2)   where is the backshift operator, and is the mean of . R uses the parametrization of equation (2). Thus, the inclusion of a constant in a non-stationary ARIMA model is equivalent to inducing a polynomial trend of order in…

Read more »

Meshu: Turning Travel Itineraries into Jewelry

June 5, 2012
By
Meshu: Turning Travel Itineraries into Jewelry

The little online shop Meshu [meshu.io] turns one's travel itineraries into wearable jewelry, such as a necklace, earrings, or cufflinks, custom made in either acrylic, wood, nylon, and silver One can either select a series of cities on a world map,...

Read more »

EuroVis 2012, Day 1

June 5, 2012
By
EuroVis 2012, Day 1

EuroVis 2012 has officially begun, so here is a brief recap of some of the things I found interesting. Today, that included the EuroRVVV workshop and two papers. My goal with these postings, as with my tweeting, will not be to cover everything that happens, but very selectively describe things that were remarkable for whatever reason. EuroRVVV The workshop with the horrible name (Paul Rosenthal pronounces it “Euro-R-Triple-V”) turned out…

Read more »


Subscribe

Email:

  Subscribe