0% found this document useful (0 votes)
492 views

Assignment 2

1. Write a systematic not on all the topics and terminologies you have learned from chapter 8 and 9, confidence interval for the differences of population means and proportions and tests of hypothesis.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
492 views

Assignment 2

1. Write a systematic not on all the topics and terminologies you have learned from chapter 8 and 9, confidence interval for the differences of population means and proportions and tests of hypothesis.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 22

Applied statistics

ASSIGNMENT # 02

Submitted By: Name: Sagor sarkar Id: 1120090030 Bus-173. Section:1 Submitted To: M. Siddique Hossain (SqH) Lecturer, North South University

1. Write a systematic not on all the topics and terminologies you have learned from chapter 8 and 9, confidence interval for the differences of population means and proportions and tests of hypothesis. Chapter 8: Sampling distribution of sample variance
Sample variance:
Sample variance is a measure of the spread of or dispersion within a set of sample data. The sample variance is the sum of the squared deviations from their average divided by one less than the number of observations in the data set. For example, for n observations x1, x2, x3, ... , xn. The sample variance is given by S =
2

(xi - x

n-1 is known as degrees of freedom. x on n n n m o . S2 is the 2 consistent and unbiased estimator of . 2 Thus S serves as the basis either for constructing confidence interval estimate or testing hypothesis about 2. If we can assume that the underlying population distribution is normal, then it can be shown that the sample variance and the population variance and related through a probability distribution known as the chi-square distribution. Multiplying s2 by n-1 and dividing y onv r 2 = (n-1)s2/, which has the chi-square distribution . Thus it is possible to find probability for this variable: = p[(n-1)s2/ 2 ] When the number of degrees of freedom is n-1. no -square random variable.

Chi-square distribution
The chi-squared distribution (also chi-square or -distribution) with k degrees of freedom is the distribution of a sum of the squares of k independent standard normal random variables. It is one of the most widely used probability distributions in inferential statistics in hypothesis testing or in construction of confidence intervals. When there is a need to contrast it

with the noncentral chi-squared distribution, this distribution is sometimes called the central chisquared distribution.

Important properties of the 2 distribution, 1) 2 distribution is a continuous probability distribution which has the value zero at its lower limit and extends to infinity in the positive direction. N g v v l o 2 is not possible since the difference between the observed and expected frequencies are always squared. 2) T x p o r on p n pon n m ro gr o r om . For r n v l o , w ll v r n p o tribution. In general, when is small, the shape of the curve is skewed to the right and as gets larger the distribution becomes more and more symmetrical and can be approximated by the normal distribution. 3) T m n o 2 r on g v n y n y n on .E(2)= and variance is w n y n on. V(2)=2 4) 4. As g l rg r, 2 ppro norm l r on w m n n n r v on 2 . 5) 5. T m o n p n n 2 v r n l o 2 variant. Therefore, 2, 2 variants with . . . n 2 no r 2 variants with 2 d.f. Chi-square distribution of sample and population variance Given a random sample of n observation from a normally distributed population whose population v r n n w o r l ng mpl v r n n own (n-1)s/= (Xi-X)/ The r on known ( -square) distribution with n-1 degree of freedom.

E(2)= n V r (2)=z

The prop r o r on are to find the variance of the sampling of the sampling distribution of the sample variance when the parent population is normal.

Confidence interval for variance


Con w ollow or on r n r n rv l or v r n on mpl ng r on o (n-1 / on w =n-1 degrees of freedom. A 100(1- % on n n rv l y r o n ng n n rv l o (n-1 / . n n rv l or (n-1 / g v n y.

Therefore, a 100(1- % on

p(n-1,1- /2< n-1< n-1,/2 = 1- p(n-1,1- /2<(n-1 /< n-1,/2 = 1- P[(n-1)s/n-1 ,/2< <(n-1 /n-1,1- /2]=1-

Confidence intervals for variance of a normal population


A random sample of n observations from a normally distributed population with variance .If the observed sample variance is s, then 100(1- % on n n rv l or population variance is given by (n-1 / n-1, /2 < < (n-1 / n-1, 1- /2 Where, n-1,/2 is the number for which P (n-1> n-1, /2 = /2 And the random variable n-1 follows a chi-square distribution with (n-1) d.f.

Confidence intervals for the different between two normal population means
Dependent sample: If the values in one sample are influenced by the value in the other sample
then we consider sample to be dependent. r , standard deviation of n differences di = x1i x2i. n
d denote

observed sample mean and

Let as assume that both population are normal, then 100(1- )% confidence interval for the difference between means d = 1- 2 is given by - tn-1, CI =
/2Sd

/ n

tn-1,

/2Sd

/ n

ME
2

The standard deviation, Sd = ( i-

/ n -1 and ME = tn-1,

/2Sd

/ n

Independent sample, known population variance: Samples are drawn independently from
the two normally distributed populations with known population so that the membership of one sample is not influenced by the membership of the other sample. Here, the mpl m n r x1 n x2 and variance are 12/n1 n 22/n2, then a 100(1- )% . Confidence interval for 1- 2 is given by, (x1- x2) z
/2

12/n1 + 22/n2 < 1- 2 < (x1- x2) + z /2 12/n1 + 22/n2 12/n1 + 22/n2

Here the margin of error ME is given by, ME = z


/2

Independent sample, unknown population variance: (Assumed to be equal)


Here, 12 and 22 are unknown but 12 = 22 = 2. g n v(x1- x2 = v r(x1)+ v r(x2) = 12/n1+ 22/n2 Z = (x1- x2) (1- 2)/

12/n1 + 22/n2

T mpl m n r x1 n x2 and sample variance are s12 and s22, then a 100(1- )% . Confidence interval for 1- 2 is given by, (x - y tn1+ n2 2,
/2

sp1/nx+1/ny< x - y< (x - y

tn1+ n2 2,

/2

sp1/nx+1/ny

Independent sample, unknown population variance: (Not assumed to be equal)


r ,T mpl m n r x1 n x2 and sample variance are s12 and s22, then a 100(1- )% . Confidence interval for 1- 2 is given by, (x - y t(,
/2)

sx2/nx+ sy2/ny< x - y< (x - y

t(,

/2)

sx2/nx+ sy2/n

Chapter 9: Hypothesis
Hypothesis is an assumption to be tested. In order to reach decisions it is useful to make assumptions or guesses about the population involved. Such assumptions which may or may not be true are called statistical hypothesis. They are, in fact, in general statements about the probability distribution of the population.

Types of Hypothesis:

There are mainly two kinds of hypothesis (1) Null Hypothesis (2) Alternative Hypothesis Null Hypothesis: The null hypothesis, H0, represents a theory that has been put forward, either because it is believed to be true or because it is to be used as a basis for argument, but has not been proved. For example, in a clinical trial of a new drug, the null hypothesis might be that the new drug is no better, on average, than the current drug. We would write H0: there is no difference between the two drugs on average.

Alternative Hypothesis
The alternative hypothesis, H1, is a statement of what a statistical hypothesis test is set up to establish. For example, in a clinical trial of a new drug, the alternative hypothesis might be that the new drug has a different effect, on average, compared to that of the current drug. We would write H1: the two drugs have different effects, on average. The alternative hypothesis might also be that the new drug is better, on average, than the current drug. In this case we would write H1: the new drug is better than the current drug, on average.

Types of error: There are two types of error.


(1) Type 1 error (2) Type 2 error.

Type I Error
In a hypothesis test, a type I error occurs when the null hypothesis is rejected when it is in fact true; that is, H0 is wrongly rejected. For example, in a clinical trial of a new drug, the null hypothesis might be that the new drug is no better, on average, than the current drug; H0: there is no difference between the two drugs on average.

A type I error would occur if we concluded that the two drugs produced different effects when in fact there was no difference between them. The following table gives a summary of possible results of any hypothesis test:

Type II Error
In a hypothesis test, a type II error occurs when the null hypothesis H0, is not rejected when it is in fact false. For example, in a clinical trial of a new drug, the null hypothesis might be that the new drug is no better, on average, than the current drug; i.e. H0: there is no difference between the two drugs on average. A type II error would occur if it was concluded that the two drugs produced the same effect, i.e. there is no difference between the two drugs on average, when in fact they produced different ones. A type II error is frequently due to sample sizes being too small. The value of 1- error. ll o pow r. I r pr n pro l y o no m k ng yp 2

One tailed and two tailed tests


There are three kinds of problems in tests of hypothesis : Two Tailed Tests: A two-tailed test is a statistical hypothesis test in which the values for which we can reject the null hypothesis, H0 are located in both tails of the probability distribution.

One-sided Test A one-sided test is a statistical hypothesis test in which the values for which we can reject the null hypothesis, H0 are located entirely in one tail of the probability distribution Left-tailed Test: A left-tailed test has rejection region in left tail. Right tailed Test: A right tailed test has rejection region in right tail.

One Sample t-test

A one sample t-test is a hypothesis test for answering questions about the mean where the data are a random sample of independent observations from an underlying normal distribution , where is unknown. The null hypothesis for the one sample t-test is: H0: = 0, where 0 is known. This null hypothesis, H0 is tested against one of the following alternative hypotheses, depending on the question posed: H1: is not equal to H1: > H1: <

Two Sample t-test


A two sample t-test is a hypothesis test for answering questions about the mean where the data are collected from two random samples of independent observations, each from an underlying normal distribution: The null hypothesis for the two sample t-test is: H0: 1 = 2 That is, the two samples have both been drawn from the same population. This null hypothesis is tested against one of the following alternative hypotheses, depending on the question posed. H1: 1 is not equal to 2 H1: 1 > 2 H1: 1 < 2

2.

Solve the following problems: 7:42, 7:48, 8:2, 8:4, 8:8, 8:10, 8:18, 8:20, 8:26, 8:28, 8:30, 8:40, 8:42, 8:50, 9:4, 9:8, 9:10, 9:12, 9:14, 9:20, 9:24, 9:28, 9:34, 9:38, 9:40, 9:48, 9:50, 9:56, 9:58, 9:60.

7.42 : Find the lower confidence limit for each of the following normal populations:
a. n = 21; b. n = 16; c. n = 28;

= 0.025; s2 = 16 = 0.05; s = 8 = 0.01; s = 15

solution:
a. Here, n = 21, s2 = 16, X2n-1, 1/2

= 0.025
/2

= X220, 0.99 = 8.260 and X2n-1,


/2 < 2

= X220, 0.01 = 37.566


2

(n-1)s2/ X2n-1, 2 < 38.74

< (n-1)s2/ X2n-1, 1-

/2 =

(20)(16)/37.566 <

< (20)(16)/8.260 = 8.52 <

b. Here, n = 16, s = 8, X2n-1, 1/2

= 0.05
/2

= X215, 0.975 = 6.262 and X2n-1,


/2 < 2

= X215, 0.025 = 27.488


2

(n-1)s2/ X2n-1, 2 < 153.31

< (n-1)s2/ X2n-1, 1-

/2 =

(15)(8)2/27.488 <

< (15)(8)2/6.262 = 34.92 <

c. Here, n = 28, s = 15, X2n-1, 1/2

= 0.01
/2

= X227, 0.995 = 11.808 and X2n-1,


/2 < 2

= X227, 0.005 = 49.645


2

(n-1)s2/ X2n-1, 2 < 514.48

< (n-1)s2/ X2n-1, 1-

/2 =

(27)(15)2/49.645 <

< (27)(15)2/6.262=122.37<

7.48 : A psychologist wants to estimate the variance of employee test scores. A random sample
of 18 scores had a sample standard deviation of 10.4. Find a 90% confidence interval for the population variance. What are the assumptions, if any to calculate this interval estimate?

Solution :
n = 18, s2 = 108.16, (n-1)s2/ X2n-1,
/2 <

= 0.1, X217, 0.05 = 27.59 and X217, 0.95 = 8.67


2

< (n-1)s2/ X2n-1, 1-

/2 =

(17)(108.16)/27.59 <

< (17)(108.16)/8.67

= 66.6444 up to 212.078. Assume that the population is normally distributed.

8.2: A confidence interval for the difference between the means of two normally distributed
populations based on the following dependent samples is desired: Before 6 12 8 10 6 After 8 14 9 13 7

a. Find the margin of error for a 90% confidence level. b. Find the UCL and the LCL for a 90% confidence level. c. Find the width of a 95% confidence interval.

Solution:
a. Two normally distribution populations based on dependent samples of n=5 observations Paired T- test for Before and after N Mean St.Dev. Before 5 8.4000 2.6077 After Difference 5 5 10.2000 -1.80000 3.1145 0.83666

SE. Mean 1.1662 1.3928 0.37417

90% CI for mean difference: ( -2.59766, -1.00234) ME = tn-1, b. UC = LCL = c. 95% Width = 2[ME = tn-1,
/2Sd/ /2Sd/

n = 2.132(.83666/5 = 0.79772

+ ME = -2.59766 - ME = -1.00234

n] = 2[2.776(.83666/5 ] = 2.07737

8.4: Solution:
Let X = without passive solar; Y = with passive solar; di = xi yi

n = 10, i = 373,
Sd = ( iC.I. = + tn-1,
2

= 37.3,

9, o.05

= 1.833

/ n -1 = 2806.1/ 9 = 17.6575
n

/2Sd/

= 37.3 + 1.833(17.6575) / 10 = 27.0649 < x - y < 47.5351

8.8: Assuming equal population variances, determine the number of degrees of freedom for each
of the following: a. n1 = 12, s12 =30; n2 = 14, s22 = 36 b. n1 = 6, s12 =30; n2 = 7, s22 = 36 c. n1 = 9, s12 =16; n2 = 12, s22 = 25

Solution:
a. degrees of freedom = nx + ny 2 = 12+142 = 24 b. degrees of freedom = nx + ny 2 = 6+72 = 11 c. degrees of freedom = nx + ny 2 = 9+122 = 19

8.10: Assuming unequal population variances, determine the number of degrees of freedom for
each of the following: a. n1 = 12, s12 =6; n2 = 14, s22 = 10

s12 =30; n2 = 10, s22 = 36 c. n1 = 9, s12 =16; n2 = 12, s22 = 25 d. n1 = 6, s12 =30; n2 = 7, s22 = 36
b. n1 = 6,

Solution:
a. =[(
2 2 2 2 2 2 2 1 /n1)+(s2 )] /(s 1/n1) /(n1-1)+(s 2/n2) /(n2-1)

=[(6/12 (10/14 ]2/(6/12)2/(12-1)+(10/14)2/(14-1) = 24 b. =[(


2 2 2 2 2 2 2 1 /n1)+(s2 )] /(s 1/n1) /(n1-1)+(s 2/n2) /(n2-1)

=[(30/6 (36/10 ]2/(30/6)2/(6-1)+(36/10)2/(10-1) = 11 c. =[(


2 2 2 2 2 2 2 1 /n1)+(s2 )] /(s 1/n1) /(n1-1)+(s 2/n2) /(n2-1)

=[(16/9 (25/12 ]2/(16/9)2/(9-1)+(25/12)2/(12-1) = 19 d. =[(


2 2 2 2 2 2 2 1 /n1)+(s2 )] /(s 1/n1) /(n1-1)+(s 2/n2) /(n2-1)

=[(30/6 (36/7 ]2/(30/6)2/(6-1)+(36/7)2/(7-1) = 11

8.18: Calculate the margin of error for each of the following:


a. n1 = 260, 1= 0.75; n2 = 200, 2= 0.68 b. n1 = 400, 1= 0.60; n2 = 500, 2= 0.68 c. n1 = 500, 1= 0.20; n2 = 375, 2= 0.25

Solution:
a. ME = z /2 1(1- 1)/ n1 + 2(1- 2)/ n2 = 1.96 .75(1-.75)/260 + .68(1-.68)/260 = 0.083367 b. ME = z /2 1(1- 1)/ n1 + 2(1- 2)/ n2 = 1.96 .60(1-.60)/400 + .68(1-.68)/500 = 0.063062 c. ME = z /2 1(1- 1)/ n1 + 2(1- 2)/ n2 = 1.96 .20(1-.20)/500 + .25(1-.25)/375 = 0.056126

8.26: How large a sample is needed to estimate the population proportion for each of the
following? a. ME = 0.03; = 0.05 b. ME = 0.05; = 0.05 c. Compare and comment on your answers to parts (a) and (b).

Solution:
a. n = .25(z
2 /2)

/ ME2 = .25(1.96)2/ .032 = 1067.111. Take a sample of size n = 1068.

b. n = .25(z /2)2/ ME2 = .25(1.96)2/ .052 = 384.16. Take a sample of size n = 385. c. In order to reduce the ME in half, the sample size must be increased by a large proportion.

8.28: A research group wants to estimate the proportion of consumers who plan to buy a
scanner for their PC during the next three months. a. How many people should be sampled so that the sampling error is at most 0.04 with a 90% confidence interval?

b. What is the sample size required if the confidence is increased to 95%, keeping the sampling error the same? c. What is the required sample size if the research group extends the sampling error to 0.05 and wants a 98% confidence level?

Solution:
a. Z.05 = 1.645, ME = .04

n = .25(z /2)2/ ME2 = .25(1.645)2/ .042 = 422.8, take n = 423


b. n = .25(z c. n = .25(z
2 /2) 2 /2)

/ ME2 = .25(1.96)2/ .042 = 600.25, take n = 601 / ME2 = .25(2.33)2/ .052 = 542.89, take n = 543

8.30: the student government association at a university wants to estimate the percentage of the
student body that supports a change being considered in the academic calendar of the university for the next academic year. How many students should be surveyed if a 90% confidence interval is desired and the margin of error is to be only 3% ?

Solution:
Z.05 = 1.645, ME = .03

n = .25(z /2)2/ ME2 = .25(1.645)2/ .032 = 751.7, take n = 752 8.40: Independent random samples from two normally distributed populations give the
following results:

nx = 10, x = 480, sx = 30 ny = 12, y = 480, sy = 30


a. If we assume that the unknown population variances are equal, what is the 90% confidence interval for the difference of population means? b. If we assume that the unknown population variances are unequal, what is the 90% confidence interval for the difference between population means?

Solution:
a. (x - y tn1+ n2 2,
/2

sp1/nx+1/ny< x - y< (x - y

tn1+ n2 2,

/2

sp1/nx+1/ny

Sp = (nx 1)sx2 +(ny 1)sy2/ nx +ny 2 = (10-1)302 +(12-1)252 /10+12-2 = 27.3633


CI = (480-520) 1.725(27.3633)

1/10+ 1/12 = -40

20.2106

= -60.21056 to -19.7894 b. (x - y t(,


/2)

sx2/nx+ sy2/ny< x - y< (x - y

t(,

/2)

sx2/nx+ sy2/ny
18

= [(sx2/nx)+(sy2/ny)] /(sx2/nx)2/(nx 1) + (sy2/ny)2/(ny 1) = [(302/10)+(252/12)] /(302/10)2/(10 1) + (252/12)2/(12 1) = 17.606 CI = (480-520) 1.734(302/10)+(252/12) = -40 20.669

= -60.669 to -19.331

8.42: Students in an introductory economics class are assigned to quiz sections conducted by
teaching assistants. For one teaching assistant the 21 students in the quiz section obtained a mean score of 72.1 on the final examination and a standard of 11.3. For a second teaching assistant the 18 students in the quiz section obtained a mean score of 73.8 on the final examination and a standard of 10.6. Assume that these data can be regarded as independent random samples from normally distributed populations with a common variance. Find an 80% confidence interval for the difference between the population means.

Solution: nx = 21, x = 72.1, sx = 11.3, t37, 0.100 = 1.303 (here, I use df = 40) ny = 18, y = 73.8, sy = 10.6
(x - y tn1+ n2 2,
/2

sp1/nx+1/ny< x - y< (x - y

tn1+ n2 2,

/2

sp1/nx+1/ny

Sp = (nx 1)sx2 +(ny 1)sy2/ nx +ny 2 = (21-1)11.32 +(18-1)10.62 /21+18-2 = 10.9839


CI = (72.1-73.8) 1.303(10.9839)

1/21+ 1/18 = -1.7

4.5971= -6.2971 to 2.8971

8.50: A newspaper article reported that 400 people in one state were surveyed and 75% were
opposed to a recent court decision. The same article reported that a similar survey of 500 people in another state indicated opposition by only 45%. Construct a 95% confidence interval of the difference in population proportions based on the data.

Solution:
1 = CI = (1- 2) = (.75- .45) = 0.30 = = 0.75, 2 = = = 0.45

z /2 1(1- 1)/ n1 + 2(1- 2)/ n2


1.96 .75(1-.75)/400 + .45(1-.45)/500

.06085

= 0.23915 up to 0.36085

9.4: During 2000 and 2001 many people of Europe objected to purchasing food that was
generally modified, produced by farmers in the United State. The U.S. farmers argued that there was no scientific evidence to conclude that these products were not healthy. The Europeans argued that there still might be a problem with these foods. a. State the null and alternative hypothesis from the perspective of the Europeans. b. State the null and alternative hypothesis from the perspective of the U.S. farmers.

Solution:
a. European perspective: H0: Genetically modified food stuffs are not safe. H1: They are safe. b. U.S. farmer perspective: H0: Genetically modified food stuffs are safe. H1: They are not safe.

9.8: U ng

r l rom ov wo x r , n ow r l v l xc is influenced by sample size. Next indicate how the critical value is influenced by population vari n , 2.

Solution:
T r l v l xc is farther away from the hypothesized value the smaller the sample size n. This is due to the increase in the standard error with a smaller sample size.

T r l v l xc is farther away from the hypothesized value the larger the population variance. This is due to the increased standard error with a larger population variance. r n om mpl o z n= 25 o n rom pop l on w v r n 2, and the sampl m n omp o x= 70. Con r n ll ypo 0: = 80 verse the alternative hypothesis H1: 80. Compute the p-value for the following options.

9.10:

a. b. c. d.

The population variance is 2 = 225. The population variance is 2 = 900. The population variance is 2 = 400. The population variance is 2 = 600.

Solution:
r n om mpl o n = 25, v r n = 2 and the sample mean is = 70.

Consider the null hypothesis H0: = 80 versus the alternative H1:80. Compute the p-value a. 2 = 225. z = x- 0 //n = 70 80/15/25 = -3.33. p-value = P(zp< -3.33) = .0004 b. 2 = 900. z = x- 0//n = 70 80/30/25 = -1.67. p-value = P(zp< -1.67) = .0475 c. 2 = 400. z = x- 0//n = 70 80/20/25 = -2.50. p-value = P(zp< -2.50) = .006 d. 2 = 600. z = x- 0//n = 70 80/24.4949/25 = -2.04. p-value = P(zp< -3.33) = .0207

9.12: A company that receives shipments of batteries tests a random sample of nine of them
before agreeing to take a shipment. The company is concerned that the true mean lifetime for all batteries in the shipment should be at least 50 hours. From past experience it is safe to conclude that the population distribution of lifetime is normal with standard deviation 3 hours. For one particular shipment the mean lifetime for a sample of nine batteries was 48.2 hours. Test at the 10% level the null hypothesis that the population mean lifetime is at least 50 hours.

Solution:
H0: 50; Z=

1:

< 50; reject H0 if Z10< -1.28

= -1.8, therefore, reject H0 at the 10% level.

9.14: Test the hypothesis


H0 : 100

H1 : > 100 Using a random sample of size n = 25, a probability of types I error to 0.05 and the following sample statistics. a. x = 106; s = 15 b. x = 104; s = 10 c. x = 95; s = 10 d. x = 92; s = 18

Solution:
Test H0: 100;
1:

> 100, using n = 25 and alpha = .05

a. x = 106, s = 15. x - 0/ /n > tn-1,/2,106 100/15/25 = 2.00. S n 2.00 greater than the critical value of 1.711, there is sufficient evidence to reject the null hypothesis. b. x = 104, s = 10. Reject if x - 0/ /n > tn-1,/2, 104-100/10/25 = 2.00. S n 2.00 greater than the critical value of 1.711, there is sufficient evidence to reject the null hypothesis. c. x > 92, s>18. Reject if x - 0/ /n > tn-1,/2, 95-100/10/25 = - 2.50 is less than the critical value of -1.711, there is sufficient evidence to reject the null hypothesis.

d. x > 92, s>18. x - 0/ /n > tn-1,/2, 95-100/18/25 = - 2.22 is less than the critical value of -1.711, there is sufficient evidence to reject the null hypothesis.

9.20: A random sample of 170 people was provided with a forecasting problem. Each sample
member was given, in two ways, the task of forecasting the next value of a retail sales variable. The previous 20 values were presented both as numbers and as points on a graph. Subjects were asked to predict the next value. The absolute forecasting errors were measured. The sample then consisted of 170 differences in absolute forecast errors. The sample mean of these differences was -2.91 and the sample standard deviation was 11.33. Find and interpret the p-value of a test of the null hypothesis that the population mean difference is 0 against the alternative that it is negative.

Solution:
H0: > 0; H1: = 0

t > -2.91- 0/11.33/170 = -3.35, p-value is < .005. Reject H0 at any common level of alpha.

9.24: A process that produces bottles of shampoo, when operating correctly, produces bottles
whose contents weigh, on average, 20 ounces. A random sample of nine bottles from a single production run yielded the following content weights ( in ounces): 21.4 19.7 19.7 20.6 20.8 20.1 19.7 20.3 20.9 Assuming that the population distribution is normal, test at the 5% level against a two-sided alternative the null hypothesis that the process is operating correctly.

Solution:
H0:=20; H1: 20, Reject H0 8,.05/2>2.306

t > 20.3556 -20/.6126/9 = 1.741, Therefore, do not reject H0 at the 5% level. 9.28: Solution:
a. n = 400. Reject H0 if = c > P0, zP0(1-P0)/n = .25 + 1.88(.25)(1-.25)/400 = 0.2907 b. n = 225. Reject H0 if = c > P0, zP0(1-P0)/n = .25 + 1.88(.25)(1-.25)/225 = 0.30427 c. n = 625. Reject H0 if = c > P0, zP0(1-P0)/n = .25 + 1.88(.25)(1-.25)/625 = 0.28256 d. n = 900. Reject H0 if = c > P0, zP0(1-P0)/n = .25 + 1.88(.25)(1-.25)/900 = 0.2771

9.34: A random sample of 50 university admissions officers was asked about expectations in
application interviews. Of these sample members, 28 agreed that the interviewer usually expects the interviewee to have volunteer experience doing community projects. Test the null hypothesis that one-half of all interviewers have this expectation against the alternative that the population proportion is bigger than one-half. Use = 0.05.

Solution:
H0:P >.5; H1:P .5; z > .56 -.5/(.5)(.5)/50 = .85, p-value = 1- Fz(.85) = 1 - .8023 = .1977 Therefore, reject H0 at alpha level in excess of 19.77%

9.38: Solution:
What is probability of Type II error if the actual proportion is a. P =.52 = P(.46 .54 P = .52) = P[.46-P1/P1(1- P1)/n z .54- P1/ P1(1- P1)/n]

= P[.46-.52/.52(1-.52)/600 z .54-.52/.52(1-.52)/600] = P(-2.94 z .98) = .4984 +.3365 = .8349 b. P =.58 = P(.46 .54 P = .58) = P[.46-P1/P1(1- P1)/n z .54- P1/ P1(1- P1)/n] = P[.46-.58/.58(1-.58 /600 z .54-.58/.58(1-.58)/600] = P(-5.96 z -1.99) = .5000 +.4767 = .0233 c. P=.53 = P(.46 .54 P = .53) = P[.46-P1/P1(1- P1)/n z .54- P1/ P1(1- P1)/n] = P[.46-.53/.53(1-.53 /600 z .54-.53/.53(1-.53)/600] = P(-3.44 z .49) = .4997 +.1879 = .6876 d. P =.48 = P(.46 .54 P = .48) = P[.46-P1/P1(1- P1)/n z .54- P1/ P1(1- P1)/n] = P[.46-.48/.48(1-.48 /600 z .54-.48/.48(1-.48)/600] = P(-.98 z 2.94) = .3365 +.4984 = .8349 e. P =.43 = P(.46 .54 P = .43) = P[.46-P1/P1(1- P1)/n z .54- P1/ P1(1- P1)/n] = P[.46-.43/.43(1-.43 /600 z .54-.43/.43(1-.43)/600] = P(1.48 z 5.44) = .5000 +.4306 = .0694

9.40: A pharmaceutical manufacturer is concerned that the impurity concentration in pills does
not exceed 3%. It is known that from a particular production run impurity concentrations follow a normal distribution with standard deviation 0.4%. A random sample of 64 pills from a production run was checked and the sample mean impurity concentration was found to be 3.07%. a. Test at the 5% level the null hypothesis that the population mean impurity concentration is 3% against the alternative that it is more than 3%. b. Find the probability of a 5% level test rejecting the null hypothesis when the true mean impurity concentration is 3.10%.

Solution:

a. H0 is rejected when

> 1.645 or w n x > 3.082. Since the sample mean is 3.07%

which is less than the critical value, the decision is do not reject the null hypothesis. b. T = P(z < ) = 1 Fz(.36) = .3594. Power of the test = 1 = .6406

9:48: At the insistence of a government inspector a new safety device is installed in an


assembly-l n op r on. r n ll on o v r n om mpl o 8 gave the following results for number of finished components produced: 618 660 638 625 571 598 639 582 Management is concerned about the variability of daily output and views as undesirable any variance above 500. Test at the 10% significance level the null hypothesis that the population variance for daily output does not exceed 500. y o p

Solution:
Ho : 2 500, H1 : 2 > 500 Reject H0 if X2(7.10) >12.02 =13.0757, therefore, Reject H0 at the 10% level.

X2 > (n-1)s2/2 >

9.50: Solution:
Ho : 2 = 300, H1 : 2 300 X2 = = 46.4, p-value = 0.214 Reject H0 at the 5% level.

9.56: Solution:
a. False. The significance level is the probability of making a Type I error falsely rejecting te null hypothesis when in fact the null is true. b. True. c. True. d. False. The power of the test is the ability of the test to correctly reject a false null hypothesis. e. False. The rejection is farther away from the hypothesized value at the 1% level than it is at the 5% level. Therefore, it is still possible to reject at the 5% level but not at the 1% level. f. True. g. False. The p-value tells us the strength of the evidence against the null hypothesis.

9.58: Solution:
a. = P(Z < b. = P(Z >

) = P(Z < -2) = .0228 ) = P(Z > 3) = .0014

c. i) Smaller ii) Smaller; d. i) Smaller ii) Larger;

9.60: Solution:
H0: P = .5; H1: P .5 z= = .39, p-value = 2[1 Fz(.39)] = 2[1 - .6517] = .6966

Therefore, reject H0 at levels in excess of 69.66%

THE END

You might also like