Question

In: Statistics and Probability

a. Use an appropriate test to evaluate whether position in the batting order and bat speed...

a. Use an appropriate test to evaluate whether position in the batting order and bat speed contribute to the number of home runs (HR) hit per season. Keep in mind that we would like to be able to make inferences about the influence of bat speed across the entire range observed within Major League Baseball, not just the random bat speeds that we tested.

b. Make a single plot of the mean responses at each level of both factors and evaluate.

1) State all relevant hypotheses (nulls and alternatives).

2) State which test was used and why you used it.

3) State conclusions after completing your analyses.

batting order slot bat speed HR per season
Top Fast 24
Middle Fast 41
Bottom Fast 21
Top Fast 15
Middle Fast 34
Bottom Fast 18
Top Fast 12
Middle Fast 29
Bottom Fast 14
Top Slow 13
Middle Slow 24
Bottom Slow 8
Top Slow 11
Middle Slow 27
Bottom Slow 12
Top Slow 6
Middle Slow 18
Bottom Slow 9

Solutions

Expert Solution

> data1=read.csv(file.choose(),header=T)
> names(data1)
[1] "batting.order.slot" "bat.speed" "HR.per.season"   
> attach(data1)
The following objects are masked from data1 (pos = 4):

bat.speed, batting.order.slot, HR.per.season

b). > xyplot(HR.per.season~batting.order.slot|bat.speed,pch=16)


> by(HR.per.season,list(batting.order.slot,bat.speed),FUN = mean)
: Bottom
: Fast
[1] 17.66667
---------------------------------------------------------------
: Middle
: Fast
[1] 34.66667
---------------------------------------------------------------
: Top
: Fast
[1] 17
---------------------------------------------------------------
: Bottom
: Slow
[1] 9.666667
---------------------------------------------------------------
: Middle
: Slow
[1] 23
---------------------------------------------------------------
: Top
: Slow
[1] 10
a) 1. Null hypothesis ->
  
Alternative hypothesis -> H1A : not H0A
H1B : not H0B,

where = Mean of HR per season for batting order slot i, i=1(1)3 [ 1=Top, 2=Middle, 3=Bottom]
and = Mean of HR per season for batting speed j, j=1(1)2 [1=Fast, 2=Slow]

2. Two-way ANOVA with replications has been used since we have two factors Batting order slot and batting speed and we have more than observation for each combination of the two factors.

3..> model=aov(HR.per.season~batting.order.slot+bat.speed)
> summary(model)
Df Sum Sq Mean Sq F value Pr(>F)
batting.order.slot 2 930.3 465.2 24.11 2.92e-05 ***
bat.speed 1 355.6 355.6 18.43 0.000744 ***
Residuals 14 270.1 19.3   
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Since p-value for both the factors are very small, we reject both the null hypotheses and conclude that both batting order slot and batting speed significantly affect the HR per season.


Related Solutions

a. Use an appropriate test to evaluate whether the number of prey eaten differs among three...
a. Use an appropriate test to evaluate whether the number of prey eaten differs among three habitat types. Assume the data are normally distributed. b. If habitat type affects the number of prey eaten, determine which habitats differ from which others. c. Evaluate the same hypothesis, but now assume that the data are not distributed normally (You don’t need to determine which habitats differ from which others for this question) 1) State all relevant hypotheses (nulls and alternatives). 2) State...
Use the appropriate test to determine whether X1 can be dropped from the regression model given...
Use the appropriate test to determine whether X1 can be dropped from the regression model given that X2 is retained. Use level of significance 0.05. Find the value of appropriate test statistic, the critical vale and the P-value. Plese show me how to use R to solve this. 0.1537; 4.6679; 0.7014 0.1537; 4.3245; 0.6523 1.537; 4.6932; 0.4128 2.5632; 4.6679; 0.3128 X1   X2   Y 190   130   35 176   174   81.7 205   134   42.5 210   191   98.3 230   165   52.7 192   194  ...
Evaluate whether each of the following statements are true or false. It is appropriate to compute...
Evaluate whether each of the following statements are true or false. It is appropriate to compute the correlation coefficient when one of the variables is ordinal as long as at least one variable is in interval. (True/False) R (correlation coefficient) between X and Y represents the percentage of variability of variable X explained by variability of variable Y (True/False) When correlation coefficient is negative, standard error of prediction is also negative (True/False) When correlation coefficient is positive, beta (B) value...
Whether or NOT it is appropriate, answer the following concerning the test of the mean. What...
Whether or NOT it is appropriate, answer the following concerning the test of the mean. What is the value of the appropriate test statistic for the statistical test of the mean? Note: Input Answer you calculate to 3 Decimal Places. DATA BELOW: The Population Mean for daily high temperatures in Hawaii for the month of January is 80 degrees; however, the Population Standard Deviation is Unknown. A researcher tests whether mean January temperatures in Hawaii have been significantly higher over...
Name the test or tests that are appropriate to answer the following questions. (a) Whether the...
Name the test or tests that are appropriate to answer the following questions. (a) Whether the slope of the best fit line is different from zero? (b) Whether the slope of the best fit line is greater than 1? (c) Whether the intercept is different from zero? (d) Whether the intercept is less than - 3? These questions are related to Regression. Please explain why these tests would be best so I can understand.
In order to evaluate an intelligence test WHY is it necessary to know the standardization sample,...
In order to evaluate an intelligence test WHY is it necessary to know the standardization sample, and whether the test has reliability and validity. Explain in terms of intelligence tests, specifically.
Arrange in order of increasing atomic size. (Use the appropriate <, =, or > symbol to...
Arrange in order of increasing atomic size. (Use the appropriate <, =, or > symbol to separate substances in the list.) (a) the Period 2 elements C, Ne, and O (b) the Group 4A elements Ge, C, and Pb
What statistical test is most appropriate if you want to examine whether there is a difference...
What statistical test is most appropriate if you want to examine whether there is a difference in graduation rates (percentages) between public and private high schools in your state of residence? Assume the data meets the assumptions for a parametric test.
Part III. Below indicate whether the appropriate test would be an independent t-test, dependent t-test, One-way...
Part III. Below indicate whether the appropriate test would be an independent t-test, dependent t-test, One-way ANOVA, or z-test. 4. A researcher wants to know if people find baby animals cuter than adult animals. All of the participants in a study are shown 10 pictures of baby animals and 10 pictures of adult animals. They are asked to rate (on a 1 to 10 scale) how cute they think each animal is. 5. A statistics professor wants to know if...
In order to test whether camshafts are being manufactured to specification a sample of n =...
In order to test whether camshafts are being manufactured to specification a sample of n = 50 camshafts are selected at random. The average value of the sample is calculated to be 4.38 mm and the depths of the camshafts in the sample vary by a standard deviation of s = 0.42 mm. Test the hypotheses selected previously, by filling in the blanks in the following: An estimate of the population mean is . The standard error is . The...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT