Chapter 4: Problem 1
Recall For the baseball data (bb.rda), 15 out of 59 ballplayers are lefthanded. Let \(p\) be the probability that a professional baseball player is left-handed. Determine an exact \(90 \%\) confidence interval for \(p .\) Show first that the equations to be solved are: $$ \sum_{j=0}^{14}\left(\begin{array}{c} n \\ j \end{array}\right) \underline{\theta}^{j}(1-\underline{\theta})^{n-j}=0.95 \text { and } \sum_{j=0}^{15}\left(\begin{array}{c} n \\ j \end{array}\right) \bar{\theta}^{j}(1-\bar{\theta})^{n-j}=0.05 $$ Then do the following steps to obtain the confidence interval. (a) Show that \(0.10\) and \(0.17\) bracket the solution to the first equation. (b) Show that \(0.34\) and \(0.38\) bracket the solution to the second equation. (c) Then use the \(\mathrm{R}\) function binomci. \(\mathrm{r}\) to solve the equations.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.