Question

In this assignment, you will test for a significant difference between the average resting heart rate...

In this assignment, you will test for a significant difference between the average resting heart rate of males and the average resting heart rate of females in your heart rate data. You have observed that the mean rates are not exactly the same but are they significantly different? You may use either of the two methods for testing a hypothesis illustrated in Realizeit: compare the two confidence intervals or use the data analysis tool to run a two-sample test with unequal variances as shown in the topic of testing two-samples. Steps Write the null hypotheses being tested Run the analysis either by using data analysis and the two-sample test or by comparing the two confidence intervals Interpret your data to determine if the resting male heart rate is the same as the resting female heart rate. Remember we are looking for whether the difference is a significant one, not just whether they are not the same. Heart rate before and after exercise M=0 F=1 Resting After Exercise 0 60.1 78.0 0 67.7 79.4 0 80.3 93.4 0 85.2 97.7 0 86.3 99.7 0 76.6 83.7 0 94.4 101.9 0 86.4 100.6 0 83.4 97.4 0 89.8 97.4 0 88.7 97.1 0 78.4 87.2 1 66.6 88.2 1 79.2 90.4 1 80.5 101.3 1 75.4 93.1 1 83.7 90.5 1 73.9 89.1 1 76.0 90.8 1 85.2 93.5 1 82.1 93.5 1 76.3 87.0 1 97.0 104.5 1 81.5 86.5 1 65.3 86.3 1 60.8 86.7 1 78.5 89.9 1 60.4 97.6 1 89.8 92.9 1 87.8 98.5

0 0
Add a comment Improve this question Transcribed image text
Answer #1

R code:

x=matrix(c(0, 60.1, 78.0, 0, 67.7, 79.4, 0, 80.3, 93.4, 0, 85.2, 97.7, 0, 86.3, 99.7,
0, 76.6, 83.7, 0, 94.4, 101.9, 0, 86.4, 100.6, 0, 83.4, 97.4, 0, 89.8, 97.4,
0, 88.7, 97.1, 0, 78.4, 87.2, 1, 66.6, 88.2, 1, 79.2, 90.4, 1, 80.5, 101.3,
1, 75.4, 93.1, 1, 83.7, 90.5, 1, 73.9, 89.1, 1, 76.0, 90.8, 1, 85.2, 93.5,
1, 82.1, 93.5, 1, 76.3, 87.0, 1, 97.0, 104.5, 1, 81.5, 86.5, 1, 65.3, 86.3,
1, 60.8, 86.7, 1, 78.5, 89.9, 1, 60.4, 97.6, 1, 89.8, 92.9, 1, 87.8, 98.5),
,nrow=30,ncol=3,byrow=TRUE)
Gender=x[,1];before=x[,2];after=x[,3]
t.test(before~Gender,alternative ="two.sided",paired = FALSE, var.equal = FALSE,
conf.level = 0.95)
t.test(after~Gender,alternative ="two.sided",paired = FALSE, var.equal = FALSE,
conf.level = 0.95)
t.test(after[1:12],before[1:12],alternative ="two.sided",paired = FALSE, var.equal = FALSE,
conf.level = 0.95)
t.test(after[13:30],before[13:30],alternative ="two.sided",paired = FALSE, var.equal = FALSE,
conf.level = 0.95)

Output 1:

Welch Two Sample t-test

data: before by Gender
t = 1.008, df = 23.961, p-value = 0.3235
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-3.838931 11.166709
sample estimates:
mean in group 0 mean in group 1
81.44167 77.77778

Since p-value= 0.3235>0.05 so there is insignificant difference of mean heart rates before exercise between male and female.

Output 2:


data: after by Gender
t = 0.2016, df = 16.68, p-value = 0.8427
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-5.240852 6.346407
sample estimates:
mean in group 0 mean in group 1
92.79167 92.23889

Since p-value= 0.8427>0.05 so there is insignificant difference of mean heart rates after exercise between male and female.

Hence there is insignificant effect of gender on heart rates.

Output 3:

Welch Two Sample t-test

data: after[1:12] and before[1:12]
t = 3.0532, df = 21.608, p-value = 0.005908
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
3.632462 19.067538
sample estimates:
mean of x mean of y
92.79167 81.44167

Since p-value=0.005908<0.05 so there is significant difference in mean female heart rate between before and after exercise.

Welch Two Sample t-test

data: after[13:30] and before[13:30]
t = 5.5003, df = 26.005, p-value = 9.015e-06
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
9.056851 19.865371
sample estimates:
mean of x mean of y
92.23889 77.77778

Since p-value=9.015e-06<0.05 so there is significant difference in mean male heart rate between before and after exercise.

Add a comment
Know the answer?
Add Answer to:
In this assignment, you will test for a significant difference between the average resting heart rate...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Steps Open the Heart Rate Dataset in Excel Using the classification of variables from Unit 1 assignment as qualitativ...

    Steps Open the Heart Rate Dataset in Excel Using the classification of variables from Unit 1 assignment as qualitative, quantitative discrete, or quantitative continuous, match each of the 3 variables to the most appropriate graph type. (For example, qualitative data can best be displayed with a pie chart or bar graph; continuous numerical data can best be displayed using a histogram) Use the graphing functions in Excel to create an appropriate graph of the data for each variable. Remember to...

  • 12. A researcher wants to determine the effect that smoking has on resting heart rate. She...

    12. A researcher wants to determine the effect that smoking has on resting heart rate. She randomly selects seven individuals from three categories: (1) nonsmokers, (2) light smokers (fewer than 10 cigarettes per day), and (3) heavy smokers (10 or more cigarettes per day) and obtains the following heart rate data (beats per minute): Nonsmokers 70 58 51 56 53 53 65 Light Smokers 67 75 65 78 62 70 73 Heavy smokers 79 80 77 77 86 68 83...

  • Aresearcher wants to determine the impact that smoking has on resting heart rate. She randomly selects...

    Aresearcher wants to determine the impact that smoking has on resting heart rate. She randomly selects 7 people from 3 groups and obtaina the heart rate data (beats per minute) in the table. Complete parts (a) through (c). Nonsmokers (a) Test the null hypothesis that the mean resting heart rate for each category e at the a - 0.05 level of significance Nate that the ay ANOVA are saisfied ldertty the nulland atemate hvectheses OA O B O C .:...

  • state the conclusion A researcher wants to determine the impact that smoking has on resting heart...

    state the conclusion A researcher wants to determine the impact that smoking has on resting heart rate. She randomly selects 7 people from 3 groups and obtains the heart rate data (beats per minute) in the table Complete parts (a) through (c) Nonsmokers 53 5 1 49 63 67 54 48 Light Smokers 72 57 67 71 64 7 1 6 1 Heavy Smokers 72 85 62 78 78 75 D B. The null hypothesis was not rejected. State the...

  • statistics help 7) Determine the decision criterion for rejecting the null hypothesis in the given hypothesis test ie, describe the values of the test statistic that would result in rejection of t...

    statistics help 7) Determine the decision criterion for rejecting the null hypothesis in the given hypothesis test ie, describe the values of the test statistic that would result in rejection of the null hypothesis Suppose you wish to test the claim that the mean value of the differences d for a population of paired data, is greater than 0. Given a sample of n-15 and a significance level of a-001, what criterion would be used for rejecting the null hypothesis...

  • What is the conclusion for t-test concerning if the mean child mortality rate for countries in...

    What is the conclusion for t-test concerning if the mean child mortality rate for countries in Africa is more than the mean child mortality rate for countries in South Asia? Did i get the right answer? 1. RYAN GREGURICH of 5 Step 1 of 1 Question 2- 00:16:35 What is the conclusion for t-test concerning if the mean child mortality rate for countrles in Afica is more than the mean child mortality rate for countries in South Asia? Answer 10...

  • %%%%% c++ assignment %%%%%% ///////// please test your program and check for errors. //////// you should...

    %%%%% c++ assignment %%%%%% ///////// please test your program and check for errors. //////// you should use the file bellow For this assignment you will write a program that creates a tree of "plants". Each plant is the result of an exeperiment. I have provided the main driver program that is responsible for running each of the experiments but you will need to create a tree for storing the results. The objective of this assignment is to learn how to...

  • 11. Suppose you are interested in estimating the effect of hours spent in an SAT preparation cour...

    11. Suppose you are interested in estimating the effect of hours spent in an SAT preparation course (hours) on total SAT score (sat). The population is all college-bound high school seniors for a particular year. (i) Suppose you are given a grant to run a controlled experiment. Explain how you would structure the experiment in order to estimate the causal effect of hours on sat. (ii) Consider the more realistic case where students choose how much time to spend in...

  • 1. Which of the following are the sites within the human body where carbon dioxide and...

    1. Which of the following are the sites within the human body where carbon dioxide and oxygen are exchanged? A. Alveoli B. Arteries C. Synapses D. Venules 2. Which of the following describes the most important reason for repeating an experimental investigation? A. To verify the validity of the original findings B. To expand upon the original investigation C. To manipulate the independent variable D. To attempt to disprove the hypothesis 3. Lithium has an atomic number of 3 and...

  • CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in...

    CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in Appendix A. Required: Compute the following ratios for Year 11. Liquidity ratios: Asset utilization ratios:* a. Current ratio n. Cash turnover b. Acid-test ratio 0. Accounts receivable turnover c. Days to sell inventory p. Inventory turnover d. Collection period 4. Working capital turnover Capital structure and solvency ratios: 1. Fixed assets turnover e. Total debt to total equity s. Total assets turnover f. Long-term...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT