Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 7 Hypothesis testing. §7.1 The basic concepts of hypothesis testing  1 An example Example 7.1 We selected 20 newborns randomly from a region.

Similar presentations


Presentation on theme: "Chapter 7 Hypothesis testing. §7.1 The basic concepts of hypothesis testing  1 An example Example 7.1 We selected 20 newborns randomly from a region."— Presentation transcript:

1 Chapter 7 Hypothesis testing

2 §7.1 The basic concepts of hypothesis testing  1 An example Example 7.1 We selected 20 newborns randomly from a region in 2002, the average weight of them is 3160g, the sample standard deviation of the weight is 300g, and based on past statistics, the average weight of newborn is 3140g. If the weight of obeys normal distribution. Is there any significant difference about the weight between the newborn in 2002 and the old ones?

3  Let denote the weight of newborn, then based on the hypothesis, we have.The problem is that whether the mean of population is equal to 3140g or not, which can be expressed as, This hypothesis is called zero hypotheses or the original hypothesis.  If is not correct, so is correct. This hypothesis could be called the alternative hypothesis. The above hypothesis testing problem is often expressed as.

4 2, significant test  According to statistics, in the past, the average weight of newborns is 3140g, while in 2002, the average weight of newborn samples is 3160g, a difference in 20g, this difference may arise in two situations. One is that there is no essential difference in them, the difference in 20g is only caused by the randomness of the sample; another is caused by the essential difference in them. So the point is whether the difference can be explained by the randomness of sample or not.

5  The sample mean is a good estimation of the population mean, if, should be relatively small, we should establish a reasonable limit, When,we accept the zero hypothesis ;Otherwise,we will accept alternative hypothesis.

6  We know that , Setting =0.01,, if the observation of satisfies,that is to say the small probability event occur. Generally speaking, small probability events will not occur in one experiment, so we believe is unreasonable, we call critical region. Otherwise, we have not enough evidence to reject,so we accept.Which is called significant test.

7 3,Two types of errors  1. The original hypothesis is actually correct, but the test result wrongly reject it, which commit "abandoning true" errors, often referred to as type I error.  2. The original hypothesis is not right, but the test result wrongly accept it, which commit "maintaining false " errors, often referred to as type II error. As the sample is random, so we are committing two types of errors on certain probability. In statistics, we call the probability of committing type I error the significance level, abbreviated as the level. Naturally, people desire the probability of committing two types of errors as small as possible, but for a given sample size, We can not reduce the probability of committing two types of errors simultaneously, Commonly, we often fix the upper bound of the probability of committing type I error, and then select a test with smaller probability of committing type II error.

8 §7.2 single normal population hypothesis testing  Let denote a random sample from a normal distribution, is significance level.  1 Test of mean 1.1 Variance known The problem as follows When is true, then, thus So the critical region is.

9  Example 7.2 Let us assume,we have nine random samples,and the mean is 4.484,suppose the variance have no change, testing the following problem with the significance level. =1.96, , we get, Then can be accepted.

10 1.2 Variance unknown  The problem as follows, When is true, then , Thus, So the critical region is.

11  Example 7.3  Let us assume have normal distribution,we have 25 random samples,and the mean is 66.5,and the standard deviation of sample is 15, testing the following problem with the significance level. , 2.06,,we get, Then can be accepted.

12  There are still two other kinds of problem of testing mean as follows

13 2 Test of variance  The problem as follows  When is true, then  thus So the critical region is

14  Example 7.4 Let us assume have normal distribution,we have 5 random samples, 1.32, 1.55, 1.36, 1.40, 1.44, and the standard deviation is, testing the following problem with the significance level.,,From the given sample,we have,hence, So we reject.

15  There are still two other kinds of problem of testing variance as follows ; .

16 §7.3 double normal population hypothesis testing  Let denote a random sample of size from a distribution that is  denote a random sample of size from a distribution that is where, are unknown parameters, the two random samples are independent

17 1., testing of  The problem as follows  When is true, then ,  Thus, So the critical region is .

18  Example 7.4 Let us assume and both have normal distribution with equal variances,we have the following random samples, X 24.3, 20.8, 23.7, 21.3, 17.4; Y 18.2, 16.9, 20.2, 16.7. testing the following problem with the significance level

19  Using similar methods above to discuss the following problems 

20 2 testing of  The problem as follows  When is true, then , hence  So the critical region is.

21  Using similar methods above to discuss the following problems,

22  Example 7.5 There are two team A and B participate a paper contest, A team have 9 people,and B team have 8 people,the score as follows: A team 85, 59, 66, 81, 35, 57, 76, 63, 78, B team 65, 72, 69, 65, 58, 68, 52, 64, Can we believe the variance of B team is significantly greater than A team ’ s concerning the significance level 0.05?


Download ppt "Chapter 7 Hypothesis testing. §7.1 The basic concepts of hypothesis testing  1 An example Example 7.1 We selected 20 newborns randomly from a region."

Similar presentations


Ads by Google