example of Bayesian inversion

This is based upon my solution of Exercise 2.3, page 18, R. Christensen, W. Johnson, A. Branscum, T. E. Hanson, Bayesian Ideas and Data Analysis, Chapman & Hall, 2011. The purpose is to show how information latent in a set of data can be revealed by Bayesian inference or, as it is sometimes called in this case, Bayesian inversion.

There’s data about numbers of cars manufactured on different days, and data regarding numbers of those cars which are defective.

BayesianInversion--DefectiveCars003

It would be interesting to know what’s the proportion overall that are defective. Well, it’s
BayesianInversion--DefectiveCars004

Then, it’s interesting to ask, what’s the probability of a defective car given that it’s Friday, or
BayesianInversion--DefectiveCars005

Applying Bayes Rule, this can be calculated as
BayesianInversion--DefectiveCars007

The same can be asked about Tuesday, or
BayesianInversion--DefectiveCars009

Now, this data is known. I buy a car. It’s defective. What are the odds it was manufactured on a Friday as opposed to a Tuesday?
BayesianInversion--DefectiveCars011

My point? This needed be limited to problems regarding defective cars. Rather than calculating p-values from mysteriously posed t-tests applied to statistical populations for which the assumptions regarding t-tests are questionable, such as might arise in determining whether a temperature trend is statistically important, with a bit more sophistication, the odds of there being a trend versus their not being a trend can be calculated. Moreover, different models can be compared in similar ways.

Professor John Kruschke explains in part why and how:

Vehtari and Ojanen say a lot more, and Congdon illustrates the technique in detail.

Response

  1. […] Source: example of Bayesian inversion […]

Leave a Reply

About the author

Sophia Bennett is an art historian and freelance writer with a passion for exploring the intersections between nature, symbolism, and artistic expression. With a background in Renaissance and modern art, Sophia enjoys uncovering the hidden meanings behind iconic works and sharing her insights with art lovers of all levels. When she’s not visiting museums or researching the latest trends in contemporary art, you can find her hiking in the countryside, always chasing the next rainbow.