Download presentation
Presentation is loading. Please wait.
Published byDenis Williamson Modified over 9 years ago
1
4.1Introduction The field of statistical inference consist of those methods used to make decisions or to draw conclusions about a population. These methods utilize the information contained in a sample from the population in drawing conclusions. Statistical Inference may be divided into two major areas: parameter estimation and hypothesis testing.
2
Definition 2.1: An Interval Estimate In interval estimation, an interval is constructed around the point estimate and it is stated that this interval is likely to contain the corresponding population parameter. Definition 2.2: Confidence Level and Confidence Interval Each interval is constructed with regard to a given confidence level and is called a confidence interval. The confidence level associated with a confidence interval states how much confidence we have that this interval contains the true population parameter. The confidence level is denoted by. 2
3
EQT 373 Population Mean σ Unknown Confidence Intervals Population Proportion σ Known
4
4
5
5
6
6
7
7
8
8
9
Example 2.2 : A publishing company has just published a new textbook. Before the company decides the price at which to sell this textbook, it wants to know the average price of all such textbooks in the market. The research department at the company took a sample of 36 comparable textbooks and collected the information on their prices. This information produced a mean price RM 70.50 for this sample. It is known that the standard deviation of the prices of all such textbooks is RM4.50. Construct a 90% confidence interval for the mean price of all such college textbooks. 9
10
solution 10
11
11
12
12
13
13
14
Example 2.3 : The scientist wondered whether there was a difference in the average daily intakes of dairy products between men and women. He took a sample of n =50 adult women and recorded their daily intakes of dairy products in grams per day. He did the same for adult men. A summary of his sample results is listed below. Construct a 95% confidence interval for the difference in the average daily intakes of daily products for men and women. Can you conclude that there is a difference in the average daily intakes of daily products for men and women? 14 MenWomen Sample size50 Sample mean780 grams per day762 grams per day Sample standard deviation 3530
15
Solution 15
16
16
17
Example 2.4 According to the analysis of Women Magazine in June 2005, “Stress has become a common part of everyday life among working women in Malaysia. The demands of work, family and home place an increasing burden on average Malaysian women”. According to this poll, 40% of working women included in the survey indicated that they had a little amount of time to relax. The poll was based on a randomly selected of 1502 working women aged 30 and above. Construct a 95% confidence interval for the corresponding population proportion. 17
18
Solution 18
19
19
20
Example 2.5: A researcher wanted to estimate the difference between the percentages of users of two toothpastes who will never switch to another toothpaste. In a sample of 500 users of Toothpaste A taken by this researcher, 100 said that the will never switch to another toothpaste. In another sample of 400 users of Toothpaste B taken by the same researcher, 68 said that they will never switch to another toothpaste. Construct a 97% confidence interval for the difference between the proportions of all users of the two toothpastes who will never switch. 20
21
Solutions Toothpaste A : n 1 = 500 and x 1 = 100 Toothpaste B : n 2 = 400 and x 2 = 68 The sample proportions are calculated; Thus, with 97% confidence we can state that the difference between the two population proportions is between -0.026 and 0.086. 21
22
EQT 373 For the Mean Determining Sample Size For the Proportion
23
The required sample size can be found to reach a desired margin of error (e) with a specified level of confidence (1 - ). The margin of error is also called error of estimation Definition 2.3 (Estimating the Population Mean): 23
24
For the Mean Determining Sample Size Sampling error (margin of error)
25
If = 45, what sample size is needed to estimate the mean within ± 5 with 90% confidence So the required sample size is n = 220 (Always round up)
26
Example 2.7: A team of efficiency experts intends to use the mean of a random sample of size n=150 to estimate the average mechanical aptitude of assembly-line workers in a large industry (as measured by a certain standardized test). If, based on experience, the efficiency experts can assume that for such data, what can they assert with probability 0.99 about the maximum error of their estimate? 26
27
Solutions 27
28
28
29
EQT 373 Determining Sample Size For the Proportion Now solve for n to get
30
How large a sample would be necessary to estimate the true proportion defective in a large population within ±3%, with 95% confidence? (Assume a sample yields p = 0.12) For 95% confidence, we have Z α/2 = 1.96 e = 0.03;p = 0.12 Example 2.8 Solution: So use n = 451
31
Example 2.9: A study is made to determine the proportion of voters in a sizable community who favor the construction of a nuclear power plant. If 140 of 400 voters selected at random favor the project and we use as an estimate of the actual proportion of all voters in the community who favor the project, what can we say with 99% confidence about the maximum error? 31
32
Solution 32
33
Example 2.10: How large a sample required if we want to be 95% confident that the error in using to estimate p is less than 0.05? If, find the required sample size. 33
34
Solution 34
35
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic and its p-value 4. The rejection region 5. The conclusion 35
36
Definition 2.5: Hypothesis testing can be used to determine whether a statement about the value of a population parameter should or should not be rejected. Null hypothesis, H 0 : A null hypothesis is a claim (or statement) about a population parameter that is assumed to be true. (the null hypothesis is either rejected or fails to be rejected.) Alternative hypothesis, H 1 : An alternative hypothesis is a claim about a population parameter that will be true if the null hypothesis is false. Test Statistic is a function of the sample data on which the decision is to be based. p-value is the probability calculated using the test statistic. The smaller the p-value, the more contradictory is the data to. 36
37
Definition 2.6: p-value The p-value is the smallest significance level at which the null hypothesis is rejected. 37
38
6 Steps to Perform a Hypothesis Testing 1.State the null hypothesis, H 0 and the alternative hypothesis, H 1 2.Choose the level of significance, and the sample size, n 3.Determine the appropriate test statistic 4.Determine the critical values that divide the rejection and non rejection regions 5.Collect data and compute the value of the test statistic 6.Make the statistical decision and state the managerial conclusion. If the test statistic falls into the non rejection region, do not reject the null hypothesis H 0. If the test statistic falls into the rejection region, reject the null hypothesis. Express the managerial conclusion in the context of the problem
39
It is not always obvious how the null and alternative hypothesis should be formulated. When formulating the null and alternative hypothesis, the nature or purpose of the test must also be taken into account. We will examine: 1) The claim or assertion leading to the test. 2) The null hypothesis to be evaluated. 3) The alternative hypothesis. 4) Whether the test will be two-tail or one-tail. 5) A visual representation of the test itself. In some cases it is easier to identify the alternative hypothesis first. In other cases the null is easier. 39
40
Alternative Hypothesis as a Research Hypothesis Many applications of hypothesis testing involve an attempt to gather evidence in support of a research hypothesis. In such cases, it is often best to begin with the alternative hypothesis and make it the conclusion that the researcher hopes to support. The conclusion that the research hypothesis is true is made if the sample data provide sufficient evidence to show that the null hypothesis can be rejected. 40
41
Example: A new drug is developed with the goal of lowering blood pressure more than the existing drug. Alternative Hypothesis: The new drug lowers blood pressure more than the existing drug. Null Hypothesis: The new drug does not lower blood pressure more than the existing drug. 41
42
Null Hypothesis as an Assumption to be Challenged We might begin with a belief or assumption that a statement about the value of a population parameter is true. We then using a hypothesis test to challenge the assumption and determine if there is statistical evidence to conclude that the assumption is incorrect. In these situations, it is helpful to develop the null hypothesis first. 42
43
Example: The label on a soft drink bottle states that it contains at least 67.6 fluid ounces. Null Hypothesis: The label is correct. µ > 67.6 ounces. Alternative Hypothesis: The label is incorrect. µ < 67.6 ounces. 43
44
Example: Average tire life is 35000 miles. Null Hypothesis: µ = 35000 miles Alternative Hypothesis: µ 35000 miles 44
45
How to decide whether to reject or accept ? The entire set of values that the test statistic may assume is divided into two regions. One set, consisting of values that support the and lead to reject, is called the rejection region. The other, consisting of values that support the is called the acceptance region. Tails of a Test Two-Tailed TestLeft-Tailed Test Right-Tailed Test Sign in= <> Rejection RegionIn both tailIn the left tailIn the right tail Rejection Region
46
2.2.1 a) Testing Hypothesis on the Population Mean, Null Hypothesis : Test Statistic : 46 any population, is known and n is large or normal population, is known and n is small any population, is unknown and n is large normal population, is unknown and n is small
47
Example 2.11 47
48
Solution 48
49
Test statistics: 49
50
50
51
Alternative hypothesisRejection Region 51
52
Example 2.12 52
53
Solution 53
54
54
55
55 Alternative hypothesisRejection Region
56
Example 2.13 When working properly, a machine that is used to make chips for calculators does not produce more than 4% defective chips. Whenever the machine produces more than 4% defective chips it needs an adjustment. To check if the machine is working properly, the quality control department at the company often takes sample of chips and inspects them to determine if the chips are good or defective. One such random sample of 200 chips taken recently from the production line contained 14 defective chips. Test at the 5% significance level whether or not the machine needs an adjustment. 56
57
Solution 57
58
58
59
59 Alternative hypothesisRejection Region
60
Example 2.14: Reconsider Example 2.5, At the significance level 1%, can we conclude that the proportion of users of Toothpaste A who will never switch to another toothpaste is higher than the proportion of users of Toothpaste B who will never switch to another toothpaste? 60
61
Solution 61
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.