Chapter 8. Hypothesis testing §1.The basic concepts of hypothesis testing.

  • Published on
    17-Jan-2016

  • View
    213

  • Download
    1

Transcript

Chapter 8. Hypothesis testing1.The basic concepts of hypothesis testing1. An example We selected 20 newborns randomly from a region in 2012, 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 2012 and the old ones? 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 .2.significant test According to statistics, in the past, the average weight of newborns is 3140g, while in 2012, 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. 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. 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. We know thatSetting =0.01,Hypothesis Test Procedure,Example8.1---P1513.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.2 Test Concerning MeansLet denote a random sample from a normal distribution , is significance level.1 Test of mean1.1 Variance known The problem as follows When is true, then , thus So the critical region is .8.2.1 single normal population hypothesis testingExample 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 . we get , Then can be accepted.1.2 Variance unknownThe problem as follows , When is true, then , Thus , So the critical region is .Example 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. There are still two other kinds of problem of testing mean as follows 2 Test of varianceThe problem as follows When is true, then thus So the critical region is Example 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 .There are still two other kinds of problem of testing variance as follows ; 8.2.2 Two 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.1. , testing of The problem as follows When is true, then , Thus , So the critical region is .Example 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 Using similar methods above to discuss the following problems 2 testing of The problem as follows When is true, then hence So the critical region is .Using similar methods above to discuss the following problems, Example 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 teams concerning the significance level 0.05?

Recommended

View more >