O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

Practice the following exercises to reinforce the concepts learned in this chapter:

  • Recall the drug testing at Daisy Girl, Inc. earlier in the chapter. We used .1% as our prior probability that the employee was using the drug. Why should this prior have been even lower? Using a subjective Bayesian interpretation of probability, estimate what the prior should have been given that the employee was able to hold down a job and no one saw her/him act like an alligator.
  • Hark back to the example of the coin from Larry the Untrustworthy Knave. We would expect the proportion of heads in a fair coin that is flipped many times to be around 50%. In Larry's coin, the proportion was 2/3, which is unlikely to occur. The probability of 20 heads ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required