Question

In: Statistics and Probability

****MUST BE FAMILIAR WITH R STUDIO PROGRAMMING***** Random samples of resting heart rates are taken from...

****MUST BE FAMILIAR WITH R STUDIO PROGRAMMING*****

Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and population 2 does not. The data from these two samples (in beats per minute) are given below:

Exercise group (sample from population 1): 62.4, 64.1, 66.8, 60.7, 68.2, 69.2, 64.9, 70.9, 67.7, 68, 58.5, 58.9, 64.7

No exercise group (sample from population 2): 79.3, 73.8, 75.3, 74.7, 76.9, 74.9, 73.2, 75.7, 75.2, 76.7, 78.7

Estimate the difference in mean resting heart rates between the two groups using a 9797% confidence interval.

Using a complete test of hypothesis at an α=0.03α=0.03 level of significance, is there evidence to conclude that those who exercise regularly have lower resting heart rates?

Use the approximate value for the degrees of freedom (the smallest between ?1 − 1 and ?2 − 1).

(a) Create two vectors to store the data. Find, store and display the mean, standard deviation and number of observations for each sample.

(b) Draw a properly labelled boxplot for each sample. Comment on the validity of the assumption of normality for these data.

(c) Construct a confidence interval for the difference in mean resting heart rates between the two groups. Assume normality, and use the level of confidence given to you in WW. Does the confidence interval support a difference between the two means? Explain.

(d) Test the claim that those who exercise regularly have lower resting heart rates than those who do not. Use the level of significance given to you in WW. You must include: i) null and alternative hypotheses; ii) test statistic; iii) P-value; iv) decision in term of the null hypothesis; v) decision in context.

(e) Create a properly labelled plot that includes the sampling distribution of the statistic under the null hypothesis, the value of the statistic as a vertical line, and the P-value.

Solutions

Expert Solution


Related Solutions

Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 71, 68, 67, 70, 70, 70, 67 Population 2: 69, 70, 73, 69, 76, 79, 75, 78 Is there evidence, at an α=0.02 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? (Assume that the population variances are equal.) Carry out an...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 72, 71, 65, 65, 72, 73, 70 Population 2: 72, 72, 75, 70, 73, 69, 77, 77 Is there evidence, at an α=0.06 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? (Assume that the population variances are equal.) Carry out an...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 64, 65, 63, 69, 70, 65, 68 Population 2: 69, 77, 73, 71, 79, 69, 70, 71 Is there evidence, at an α=0.001α=0.001 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? (Use the conservative method for computing degrees of freedom). Carry...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 70, 70, 71, 71, 70, 71, 62 Population 2: 69, 75, 75, 72, 75, 68, 70, 72 Is there evidence, at an ?=0.05 α = 0.05 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? (Assume that the population variances are equal.)...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and...
Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 71, 63, 68, 71, 72, 66, 73 Population 2: 68, 78, 71, 68, 75, 69, 76, 72 Is there evidence, at an α=0.07 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? Carry out an appropriate hypothesis test, filling in the information...
HW 30 #3 Random samples of resting heart rates are taken from two groups. Population 1...
HW 30 #3 Random samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 71, 63, 65, 70, 71, 67, 70 Population 2: 73, 71, 78, 73, 73, 77, 70, 69 Is there evidence, at an α=0.06 α = 0.06 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? Carry out an appropriate...
andom samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and...
andom samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 68, 73, 71, 72, 64, 70, 68 Population 2: 74, 82, 81, 72, 76, 75, 75, 72 Is there evidence, at an α=0.05 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? (Use the conservative method for computing degrees of freedom). Carry...
andom samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and...
andom samples of resting heart rates are taken from two groups. Population 1 exercises regularly, and Population 2 does not. The data from these two samples is given below: Population 1: 68, 73, 71, 72, 64, 70, 68 Population 2: 74, 82, 81, 72, 76, 75, 75, 72 Is there evidence, at an α=0.05 level of significance, to conclude that there those who exercise regularly have lower resting heart rates? (Use the conservative method for computing degrees of freedom). Carry...
Using R Studio/R programming... Usually, we will use a random sample to estimate the statistics of...
Using R Studio/R programming... Usually, we will use a random sample to estimate the statistics of the underlying population. If we assume a given population is a standard normal distribution and we want to estimate its mean, which is the better technique to estimate that mean from a sample: Use the mean of one random sample of size 500 Use the mean of 300 random samples of size 10 Run your own experiment and use your results as a supporting...
Objectives: 1. To get familiar with C# programming language 2. To get familiar with Visual Studio...
Objectives: 1. To get familiar with C# programming language 2. To get familiar with Visual Studio development environment 3. To practice on writing a C# program Task 1: Create documentation for the following program which includes the following: a. Software Requirement Specification (SRS) b. Use Case Task 2: Write a syntactically and semantically correct C# program that models telephones. Your program has to be a C# Console Application. You will not implement classes in this program other than the class...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT