Chapter 6: Problem 127
6.127 Team Batting Average in Baseball The dataset BaseballHits gives 2014 season statistics for all Major League Baseball teams. We treat this as a sample of all MLB teams in all years. Computer output of descriptive statistics for the variable giving the batting average is shown: Descriptive Statistics: BattingAvg \(\begin{array}{rrrr}\mathrm{N} & \text { Mean } & \text { SE Mean } & \text { StDev } \\ 30 & 0.25110 & 0.00200 & 0.01096\end{array}\) Variable BattingAvg \(\begin{array}{rrrrr}\text { Minimum } & \text { Q1 } & \text { Median } & \text { Q3 } & \text { Maximum } \\ 0.22600 & 0.24350 & 0.25300 & 0.25675 & 0.27700\end{array}\) (a) How many teams are included in the dataset? What is the mean batting average? What is the standard deviation? (b) Use the descriptive statistics above to conduct a hypothesis test to determine whether there is evidence that average team batting average is different from 0.260 . Show all details of the test. (c) Compare the test statistic and p-value you found in part (b) to the computer output below for the same data: One-Sample T: BattingAvg Test of \(m u=0.26\) vs not \(=0.26\) \(\begin{array}{lrrr}\text { Variable } & \text { N } & \text { Mean } & \text { StDev } \\ \text { BattingAvg } & 30 & 0.25110 & 0.01096 \\ \text { SE Mean } & 95 \% \text { Cl } & \text { T } & \text { P } \\ 0.00200 & \\{0.24701,0.25519) & -4.45 & 0.000\end{array}\)