18.05 Lecture Notes - Lecture 8: Mit Opencourseware
Document Summary
Jerry steals a jp licks token and asks jon to perform a test at signi cance level = 0. 05 to investigate whether the coin is fair or biased toward tails (the side that says token"). But before jon can compute the one-sided p-value for. H0 : = 0. 5 versus ha : < 0. 5, he needs to take aviva to the playground. (a) erika believes that jon"s intention was to count the number of heads in twelve. Compute and sketch the corresponding null-distribution, rejection region, and p-value. Hint: if a counting argument eludes you, google negative binomial distribution . The r functions dnbinom, pnbinom, etc. might be helpful. 3), so jerry gures that jon must have gotten bored and quit right after the 12th ip. Why or why not? (d) let"s reexamine the same data from the bayesian perspective. What is the likelihood function for in experiment. Given the prior beta(n,m), nd the posterior in each case.