## Flow Control, Iteration, Vectorizing (Introduction to Statistical Computing)

September 4, 2013
By

Lecture 3: Conditioning the calculation on the data: if; what is truth?; Boolean operators again; switch. Iteration to repeat similar calculations: for and iterating over a vector; while and conditional iteration (reducing for to while); repeat and u...

## Use this chart at your own peril

September 4, 2013
By

On Twitter, Joe D. disliked the following chart on the Information is Beautiful blog: *** The chart carries a long list of flaws. The column labeled "%" is probably the most jarring. The meaning of these numbers changes with the...

## Another Look at Many Eyes, 18 Months Later

September 4, 2013
By

In February of last year, I wrote a posting based on some data I had scraped from Many Eyes, and criticizing where I thought it was going (or not going). Here is an update, eighteen months later, of some of the things that have happened in the meantime, and some new data. My interest in […]

## Gelman’s response to my comment on Jaynes

September 4, 2013
By

Gelman responds to the comment[i] I made on my 8/31/13 post: Popper and Jaynes Posted by Andrew on 3 September 2013 Deborah Mayo quotes me as saying, “Popper has argued (convincingly, in my opinion) that scientific inference is not inductive but deductive.” She then follows up with: Gelman employs significance test-type reasoning to reject a model when the data sufficiently disagree. […]

## Popper and Jaynes

September 3, 2013
By

Deborah Mayo quotes me as saying, “Popper has argued (convincingly, in my opinion) that scientific inference is not inductive but deductive.” She then follows up with: Gelman employs significance test-type reasoning to reject a model when the data sufficiently disagree. Now, strictly speaking, a model falsification, even to inferring something as weak as “the model […]The post Popper and Jaynes appeared first on Statistical Modeling, Causal Inference, and Social Science.

## Is Economics too Important for Economists?

September 3, 2013
By

Like piranha fish in a feeding frenzy, different research tribes fight furiously to stake claims in new areas like financial engineering and risk management. Fringe players, in particular, often strive to move toward the center, or to redefine the cent...

## The inutility of stacking columns

September 3, 2013
By

When I see a stacked column chart like this: (via Andrew Sullivan) I immediately want to remake it as a line chart, like this: The decline in households with two parents and children appears more dramatic in the line chart,...

## Evaluating evidence from published research

September 3, 2013
By

Following up on my entry the other day on post-publication peer review, Dan Kahan writes: You give me credit, I think, for merely participating in what I think is a systemic effect in the practice of empirical inquiry that conduces to quality control & hence the advance of knowledge by such means (likely the title […]The post Evaluating evidence from published research appeared first on Statistical Modeling, Causal Inference, and…

## Statistics and Big Data: a pending marriage

September 3, 2013
By

The current issue of Significance includes an article by me on the "pending marriage between statistics and Big Data". If you are a member of either the American Statistical Association or the Royal Statistical Society, you should be able to access the article via this link. If you don't belong to one of those, and you have a smartphone or tablet, you can download the Significance app -- because 2013…

## Visitors

September 3, 2013
By

I wasn't really a great fan of the show when I was growing up, and I also think (hope!) that the picture is not fitting to what I'm about to say...But when I was at BayesPharma earlier this year, Miguel Negrín has kindly invited me to v...

## Convert a string into a vector of characters

September 3, 2013
By

Sometimes it is useful in the SAS/IML language to convert a character string into a vector of one-character values. For example, you might want to count the frequency distribution of characters, which is easy when each character is an element of a vector. The question of how to convert a [...]

## A Map of the Age of all Buildings in the Netherlands

September 3, 2013
By

What can be accomplished for about 320,000 buildings in a New York neighborhood, can also be done for 9,866,539 buildings located in a whole country. In the interactive map [waag.org] each building in the Netherlands is been shaded according to the ye...

## Doughnut chart in R with googleVis

September 3, 2013
By

The guys at Google continue to update and enhance the Chart Tools API. One new recent feature is a pie chart with a hole, or as some call them: donut charts.Thankfully the new functionality is being achieved through new options for the existing pie cha...

## PaperScape: an Overview of all Scientific Papers Submitted at arXiv

September 2, 2013
By

The interactive map PaperScape [paperscape.org] by high energy physics researcher Damien George and particle physics PhD student Rob Knegjens provides a visual overview of all the 869,258 scientific physics, mathematics, and computer papers that have ...

## More on Heteros*edasiticity

September 2, 2013
By

Thanks to Rikky Vohra for bringing still more to my attention. Absolutely classic!

## Showing results from Cox Proportional Hazard Models in R with simPH

September 2, 2013
By

Update 2 February 2014: A new version of simPH (Version 1.0) will soon be available for download from CRAN. It allows you to plot using points, ribbons, and (new) lines. See the updated package description paper for examples. Note that the ribbons argu...

## Passing-Bablok Regression: R code for SAS users

September 2, 2013
By

While at the Joint Statistical Meeting a few weeks ago I was talking to a friend about various aspects to clinical trials. He indicated that no current R package was able to perfectly reproduce Passing-Bablok (PB) regression so that it exactly matched SAS. He ultimately wrote a couple of functions and kindly shared them with […]

## “Il y a beaucoup de candidats démocrates, et leurs idéologies ne sont pas très différentes. Et la participation est imprévisible.”

September 2, 2013
By

As I wrote a couple years ago: Even though statistical analysis has demonstrated that presidential elections are predictable given economic conditions and previous votes in the states . . . it certainly doesn’t mean that every election can be accurately predicted ahead of time. Presidential general election campaigns have several distinct features that distinguish them […]The post “Il y a beaucoup de candidats démocrates, et leurs idéologies ne sont pas…

## Easy 3-Minute Guide to Making apply() Parallel over Distributed Grids and Clusters in R

September 2, 2013
By

Last week I attended a workshop on how to run highly parallel distributed jobs on the Open Science Grid (osg). There I met Derek Weitzel who has made an excellent contribution to advancing R as a high performance computing language by developing BoscoR. BoscoR greatly facilitates the use of the already existing package “GridR” by […] The post Easy 3-Minute Guide to Making apply() Parallel over Distributed Grids and Clusters…

September 1, 2013
By

Khan academy probability videos and exercises aren’t good either Dear Mr Khan You have created an amazing resource that thousands of people all over the world get a lot of help from. Well done. Some of your materials are not … Continue reading →

## Sunday data/statistics link roundup (9/1/13)

September 1, 2013
By

There has been a lot of discussion of the importance of open access on Twitter. I am 100% in favor of open access (I do wish it was less expensive), but I also think that sometimes people lose sight of … Continue reading →

## Summary stats for ABC

September 1, 2013
By
$Summary stats for ABC$

Introduction In the previous post I gave a very brief introduction to ABC, including a simple example for inferring the parameters of a Markov process given some time series observations. Towards the end of the post I observed that there were (at least!) two potential problems with scaling up the simple approach described, one relating […]

## Summary stats for ABC

September 1, 2013
By
$Summary stats for ABC$

Introduction In the previous post I gave a very brief introduction to ABC, including a simple example for inferring the parameters of a Markov process given some time series observations. Towards the end of the post I observed that there were (at least!) two potential problems with scaling up the simple approach described, one relating […]