Question

In: Statistics and Probability

This assignment uses hypothesis testing to determine if there is a significant difference between the means...

This assignment uses hypothesis testing to determine if there is a significant difference between the means of three or more groups. Find solutions to the following problems. Be sure to include a statement about significance and complete a Tukey's HSD when necessary.

Subjects were interviewed about their smoking habits in cigarettes per day and were tested for their aerobic capacity. Taking cigarettes per day as the explanatory (independent) variable and aerobic capacity as the response (dependent) variable, find the correlation coefficient, the least-squares regression line, and the predicted aerobic capacity for someone whose smokes 25 cigarettes a day. Also, test the null hypothesis that smoking does not affect aerobic capacity against the alternative that increased smoking decreases aerobic capacity at 5% significance.

Cigarettes

per day

Aerobic Capacity

3

52

5

38

6

45

9

34

11

29

12

31

16

17

19

25

Solutions

Expert Solution

I have solved it using R.

The output as follows.

Cig Aero
1   3   52
2   5   38
3   6   45
4   9   34
5 11   29
6 12   31
7 16   17
8 19   25

> cor(tt)
            Cig       Aero
Cig   1.0000000 -0.8946452
Aero -0.8946452 1.0000000
> Aero_lm <- lm(Aero~Cig,data=tt)
> summary(Aero_lm)

Call:
lm(formula = Aero ~ Cig, data = tt)

Residuals:
    Min      1Q Median      3Q     Max
-6.2807 -3.7521 -0.6988 4.0840 7.1292

Coefficients:
            Estimate Std. Error t value Pr(>|t|)   
(Intercept) 52.1333     4.1777 12.479 1.62e-05 ***
Cig          -1.8033     0.3676 -4.905   0.0027 **
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 5.364 on 6 degrees of freedom
Multiple R-squared: 0.8004,    Adjusted R-squared: 0.7671
F-statistic: 24.06 on 1 and 6 DF, p-value: 0.002697

Taking cigarettes per day as the explanatory (independent) variable and aerobic capacity as the response (dependent) variable, find the correlation coefficient, the least-squares regression line, and the predicted aerobic capacity for someone whose smokes 25 cigarettes a day.

The correlation coefficient between the aerobic capacity and cigarettes is -0.8946. The least-squares regression line is . The predicted aerobic capacity for someone who smokes 25 cigarettes a day is 52.1333-1.8033*25 = 7.0508.

Also, test the null hypothesis that smoking does not affect aerobic capacity against the alternative that increased smoking decreases aerobic capacity at 5% significance.

The null hypothesis that smoking does not affect aerobic capacity at 5% significance is rejected since the p-value for the coefficient is very small at 0.0027 .


Related Solutions

We are testing the hypothesis of no difference between means of two normally distributed populations (eg...
We are testing the hypothesis of no difference between means of two normally distributed populations (eg number of cracks in bricks). Alternative hypothesis is inequality. Significance is .05. Samples from these populations are X {3,5,6,9] and Y [6,11,15,21] Sample correlation coefficient p=.993 , V(x) = 6.25 and V(Y) = 40.25 What test is appropriate (explain)? Calculate appropriate test statistic (two tailed) and the P-Value using table? State Conclusion
Hypothesis testing is based on the idea that if there is enough of a difference between...
Hypothesis testing is based on the idea that if there is enough of a difference between your experimental sample and the comparison distribution, you can see the research supports your hypothesis. Describe an experiment in which you would expect there to be a very small difference between the experimental sample and the comparison distribution. How small of a difference could there be for you to still be okay with rejecting the null hypothesis?
Suppose we are interested in testing null hypothesis that difference of two population means is the...
Suppose we are interested in testing null hypothesis that difference of two population means is the same. Consider two samples collected from a normal population. x 4.2 4.5 4.9 5.6 5.7 5.9 6.1 6.3 6.8 7.1 7.3 7.8 8.4 8.6 9.1 9.7 10.2 y 5.6 5.9 6.5 7.8 8.5 9.3 We need to testH0:x=yvsHa:x̸=yWe can use R-command t.test to compute the p-value and the confidence interval.> x = c ( 4.2 ,4.5,4.9,5.6,5.7 ,5.9, 6.1, 6.3 , 6.8 , 7.1 ,...
1- Test the hypothesis that there is a significant difference between the number of hours older...
1- Test the hypothesis that there is a significant difference between the number of hours older (60 or more) versus younger people watch T.V. Alpha is 05 a) State the assumptions b) State the null and alternate hypotheses c) explain your decision to reject or not reject and formulate your conclusion (Alpha is .05) Show your work. d) what is the mean difference between the two groups? e) what are the lower and upper 95% confidence intervals? f) which group...
E. Use the five-step hypothesis testing procedure below to determine if there is a difference in...
E. Use the five-step hypothesis testing procedure below to determine if there is a difference in the mean weight changes of mice in the two groups. Use the alpha level you selected in part D. In StatKey, you are going to conduct a randomization test for the difference in means. This data is titled “Mice Wgt Gain-2e (Light vs Dark at Night).” Note that there are two similar data sets, use the one from the second edition of the book...
7. Perform an appropriate hypothesis test to determine if there is a significant relationship between a...
7. Perform an appropriate hypothesis test to determine if there is a significant relationship between a student’s race and the punishment received for talking back to teachers in a school district. Be sure to list all your steps and interpret your findings in no more than two sentences. In School Suspension Out of School Suspension Intermediate Punishment African-American/Black 19 52 9 Hispanic/Latino 14 39 7 White 9 12 24
In testing the difference between the means of two normally distributed populations, if μ1 = μ2...
In testing the difference between the means of two normally distributed populations, if μ1 = μ2 = 50, n1 = 9, and n2 = 13, the degrees of freedom for the t statistic equals ___________. 19,20,21,22 When comparing two independent population means by using samples selected from two independent, normally distributed populations with equal variances, the correct test statistic to use is ______. z,F,t, t^2 When testing a hypothesis about the mean of a population of paired differences in which...
A researcher wants to determine if there is a significant difference between men and women in...
A researcher wants to determine if there is a significant difference between men and women in terms of guilty/non guilty pleas submitted by a sample of 50 defendants. Knowing that there are 25 women and 25 men in this sample and that 15 men entered guilty pleas [and 10 no guilty pleas] and 5 women entered guilty pleas [and 20 no guilty pleas]… [Hint: Calculated Chi-Sq. = 8.33] Formulate the null and research/alternative hypotheses. Create a contingency table with 2...
in order to determine whether or not there is a significant difference between the hourly wages...
in order to determine whether or not there is a significant difference between the hourly wages of the two companies the following data has been calculated.    company A company B sample size    80    60 sample mean $16.75 $16.25 standard deviation    $1.00    $0.95 A) what is the point estimate for the difference between the two means? B) the standard error of x1 - x2 is C)what is the 95% confidence interval for the difference between the...
Do hypothesis testing (t test) Test to see if there is a difference between grade of...
Do hypothesis testing (t test) Test to see if there is a difference between grade of male and female students - insert the SPSS output in the space below. a- What would be the alternate hypothesis for the study?                                                                                 b- What would be the null hypothesis?                                                                          c- What Level of Significance do you choose?                                               d- What is the computed t critical value for the study?                                                                 e- What is the P-value of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT