The real dogs and the stat-dogs

October 5, 2016
By

(This article was originally published at Statistical Modeling, Causal Inference, and Social Science, and syndicated at StatsBlogs.)

dogs1

One of the earliest examples of simulation-based model checking in statistics comes from the 1954 book by Robert Bush and Frederick Mosteller, Stochastic Models for Learning.

They fit a probability model to data on dogs being shocked in a research lab (yeah, I know, not an experiment that would be done today). Then they simulate “stat-dogs” from their fitted model and compare them to the real dog.

It’s a posterior predictive check! OK, only approximately, as they use a point estimate of the parameters, not the full posterior distribution. But their model has only 2 parameters and they’re estimated pretty well, so that’s no big deal. Also, they only simulate a single random replicated dataset, but that works ok here because the data have internal replication (an independent series on each of 30 dogs).

The responses of real dogs, that is, the observed data, y, are shown above.

Here are the “stat-dogs,” the replicated data, y_rep:

dogs2

And here are some comparisons:

dogs3

dogs4

Jennifer and I pick up this example in chapter 24 of our book and consider how to make the graphical comparison more effective. We also talk about some other models and about how that the variation among dogs can be explained by some combination of variation between dogs and positive feedback learning (the idea that a dog learns more from an avoidance than from a shock). With such a small dataset it’s hard to untangle these two explanations.

The post The real dogs and the stat-dogs appeared first on Statistical Modeling, Causal Inference, and Social Science.



Please comment on the article here: Statistical Modeling, Causal Inference, and Social Science

Tags:


Subscribe

Email:

  Subscribe