Ask Statistics and Probability Expert

Hypothesis Testing - Comparing Two Groups
Datafiles used: Class Survey, IQ
1 For each of the following research questions does the situation or research question involve independent samples or paired data?

a. A researcher was interested in comparing the resting pulse rate of people who exercise regularly and people who do not exercise regularly. Simple random samples of 16 people ages 30-40 who do not exercise regularly and 12 people ages 30-40 who do exercise regularly were selected and the resting pulse rate of each person was measured.


b. A company which designs sports shoes has made an improvement to their popular running shoe. They hope that athletes wearing the new running shoe will be able to run faster over short distances. They need to determine whether the mean time to run 100 meters for a random sample of 35 sprinters wearing the new running shoe is less than the mean time to run the 100 meters for the same sample of 35 sprinters wearing the old running shoe.


c. A pharmaceutical company wants to determine whether its new antianxiety medication has any effect on resting pulse rate. They need to determine whether the mean resting pulse rate for a random sample of 25 adults before the antianxiety medication is taken differs from the mean resting pulse rate for the same sample of 25 adults after taking the antianxiety medication.

d. A researcher was interested in comparing the heights of women in two different countries. Independent simple random samples of 9 women from country A and 9 women from country B yielded the following heights (in inches).

3 In the Datasets folder open the Class Survey dataset. The variable Gender indicates whether respondents were female or male students. We'll compare the mean number of parties attended per month (Monthly Parties is the variable) for female students versus male students to see if males have a higher propensity for partying.
a. In words, write a null hypothesis for this situation. We're comparing two means (number of parties attended monthly for female students versus male students.)



b. Consider female students to be population 1 and male students to be population 2. Using statistical notation for means, write null and alternative hypotheses for this problem.

c. Recall from the lecture notes that when doing a two-sample t-test, consideration should be made to determine whether the two standard deviations (or variances) are equal. To check, use software to find the standard deviation for Monthly Parties for the two categories of Gender status. In Minitab, you can get these SD by Stat > Basic Statistics > Display Descriptive and select Monthly Parties for Variables and Gender for By Variables. SPSS users go to Analyze > Descriptive Statistics > Explore and use Monthly Parties in the Dependent List and Gender for Factor List.
i. What are the two standard deviations?
Std.dev for female students:

Std.dev for male students:


ii. Is the larger standard deviation more than twice the smaller standard deviation?

ii. If your answer to part ii is "Yes", then we will use the unpooled method for calculating the standard error. If your answer was "No", then we can use the pooled method. Which method should we use?

d. The two-sample t-test is used to compare means when data is from two independent samples (as it is here). Use software to conduct a 2-sample t test. If your answer to part iii above is "NO" use pooled then click the box for "Assume Equal Variances". If you are using SPSS the software will automatically provide results for both the pooled and unpooled methods, i.e. there is no pooled feature to choose. Read the output to find the values of the t-statistic and the p-value.



e. State a conclusion about the hypotheses and about the "real world" situation.


f. The formula for the pooled t-statistic is . The formula for the non-pooled t-statistic is

Give values for each of the elements in the formula.


If you selected the pooled method, provide a value for the pooled standard deviation. If using SPSS the output does not provide the Sp (i.e. the pooled standard deviation). Instead, you will find two standard errors. Enter the correct pooled standard error from SPSS to replace .


g. The output includes a 95% confidence interval for the difference between means. Write a sentence that interprets this interval in terms of how much difference there is mean attendance at parties between the genders.



h. Refer again the to the 95% confidence interval of the previous part. Explain why it is evidence that makes it reasonable to conclude that the population means differ.




3. Using the same Class Survey datafile, we want to determine if there is increased experimental marijuana use (variable is Try Weed) for male students versus that of female students (variable is Gender.)

a. Let p1 = population proportion of those who tried weed for female students and p2 = the corresponding proportion for male students. Write null and alternative hypotheses about p1 and p2 for testing to see if the proportion for male students is higher.


b. If using Minitab (you can use the Start menu to do this), then use Stat>Basic Stats> 2 proportions. Since we are not testing if the difference is 0, we would not select the Use Pooled Estimate of p (this is done only for confidence intervals and two tailed tests.) If you are using SPSS, then follow the directions in the lecture notes to perform the test on the data set Seatbelts in the data set folder. Use the output to give values for the following:

For female students, sample proportion = = _________

For male students, sample proportion = = ________

The difference between the sample proportions is = _______

Value of test statistic = _________ p-value = _______

c. What is your conclusion from this test? Explain whether we can we say the proportion of males who tried weed is greater than that of female students.




4. In the Datasets folder click the link for the IQ datafile. This data set contains the IQ scores for twenty individuals, along with their scores on both a Mathematics Competency test as well as Abstract Reasoning test, both of which are measured on a 0 - 50 point scale. Is there a difference how those tested scored on the Mathematics Competency test and Abstract Reasoning test? Since we are considering differences between two measurements (i.e. Math Exam score and Abstract Reasoning score) on the same individual we can consider the data to be paired. Use software to conduct a Matched Paired t-test.

a. Write the null and alternative hypotheses using appropriate statistical notation.

H0: Ha:

b. Based on the Confidence interval what is your conclusion?

c. Based on your p-value, what is your conclusion?

d. Use the data from the output to calculate the t-statistic by: t = =

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M91043689

Have any Question?


Related Questions in Statistics and Probability

Introduction to epidemiology assignment -assignment should

Introduction to Epidemiology Assignment - Assignment should be typed, with adequate space left between questions. Read the following paper, and answer the questions below: Sundquist K., Qvist J. Johansson SE., Sundquist ...

Question 1 many high school students take the ap tests in

Question 1. Many high school students take the AP tests in different subject areas. In 2007, of the 144,796 students who took the biology exam 84,199 of them were female. In that same year,of the 211,693 students who too ...

Basic statisticsactivity 1define the following terms1

BASIC STATISTICS Activity 1 Define the following terms: 1. Statistics 2. Descriptive Statistics 3. Inferential Statistics 4. Population 5. Sample 6. Quantitative Data 7. Discrete Variable 8. Continuous Variable 9. Qualit ...

Question 1below you are given the examination scores of 20

Question 1 Below you are given the examination scores of 20 students (data set also provided in accompanying MS Excel file). 52 99 92 86 84 63 72 76 95 88 92 58 65 79 80 90 75 74 56 99 a. Construct a frequency distributi ...

Question 1 assume you have noted the following prices for

Question: 1. Assume you have noted the following prices for paperback books and the number of pages that each book contains. Develop a least-squares estimated regression line. i. Compute the coefficient of determination ...

Question 1 a sample of 81 account balances of a credit

Question 1: A sample of 81 account balances of a credit company showed an average balance of $1,200 with a standard deviation of $126. 1. Formulate the hypotheses that can be used to determine whether the mean of all acc ...

5 of females smoke cigarettes what is the probability that

5% of females smoke cigarettes. What is the probability that the proportion of smokers in a sample of 865 females would be greater than 3%

Armstrong faber produces a standard number-two pencil

Armstrong Faber produces a standard number-two pencil called Ultra-Lite. The demand for Ultra-Lite has been fairly stable over the past ten years. On average, Armstrong Faber has sold 457,000 pencils each year. Furthermo ...

Sppose a and b are collectively exhaustive in addition pa

Suppose A and B are collectively exhaustive. In addition, P(A) = 0.2 and P(B) = 0.8. Suppose C and D are both mutually exclusive and collectively exhaustive. Further, P(C|A) = 0.7 and P(D|B) = 0.5. What are P(C) and P(D) ...

The time to complete 1 construction project for company a

The time to complete 1 construction project for company A is exponentially distributed with a mean of 1 year. Therefore: (a) What is the probability that a project will be finished in one and half years? (b) What is the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As