Docsity

Hypothesis Testing and Probability Distributions in Statistics, Exams of Nursing

Toggle sidebar
bg1
1
Answer all 25 questions. Make sure your answers are as complete as possible.
Show all of your work and reasoning. In particular, when there are calculations
involved, you must show how you come up with your answers with critical work
and/or necessary tables. Answers that come straight from programs or software
packages will not be accepted. If you need to use software (for example, Excel)
and /or online or hand-held calculators to aid in your calculation, please cite the
sources and explain how you get the results.
1. True or False. Justify for full credit.
(a) If the variance of a data set is zero, then all the observations in this data set are zero.
No, all the observations will be same but it is not necessary that all the observations will be
zero, because if all the observations are same even then the variance will be zero.
(b) If P(A) = 0.4 , P(B) = 0.5, and A and B are disjoint, then P(A AND B) = 0.9.
No, because if A and B are disjoint then P(A AND B) = 0.
(c) Assume X follows a continuous distribution which is symmetric about 0. If
, then .
Yes, P(X<-3) will be less than 0.3 because the value will be towards negative side.
(d) A 95% confidence interval is wider than a 90% confidence interval of the same parameter.
Yes, a 95% confidence interval is wider than a 90% confidence interval of the same
parameter because increasing the confidence limit we increases the acceptance region and
reduces the rejection region.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download Hypothesis Testing and Probability Distributions in Statistics and more Exams Nursing in PDF only on Docsity!

Answer all 25 questions. Make sure your answers are as complete as possible.

Show all of your work and reasoning. In particular, when there are calculations

involved, you must show how you come up with your answers withcritical work

and/or necessary tables. Answers that come straight from programs or software

packages will not be accepted. If you need to use software (for example, Excel)

and /or online or hand-held calculators to aid in your calculation, please cite the

sources and explain how you get the results.

1. True or False. Justify for full credit.

(a) If the variance of a data set is zero, then all the observations in this data set are zero.

No, all the observations will be same but it is not necessary that all the observations will be zero, because if all the observations are same even then the variance will be zero.

(b) If P(A) = 0.4 , P(B) = 0.5, and A and B are disjoint, then P(A AND B) = 0.9.

No, because if A and B are disjoint then P(A AND B) = 0.

(c) Assume X follows a continuous distribution which is symmetric about 0. If , then.

Yes, P(X<-3) will be less than 0.3 because the value will be towards negative side.

(d) A 95% confidence interval is wider than a 90% confidence interval of the same parameter.

Yes, a 95% confidence interval is wider than a 90% confidence interval of the same parameter because increasing the confidence limit we increases the acceptance region and reduces the rejection region.

(e) In a right-tailed test, the value of the test statistic is 1.5. If we know the test statistic follows a Student’s t-distribution with P(T < 1.5) = 0.96, then we fail to reject the null hypothesis at 0.05 level of significance.

No, we will not be able to reject the null hypothesis as we reject the null hypothesis is test statistic is greater than the tabulated value of t.

4. In what class interval must the median lie? Explain your answer.

We will make the intervals continuous by subtracting 0.05 from lower limit and adding 0.05 in upper limit therefore the corresponding intervals will be 0.95-1.95, 1.95 - 2.95, 2.95 - 3.95, 3.95 - 4.95, 4.95 -5.95. N=25 therefore, N/2=12.5, the immediate less observation lies in 2.0-2.9 i.e. 1.95-2.95.

5. Does this distribution have positive skew or negative skew? Why?

The distribution is positively skewed as the frequency in the second interval is 12 and all the proceeding frequencies are very less. This can also be seen in the following graph

Frequency

14 12 10 8 Frequency (^) 6

4

2 0

Frequency

1.0 - 1.9 2.0 - 2.9 3.0 - 3.9 4.0 - 4.9 5.0 -5. Checkout Time (in minutes)

Refer to the following situation for Questions 8, 9, and 10.

The five-number summary below shows the grade distribution of two STAT 200 quizzes

for a sample of 500 students.

Minimum Q1 Median Q3 Maximum

Quiz 1 15 45 55 85 100

Quiz 2 20 35 50 90 100

For each question, give your answer as one of the following: (a) Quiz 1; (b) Quiz 2; (c) Both quizzeshave the same value requested; (d) It is impossible to tell using only the given information. Then explain your answer in each case.

8. Which quiz has less interquartile range in grade distribution?

Quiz 1 Because the inter quartile range i.e. Q3-Q1=40 for quiz 1 is less than the interquartile range Q3- Q1= 55 for quiz 2.

9. Which quiz has the greater percentage of students with grades 90 and over?

Quiz 2 Because 75th^ percentile of quiz 2 is having grades 90 and this is not the case for quiz 1.

10. Which quiz has a greater percentage of students with grades less than 60?

Quiz 1 Because median of quiz 1 is having grades 55 and this is not the case for quiz 1.

Refer to the following information for Questions 11, 12, and 13. Show all work. Just the answer, without supporting work, will receive no credit.

There are 1000 students in a high school. Among the 1000 students, 800 students

have a laptop, and 300 students have a tablet. 150 students have both devices.

P(Laptop)=800/1000, P(tablet)=300/1000, P(Laptop and Tablet)=150/

11. What is the probability that a randomly selected student has neither device?

The probability that the student has neither laptop nor tablet is: P(Neither Laptop nor Tablet)= 1-P(Laptop or tablet) =1-(800/1000)-(300/1000)+(200/1000) =0.

12. What is the probability that a randomly selected student has a laptop, given that he/shehas a tablet?

The probability that a randomly selected student has a laptop, given that he/she has a tablet is: P(student has laptop | student has tablet)= P(Laptop and Tablet)/ P(Tablet) = (150/1000)/(800/1000) =0.

13. Let event A be the selected student having a laptop, and event B be the selected student having atablet. Are A and B independent events? Why or why not?

Yes, the events A and B are independent of each other because the working of laptop and tablets are different and it is the choice of the students to choose any of the one i.e. laptop or tablet or both.

15. Let random variable x represent the number of heads when a fair coin is tossed three times. Showall work. Just the answer, without supporting work, will receive no credit.

(a) Construct a table describing the probability distribution.

Number of Heads (X) 0 1 2 3

Probability [P(X=r)] 0.125 0.375 0.375 0.

(b) Determine the mean and standard deviation of x. (Round the answer to two decimal places)

Mean= Expected Value of x = ∑xp(x) = 00.125 + 10.375 + 20.375 + 3*0. =1.

Standard Deviation= sqrt(∑xxp(x)- (∑xp(x))^2) =000.125 + 110.375 + 220.375 + 33*0.125 – (1.5)^ =0.

Mimi just started her tennis class three weeks ago. On average, she is able to return 20% of her opponent’s serves. Assume her opponent serves 10 times.

(a) Let X be the number of returns that Mimi gets. As we know, the distribution of X is a binomial probability distribution. What is the number of trials (n), probability of successes (p) and probability of failures (q), respectively?

n = 10, p = 0.20 and q = 1-0.20 = 0.

(b) Find the probability that that she returns at least 1 of the 10 serves from her opponent.

( Show work ) X = number of serves that Mimi returns P(X≥1) = 1- P(X=0)

10_!_ ( 0.20)^10 (0.8)

20. A random sample of 100 light bulbs has a mean lifetime of 3000 hours. Assume that the population standard deviation of the lifetime is 500 hours. Construct a 95% confidence interval

estimate of the mean lifetime. Show all work. Just the answer, without supporting work, will receive no credit.

95% confidence interval is given as Sample Mean ± Z(critical value)SE Sample mean = 3000, n = SE = standard deviation/sqrt(n)=500/sqrt(100)=500/10 = 50 Z(critical value at 0.05)=1. So the lower limit is LL = 3000-1.9650 = 2902 UL = 3000+1.96*50 = 3098 So 95% confidence interval estimate of the mean lifetime is (2902, 3098)

2 1. Consider the hypothesis test given by

H 0 : p 0.

H 1 : p 0.

In a random sample of 100 subjects, the sample proportion is found to be p ˆ 0.45.

(a) Determine the test statistic. Show all work; writing the correct test statistic, withoutsupporting work, will receive no credit.

The test statistic is:

z= ( ^ p^ - p)/σ

where σ= sqrt(p*(1- p)/n)

Under H0, the test statistic is z= (0.45-0.5)/ sqrt(0.5*(1- 0.5)/100) = -

(b) Determine the P -value for this test. Show all work; writing the correct P-value, without supporting work, will receive no credit.

p-value= P(z < -1) + P(z > 1) =0.1587+ 0.1587=0.

(c) Is there sufficient evidence to justify the rejection of^ H 0 at the^ 0.01^ level?

Explain.

No, there sufficient evidence to justify the rejection of H0 at 0.01 level of significance because, as p-value is 0.3174 which is far greater than level of significance. Hence, we will not reject the null hypothesis.

22. Consumption of large amounts of alcohol is known to increase reaction time. To investigatethe effects of small amounts of alcohol, reaction time was recorded for five individuals before and after the consumption of 2 ounces of alcohol. Do the data below suggest that consumption of 2 ounces of alcohol increases mean reaction time?

Reaction Time (seconds) Subject Before After

1 6 7 2 8 8 3 4 6 4 7 8 5 9 8

Assume we want to use a 0.01 significance level to test the claim. (a) Identify the null hypothesis and the alternative hypothesis.

H 0 :

H 1 :

D ´^ = 0

D ´^ ≠ 0

Reaction Time (seconds)

Subject Before After d (d-d )¯ ^ 1 6 7 1 0. 2 8 8 0 0. 3 4 6 2 1. 4 7 8 1 0. 5 9 8 - 1 2. 0.6 5.

(b) Determine the test statistic. Show all work; writing the correct test statistic, withoutsupporting work, will receive no credit.

The test statistic is defined as:

d ´

t= ¿

  • D ´^ ¿^ /sqrt [ (Σ(di - d ´^ )^2 / (n - 1) )/n]

under H0, the test statistic is: t=(0.6-0)/sqrt(5.2/(5-1)/5)

=1.

23. The UMUC MiniMart sells four different types of Halloween candy bags. The manager reports that the four types are equally popular. Suppose that a sample of 500 purchases yields observed counts 150, 110, 130, and 110 for types 1, 2, 3, and 4, respectively.

Type 1 2 3 4 Number of Bags 150 110 130 110

Assume we want to use a 0.10 significance level to test the claim that the four types are equally popular.

(a) Identify the null hypothesis and the alternative hypothesis.

Here we will use chi-square test for goodness of fit. H 0 : The data are consistent with the four different types of Halloween candy bags. H 1 : The data are not consistent with the four different types of Halloween candy bags.

(b) Determine the test statistic. Show all work; writing the correct test statistic, withoutsupporting work, will receive no credit.

Test statistic. The test statistic is a chi-square random variable (Χ^2 ) defined by the following equation. Expected value=(1/4)*500= Χ^2 = Σ [ (Oi - Ei)^2 / Ei ] Where Oi is the observed frequency count for the ith level of the categorical variable, and Ei is the expected frequency count for the ith level of the categorical variable.

Type

Number of Bags (O) E O-E (O-E)^2 ((O-E)^2)/E

1 150 125 25.00 625 5 2 110 125 - 15.00 225 1. 3 130 125 5.00 25 0. 4 110 125 - 15.00 225 1.

Total 500 500 8.

Chi-square test statistics = 8.

(c) Determine the P -value for the test. Show all work; writing the correct P-value, without supporting work, will receive no credit.

With test statistic 8.8 and df 3 p-value lies between 0.05 to 0.025.