MAT2377. Rafa l Kulik. Version 2015/November/23. Rafa l Kulik
|
|
- Eustace Harvey
- 5 years ago
- Views:
Transcription
1 MAT2377 Rafa l Kulik Version 2015/November/23 Rafa l Kulik
2 Rafa l Kulik 1
3 Rafa l Kulik 2
4 Rafa l Kulik 3
5 Rafa l Kulik 4
6 The Z-test Test on the mean of a normal distribution, σ known Suppose X 1,..., X n is a random sample from a population with mean µ and variance σ 2, and let X = 1 n n i=1 X i denote the sample mean. If the population is normal, then X exact N (µ, σ 2 /n) ; Even if the population is not normal, if n is large enough then by the approx Central Limit Theorem X N (µ, σ 2 /n). We will assume that the population variance σ 2 is known, but the hypothesis concerns the unknown population mean µ. Rafa l Kulik 5
7 We are going to test H 0 : µ = µ 0, where µ 0 is a constant. Step 1: H 0 : µ = µ 0 Step 2: Choose H A as one of 1. H A : µ < µ 0 (one-sided test) 2. H A : µ > µ 0 (one-sided test) 3. H A : µ µ 0 (two-sided test) The form of hypotheses will depend on what we try to show or to conclude. As alternative, we choose what we try to demonstrate by data. Rafa l Kulik 6
8 Examples: 1. Suppose that an old method of production yields 100 articles/day on average. We want to introduce a new method which is supposed to be more effective (in other words, the average daily production will be bigger than 100). The appropriate test is H 0 : µ = 100 vs. H A : µ > Suppose that a manufacturer states that the mean lifetime of tires is 60,000km. A group of customers believes that the mean is lower than 60,000km. The appropriate test is H 0 : µ = 60, 000 vs. H A : µ < 60, 000. Rafa l Kulik 7
9 3. A physician is interested whether a particular drug has significant effect on a blood pressure. He measures blood pressure after the treatment and compares with the usual one of 110. The appropriate test is H 0 : µ = 110 vs. H A : µ 110. In the first case we may reject H 0 only if a sample mean is much bigger than 100. In the second, only if a sample mean is much smaller than 60,000. In the last case, we may reject H 0 if a sample mean is much smaller or much bigger than 110. In the first case, if we reject H 0, we have strong evidence that the new method improves. If we formulate H A in the first case as H A : µ 100, then me may reject H 0 if the sample mean is small. If we reject H 0, then the only meaning of it is that the new method is different. Rafa l Kulik 8
10 Step 3: Choose α - probability of type I error: α = P (reject H 0 H 0 is true). Typically α = 0.01, Step 4: Computation of the test statistics X. Step 5: Calculation of p-value by comparing the test statistics with the observed value of the test statistics. Rafa l Kulik 9
11 Examples 1. Components are manufactured to have strength normally distributed with mean µ = 40 units and standard deviation σ = 1.2 units. A modification have been tried, for which an increase in mean strength is claimed (the standard deviation remains the same). A random sample of n = 12 components produced using the modified process had strength 42.5, 39.8, 40.3, 43.1, 39.6, 41.0, 39.9, 42.1, 40.7, 41.6, 42.1, 40.8, Do the data provide strong evidence that the mean strength exceeds 40 units? (Use α = 0.05) Rafa l Kulik 10
12 Step 1 H 0 : µ = 40 Step 2 H A : µ > 40 Computation of p-value: Observed value of the sample mean is x = Hence p-value = P ( X ) = P ( X ) ( X µ0 = P σ/ n µ ) 0 σ/ = P (Z 3.25) n So, p-value is smaller than α - reject H 0. If the model µ = 40 is true, the event { X } is very unlikely. Rafa l Kulik 11
13 2. A set of scales is working acceptably if the measurement differs from the true weight by a normally distributed random error with sd σ = grams. It is suspected that the scale is over-reading. To test it, 10 measurements are made on a 1.0 gram gold-standard weight, giving a set of measurements which average out to g. Is this the evidence that the scale is over-reading? (Use α = 0.05 and then α = 0.01) Step 1 and 2 H 0 : µ = 1.0 vs. H A : µ > 1.0 Computation of p-value: Observed value of the sample mean is x = Hence p-value = P ( X ) = P = P ( Z / 10 ( X µ0 σ/ n µ 0 σ/ n Do not reject H 0 for α = 0.01, do reject H 0 for α = ) ) 1 Φ(1.7166) Rafa l Kulik 12
14 3. In the previous example, let s assume that we are interested whether the scales work properly (which means that both under-reading and over-reading are not acceptable). Step 1 H 0 : µ = 1.0; Step 2 H A : µ 1.0 Computation of p-value: Observed value of the sample mean is x = Hence p-value = 2 P ( X ) = 2 P = 2 P ( Z ) 0.007/ 10 ( X µ0 σ/ n µ ) 0 σ/ n Do not reject H 0 for α = 0.01, do not reject H 0 for α = Rafa l Kulik 13
15 4. An average class marks are normally distributed with mean µ = 60 and variance σ 2 = 100. Nine students are selected from the class and their average mark was 55. Test, whether this class is below average. Solution: Step 1 H 0 : µ = 60 Step 2 H A : µ < 60 Computation of p-value P ( X 55) = P ( Z ) / 9 = There is not enough evidence to reject the claim that the class is average, regardless whether we use α = 0.05 or α = Rafa l Kulik 14
16 5. An average class marks have mean µ = 60 and variance σ 2 = students are selected from the class and their average mark was 55. Test, whether this class is below average. Solution: Step 1 H 0 : µ = 60 Step 2 H A : µ < 60 Computation of p-value P ( X 55) = P ( Z / 100 ) = 0 We reject the claim that the class is average for either choice of α. Rafa l Kulik 15
17 Tests and confidence intervals If α is given, then we reject H 0 : µ = µ 0 in favor of H A : µ µ 0 only if µ is not in the (1 α) confidence interval for µ 0. Example: A manufacturer claims that a particular type of an engine uses 20 gallons of fuel to operate for one hour. From previous studies it is known that the amount of fuel used per hour is normally distributed with variance σ 2 = 25. A sample of size n = 9 has been taken and the following value has been obtained: x = 23. Should we accept the manufacturer s claim? Use α = Step 1 H 0 : µ = 20 Step 2 H A : µ 20 Rafa l Kulik 16
18 Computation of p-value p-value = 2 P ( X 23) = 2 P ( X 23) = 2 P ( X µ0 σ/ n 23 µ ) 0 σ/ n = 2 P (Z 1.8) = Do not reject H 0 since p-value is bigger than α. Confidence interval: x ± z α/2 σ/ n = 23 ± / 9 = (19.73; 26.26). We will not reject the claim that µ = 20, µ = 19.74, µ = etc. Indeed, let s consider H 0 : µ = vs. H A : µ Then the observed value of z 0 = x µ 0 σ/ n = Now, z 0 < 1.96 = z α/2. Rafa l Kulik 17
19 Example: We are interested in the mean burning rate of a solid propellant used to power aircrew escape systems. We want to determine whether or not the mean burning rate is 50 cms/second. The sample of 10 specimens is tested and we observe x = Assume normality and σ = 2.5. Solution: Step 1 H 0 : µ = 50 Step 2 H A : µ 50 Step 5 p-value = 2 P ( X 48.5) = 2 P ( X 48.5) = 2 P Do not reject H 0 for α = 0.01, reject for α = ( X µ0 σ/ n x µ ) 0 σ/ n = 2 P (Z 2.4) = Rafa l Kulik 18
20 t-test If data are normal and σ is unknown we can estimate it by S = 1 n 1 n ( Xi X ) 2 i=1 Then we use the following test statistics: T = X µ S/ n t n 1 and say T has Student s t-distribution with n 1 degrees of freedom. Rafa l Kulik 19
21 How does it works: We have the following data from N (µ, σ 2 ) with completely unknown µ and σ 2. Test H 0 : µ = 16.6 against H A : µ > Use α = Rafa l Kulik 20
22 Step 1 H 0 : µ = 16.6 Step 2 H A : µ > 16.6 Computation of p-value The observed value of the sample mean is x = Hence P ( X 17.4) = P ( X µ0 S/ n = P (T 0 > 3.081) ) > S/4 where T 0 t 15. From the t-tables we see that = P ( T ) 16.6 S/4 P (T ) and P (t ) Hence the p-value is somewhere between these, i.e. in the interval (0.0025, 0.005), in particular it is 0.05, strong evidence against H 0 : µ = Rafa l Kulik 21
23 Test on proportion Example: A group of 100 adult American Catholics have been asked: Do you favor allowing women to be priests?. 60 of them answered YES. Is this the strong evidence that more than half American Catholics favor allowing women to be priests? Solution Model: X-number of people who answered YES, X B(100, p). H 0 : p = 0.5, H A : p > 0.5, Under H 0, X B(100, 0.5) Rafa l Kulik 22
24 p-value: P (X 60): P (X 60) = 1 P (X < 60) = 1 P (X 59) ( ) X np 59 np = 1 P np(1 p) np(1 p) = 1 P (Z 1.9) = Reject H 0 for α = 0.05, don t reject for α = Rafa l Kulik 23
25 Paired test Assumptions: X 11,..., X 1n is a random sample from population 1 X 21,..., X 2n is a random sample from population 2 Two populations are not independent and normal with means µ 1 and µ 2, respectively. Variances are unknown We want to test H 0 : µ 1 = µ 2, H A : µ 1 µ 2. Rafa l Kulik 24
26 Solution: Compute differences D i = X 1i X 2i and consider t-test from page 36. The test statistics is T 0 = D S D / n t n 1, where D = 1 n S 2 D = 1 n 1 n 1 i=1 n D i, i=1 (D i D) 2 Note: You can also consider one-sided alternatives for both two-sample and paired test. Rafa l Kulik 25
27 Example Ten engineers knowledge of basic statistical concepts was measured on a scale of 100 before and after a short course in statistical quality control. The result are as follows: Engineer Before X 1i After X 2i Let µ 1 and µ 2 be the mean mean score before and after the course. Test H 0 : µ 1 = µ 2 against µ 1 < µ 2. Rafa l Kulik 26
28 Solution: The differences D i = X 1i X 2i are: Engineer Before X 1i After X 2i Difference D i so that the observed sample mean is -2.9, the observed sample variance is SD 2 = The test statistic is T 0 = D S D / n t n 1. Rafa l Kulik 27
29 We compute P ( D 2.9) = P ( ) D 0 S D / n /10 = P (t 9 < 1.64) = P (t 9 > 1.64) (0.05, 0.1) Do not reject H 0 when α = 0.05 or α = Rafa l Kulik 28
30 Assumptions: Two Sample Test X 11,..., X 1n1 is a random sample from population 1 X 21,..., X 2n2 is a random sample from population 2 Two populations are independent We want to test H 0 : µ 1 = µ 2, H A : µ 1 µ 2. Let X 1 = 1 n 1 n 1 i=1 X 1i, X2 = 1 n 2 n 2 i=1 X 2i. Rafa l Kulik 29
31 Case 1: Known variances σ 2 1 and σ 2 2 Example: A researcher is interested to assess whether an income in Alberta is higher than in Ontario. A sample of 100 people from Alberta has been interviewed yielding the sample mean x 1 = A sample of 80 people from Ontario yields the sample mean x 2 = Do we have enough evidence that people in Alberta get more on average than in Ontario? From the previous studies it is known that the population standard deviations are respectively, σ 1 = 5000 and σ 2 = Solution: H 0 : µ 1 = µ 2 ; H 1 : µ 1 > µ 2. The observed difference is To compute P ( X1 X 2 > 1000 ) X 1 = P X > σ1 2/n 1 + σ2 2/n / /80 2 = P (Z > 1.82) = Reject H 0 when α = 0.05, do not reject when α = Rafa l Kulik 30
32 Case 2: Unknown variances σ 2 1 = σ 2 2; small sample size Example: A researcher wants to test that on average a new fertilizer yields taller plants. Plants were divided into two groups: a control group treated with an old fertilizer and a study group treated with the new fertilizer. The following data are obtained: Test H 0 : µ 1 = µ 2 vs. H 1 : µ 1 < µ 2. Sample size Sample Mean Sample Variance n 1 = 8 x 1 = s 2 1 = n 2 = 8 x 2 = s 2 2 = Rafa l Kulik 31
33 Solution: H 0 : µ 1 = µ 2 ; H 1 : µ 1 < µ 2. The observed difference is To compute P ( X1 X 2 < 4.65 ) X 1 = P X < s 1 p n /8 + 1/8 1 n 2 = P (t n1 +n 2 2 < 1.18) = P (t 14 < 1.18) = P (t 14 > 1.18) (0.1, 0.2). Here, s 2 p is the pooled variance which is computed as follows: s 2 p = (n 1 1)s (n 2 1)s 2 2 n 1 + n 2 2 = Do not reject H 0 when α = 0.05, do not reject when α = Rafa l Kulik 32
34 Case 3: Unknown variances σ 2 1, σ 2 2; large sample size Example: A researcher wants to test that on average a new fertilizer yields taller plants. Plants were divided into two groups: a control group treated with an old fertilizer and a study group treated with the new fertilizer. The following data are obtained: Sample size Sample Mean Sample Variance n 1 = 100 x 1 = s 2 1 = n 2 = 100 x 2 = s 2 2 = Test H 0 : µ 1 = µ 2 vs. H 1 : µ 1 < µ 2. Rafa l Kulik 33
35 Solution: H 0 : µ 1 = µ 2 ; H 1 : µ 1 < µ 2. The observed difference is To compute P ( X1 X 2 < 4.65 ) = P X 1 X 2 0 < s 2 1 n 1 + s2 2 n 2 = P (Z < 4.18) = Reject H 0 when α = 0.05, reject when α = Rafa l Kulik 34
36 Difference of two proportions We consider a proportion of recaptured moths in the light-coloured (p 1 ) and the dark colorued (p 2 ) populations. Among the n 1 = 137 light-coloured moths, y 1 = 18 were recaptured; among the n 2 = 493 light-coloured moths, y 2 = 131 were recaptured. Is there a significant difference between the proportion of recaptured moths? Solution: H 0 : p 1 = p 2 ; H 1 : p 1 p 2. The observed proportions are ˆp 1 = y 1 n 1 = 0.131; ˆp 2 = y 2 n 2 = 0.266; ˆp 1 ˆp 2 = Rafa l Kulik 35
37 We compute p-value as 2 P (ˆp 1 ˆp ): 2 P ( ˆp 1 ˆp 2 0 ˆp(1 ˆp) 1/n1 + 1/n 2 ) ( ) 1/ /493 We get 2 P (ˆp 1 ˆp ) = 2P (Z < 3.29) 0. Here, ˆp is the pooled proportion: ˆp = n 1 n 1 + n 2 ˆp 1 + n 2 n 1 + n 2 ˆp 2. Rafa l Kulik 36
38 R-commands t.test(x,mu=5) is the command for H 0 : µ = 5 against H 1 : µ 5 when σ is unknown (t-test) t.test(x,mu=5,alternative="greater") is the command for H 0 : µ = 5 against H 1 : µ > 5 when σ is unknown (t-test) t.test(x,mu=5,alternative="less") is the command for H 0 : µ = 5 against H 1 : µ < 5 when σ is unknown (t-test) t.test(x,y,paired=true) is the command for H 0 : µ 1 = µ 2 against H 1 : µ 1 = µ 2 in case of paired samples, when variances are unknown. t.test(x,y,paired=true,alternative="greater") is the command for H 0 : µ 1 = µ 2 against H 1 : µ 1 > µ 2 in case of paired samples, when variances are unknown. Rafa l Kulik 37
39 t.test(x,y,paired=true,alternative="less") is the command for H 0 : µ 1 = µ 2 against H 1 : µ 1 < µ 2 in case of paired samples, when variances are unknown. t.test(x,y,var.equal=true) is the command for H 0 : µ 1 = µ 2 against H 1 : µ 1 = µ 2 in case of two independent samples, when variances are unknown (Case 2). t.test(x,y,var.equal=true,alternative="greater") is the command for H 0 : µ 1 = µ 2 against H 1 : µ 1 > µ 2 in case of two independent samples, when variances are unknown (Case 2). t.test(x,y,var.equal=true,alternative="less") is the command for H 0 : µ 1 = µ 2 against H 1 : µ 1 < µ 2 in case of two independent samples, when variances are unknown (Case 2). Rafa l Kulik 38
[ z = 1.48 ; accept H 0 ]
CH 13 TESTING OF HYPOTHESIS EXAMPLES Example 13.1 Indicate the type of errors committed in the following cases: (i) H 0 : µ = 500; H 1 : µ 500. H 0 is rejected while H 0 is true (ii) H 0 : µ = 500; H 1
More informationHypothesis testing for µ:
University of California, Los Angeles Department of Statistics Statistics 10 Elements of a hypothesis test: Hypothesis testing Instructor: Nicolas Christou 1. Null hypothesis, H 0 (always =). 2. Alternative
More informationAP Statistics Ch 12 Inference for Proportions
Ch 12.1 Inference for a Population Proportion Conditions for Inference The statistic that estimates the parameter p (population proportion) is the sample proportion p ˆ. p ˆ = Count of successes in the
More informationCHAPTER 9: HYPOTHESIS TESTING
CHAPTER 9: HYPOTHESIS TESTING THE SECOND LAST EXAMPLE CLEARLY ILLUSTRATES THAT THERE IS ONE IMPORTANT ISSUE WE NEED TO EXPLORE: IS THERE (IN OUR TWO SAMPLES) SUFFICIENT STATISTICAL EVIDENCE TO CONCLUDE
More informationChapter 9. Hypothesis testing. 9.1 Introduction
Chapter 9 Hypothesis testing 9.1 Introduction Confidence intervals are one of the two most common types of statistical inference. Use them when our goal is to estimate a population parameter. The second
More informationMidterm 1 and 2 results
Midterm 1 and 2 results Midterm 1 Midterm 2 ------------------------------ Min. :40.00 Min. : 20.0 1st Qu.:60.00 1st Qu.:60.00 Median :75.00 Median :70.0 Mean :71.97 Mean :69.77 3rd Qu.:85.00 3rd Qu.:85.0
More informationMAT 2377C FINAL EXAM PRACTICE
Department of Mathematics and Statistics University of Ottawa MAT 2377C FINAL EXAM PRACTICE 10 December 2015 Professor: Rafal Kulik Time: 180 minutes Student Number: Family Name: First Name: This is a
More informationChapter 9 Inferences from Two Samples
Chapter 9 Inferences from Two Samples 9-1 Review and Preview 9-2 Two Proportions 9-3 Two Means: Independent Samples 9-4 Two Dependent Samples (Matched Pairs) 9-5 Two Variances or Standard Deviations Review
More informationST Introduction to Statistics for Engineers. Solutions to Sample Midterm for 2002
ST 314 - Introduction to Statistics for Engineers Solutions to Sample Midterm for 2002 Problem 1. (15 points) The weight of a human joint replacement part is normally distributed with a mean of 2.00 ounces
More informationHypothesis for Means and Proportions
November 14, 2012 Hypothesis Tests - Basic Ideas Often we are interested not in estimating an unknown parameter but in testing some claim or hypothesis concerning a population. For example we may wish
More informationLECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING
LECTURE 1 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING INTERVAL ESTIMATION Point estimation of : The inference is a guess of a single value as the value of. No accuracy associated with it. Interval estimation
More informationProbability and Statistics Notes
Probability and Statistics Notes Chapter Seven Jesse Crawford Department of Mathematics Tarleton State University Spring 2011 (Tarleton State University) Chapter Seven Notes Spring 2011 1 / 42 Outline
More informationProblem Set 4 - Solutions
Problem Set 4 - Solutions Econ-310, Spring 004 8. a. If we wish to test the research hypothesis that the mean GHQ score for all unemployed men exceeds 10, we test: H 0 : µ 10 H a : µ > 10 This is a one-tailed
More informationCIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8
CIVL - 7904/8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8 Chi-square Test How to determine the interval from a continuous distribution I = Range 1 + 3.322(logN) I-> Range of the class interval
More informationTwo-Sample Inferential Statistics
The t Test for Two Independent Samples 1 Two-Sample Inferential Statistics In an experiment there are two or more conditions One condition is often called the control condition in which the treatment is
More informationChapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15
Chapter 22 Comparing Two Proportions Bin Zou (bzou@ualberta.ca) STAT 141 University of Alberta Winter 2015 1 / 15 Introduction In Ch.19 and Ch.20, we studied confidence interval and test for proportions,
More informationStatistics 301: Probability and Statistics 1-sample Hypothesis Tests Module
Statistics 301: Probability and Statistics 1-sample Hypothesis Tests Module 9 2018 Student s t graphs For the heck of it: x
More informationMAT 2379, Introduction to Biostatistics, Sample Calculator Questions 1. MAT 2379, Introduction to Biostatistics
MAT 2379, Introduction to Biostatistics, Sample Calculator Questions 1 MAT 2379, Introduction to Biostatistics Sample Calculator Problems for the Final Exam Note: The exam will also contain some problems
More informationStatistics 251: Statistical Methods
Statistics 251: Statistical Methods 1-sample Hypothesis Tests Module 9 2018 Introduction We have learned about estimating parameters by point estimation and interval estimation (specifically confidence
More informationME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV
Theory of Engineering Experimentation Chapter IV. Decision Making for a Single Sample Chapter IV 1 4 1 Statistical Inference The field of statistical inference consists of those methods used to make decisions
More informationMATH 333: Probability & Statistics. Final Examination (Fall 2004) Must show all work to receive full credit. Total. Score #1 # 2 #3 #4 #5 #6 #7 #8
MATH 333: Probability & Statistics. Final Examination (Fall 2004) December 15, 2004 (A) NJIT Name: SSN: Section # Instructors : A. Jain, K. Johnson, H. Khan, K. Rappaport, S. Roychaudhury Must show all
More informationAMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015
AMS7: WEEK 7. CLASS 1 More on Hypothesis Testing Monday May 11th, 2015 Testing a Claim about a Standard Deviation or a Variance We want to test claims about or 2 Example: Newborn babies from mothers taking
More informationComparing Means from Two-Sample
Comparing Means from Two-Sample Kwonsang Lee University of Pennsylvania kwonlee@wharton.upenn.edu April 3, 2015 Kwonsang Lee STAT111 April 3, 2015 1 / 22 Inference from One-Sample We have two options to
More informationSection 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples
Objective Section 9.4 Inferences About Two Means (Matched Pairs) Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means
More informationCode No: RT051 R13 SET - 1 II B. Tech II Semester Regular/Supplementary Examinations, April/May-017 PROBABILITY AND STATISTICS (Com. to CSE, IT, CHEM, PE, PCE) Time: 3 hours Max. Marks: 70 Note: 1. Question
More informationName: Exam: In-term Two Page: 1 of 8 Date: 12/07/2018. University of Texas at Austin, Department of Mathematics M358K - Applied Statistics TRUE/FALSE
Exam: In-term Two Page: 1 of 8 Date: 12/07/2018 Name: TRUE/FALSE 1.1 TRUE FALSE University of Texas at Austin, Department of Mathematics M358K - Applied Statistics MULTIPLE CHOICE 1.2 TRUE FALSE 1.3 TRUE
More informationM(t) = 1 t. (1 t), 6 M (0) = 20 P (95. X i 110) i=1
Math 66/566 - Midterm Solutions NOTE: These solutions are for both the 66 and 566 exam. The problems are the same until questions and 5. 1. The moment generating function of a random variable X is M(t)
More informationThe point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.
Introduction to Statistics Math 1040 Sample Exam III Chapters 8-10 4 Problem Pages 3 Formula/Table Pages Time Limit: 90 Minutes 1 No Scratch Paper Calculator Allowed: Scientific Name: The point value of
More informationPractice Questions: Statistics W1111, Fall Solutions
Practice Questions: Statistics W, Fall 9 Solutions Question.. The standard deviation of Z is 89... P(=6) =..3. is definitely inside of a 95% confidence interval for..4. (a) YES (b) YES (c) NO (d) NO Questions
More informationConfidence Intervals with σ unknown
STAT 141 Confidence Intervals and Hypothesis Testing 10/26/04 Today (Chapter 7): CI with σ unknown, t-distribution CI for proportions Two sample CI with σ known or unknown Hypothesis Testing, z-test Confidence
More informationChapter 15 Sampling Distribution Models
Chapter 15 Sampling Distribution Models 1 15.1 Sampling Distribution of a Proportion 2 Sampling About Evolution According to a Gallup poll, 43% believe in evolution. Assume this is true of all Americans.
More informationThe Components of a Statistical Hypothesis Testing Problem
Statistical Inference: Recall from chapter 5 that statistical inference is the use of a subset of a population (the sample) to draw conclusions about the entire population. In chapter 5 we studied one
More informationSTAT 201 Assignment 6
STAT 201 Assignment 6 Partial Solutions 12.1 Research question: Do parents in the school district support the new education program? Parameter: p = proportion of all parents in the school district who
More informationSMAM 314 Exam 49 Name. 1.Mark the following statements true or false (10 points-2 each)
SMAM 314 Exam 49 Name 1.Mark the following statements true or false (10 points-2 each) _F A. When fitting a least square equation it is necessary that the observations come from a normal distribution.
More information# of 6s # of times Test the null hypthesis that the dice are fair at α =.01 significance
Practice Final Exam Statistical Methods and Models - Math 410, Fall 2011 December 4, 2011 You may use a calculator, and you may bring in one sheet (8.5 by 11 or A4) of notes. Otherwise closed book. The
More information5.2 Tests of Significance
5.2 Tests of Significance Example 5.7. Diet colas use artificial sweeteners to avoid sugar. Colas with artificial sweeteners gradually lose their sweetness over time. Manufacturers therefore test new colas
More informationChapter 22. Comparing Two Proportions 1 /29
Chapter 22 Comparing Two Proportions 1 /29 Homework p519 2, 4, 12, 13, 15, 17, 18, 19, 24 2 /29 Objective Students test null and alternate hypothesis about two population proportions. 3 /29 Comparing Two
More informationMATH220 Test 2 Fall Name. Section
MATH220 Test 2 Fall 2014 Name Section This test has problems which are worth 100 points Show your steps in each problem to receive full or partial credit Note only writing down the final answer without
More informationChapter 24. Comparing Means. Copyright 2010 Pearson Education, Inc.
Chapter 24 Comparing Means Copyright 2010 Pearson Education, Inc. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side. For example:
More informationtheir contents. If the sample mean is 15.2 oz. and the sample standard deviation is 0.50 oz., find the 95% confidence interval of the true mean.
Math 1342 Exam 3-Review Chapters 7-9 HCCS **************************************************************************************** Name Date **********************************************************************************************
More informationChapitre 3. 5: Several Useful Discrete Distributions
Chapitre 3 5: Several Useful Discrete Distributions 5.3 The random variable x is not a binomial random variable since the balls are selected without replacement. For this reason, the probability p of choosing
More informationConfidence intervals and Hypothesis testing
Confidence intervals and Hypothesis testing Confidence intervals offer a convenient way of testing hypothesis (all three forms). Procedure 1. Identify the parameter of interest.. Specify the significance
More informationSign test. Josemari Sarasola - Gizapedia. Statistics for Business. Josemari Sarasola - Gizapedia Sign test 1 / 13
Josemari Sarasola - Gizapedia Statistics for Business Josemari Sarasola - Gizapedia 1 / 13 Definition is a non-parametric test, a special case for the binomial test with p = 1/2, with these applications:
More informationPoint Estimation and Confidence Interval
Chapter 8 Point Estimation and Confidence Interval 8.1 Point estimator The purpose of point estimation is to use a function of the sample data to estimate the unknown parameter. Definition 8.1 A parameter
More informationThe point value of each problem is in the left-hand margin. You must show your work to receive any credit, except in problem 1. Work neatly.
Introduction to Statistics Math 1040 Sample Final Exam - Chapters 1-11 6 Problem Pages Time Limit: 1 hour and 50 minutes Open Textbook Calculator Allowed: Scientific Name: The point value of each problem
More informationStatistics for IT Managers
Statistics for IT Managers 95-796, Fall 2012 Module 2: Hypothesis Testing and Statistical Inference (5 lectures) Reading: Statistics for Business and Economics, Ch. 5-7 Confidence intervals Given the sample
More informationLecture 14. Analysis of Variance * Correlation and Regression. The McGraw-Hill Companies, Inc., 2000
Lecture 14 Analysis of Variance * Correlation and Regression Outline Analysis of Variance (ANOVA) 11-1 Introduction 11-2 Scatter Plots 11-3 Correlation 11-4 Regression Outline 11-5 Coefficient of Determination
More informationLecture 14. Outline. Outline. Analysis of Variance * Correlation and Regression Analysis of Variance (ANOVA)
Outline Lecture 14 Analysis of Variance * Correlation and Regression Analysis of Variance (ANOVA) 11-1 Introduction 11- Scatter Plots 11-3 Correlation 11-4 Regression Outline 11-5 Coefficient of Determination
More informationRelax and good luck! STP 231 Example EXAM #2. Instructor: Ela Jackiewicz
STP 31 Example EXAM # Instructor: Ela Jackiewicz Honor Statement: I have neither given nor received information regarding this exam, and I will not do so until all exams have been graded and returned.
More informationHypothesis testing. Data to decisions
Hypothesis testing Data to decisions The idea Null hypothesis: H 0 : the DGP/population has property P Under the null, a sample statistic has a known distribution If, under that that distribution, the
More informationTentative solutions TMA4255 Applied Statistics 16 May, 2015
Norwegian University of Science and Technology Department of Mathematical Sciences Page of 9 Tentative solutions TMA455 Applied Statistics 6 May, 05 Problem Manufacturer of fertilizers a) Are these independent
More informationLecture 11 - Tests of Proportions
Lecture 11 - Tests of Proportions Statistics 102 Colin Rundel February 27, 2013 Research Project Research Project Proposal - Due Friday March 29th at 5 pm Introduction, Data Plan Data Project - Due Friday,
More informationExtra Exam Empirical Methods VU University Amsterdam, Faculty of Exact Sciences , July 2, 2015
Extra Exam Empirical Methods VU University Amsterdam, Faculty of Exact Sciences 12.00 14.45, July 2, 2015 Also hand in this exam and your scrap paper. Always motivate your answers. Write your answers in
More informationMath 101: Elementary Statistics Tests of Hypothesis
Tests of Hypothesis Department of Mathematics and Computer Science University of the Philippines Baguio November 15, 2018 Basic Concepts of Statistical Hypothesis Testing A statistical hypothesis is an
More information1 Binomial Probability [15 points]
Economics 250 Assignment 2 (Due November 13, 2017, in class) i) You should do the assignment on your own, Not group work! ii) Submit the completed work in class on the due date. iii) Remember to include
More informationHYPOTHESIS TESTING. Hypothesis Testing
MBA 605 Business Analytics Don Conant, PhD. HYPOTHESIS TESTING Hypothesis testing involves making inferences about the nature of the population on the basis of observations of a sample drawn from the population.
More informationCH.9 Tests of Hypotheses for a Single Sample
CH.9 Tests of Hypotheses for a Single Sample Hypotheses testing Tests on the mean of a normal distributionvariance known Tests on the mean of a normal distributionvariance unknown Tests on the variance
More informationCHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains:
CHAPTER 8 Test of Hypotheses Based on a Single Sample Hypothesis testing is the method that decide which of two contradictory claims about the parameter is correct. Here the parameters of interest are
More informationThe t-statistic. Student s t Test
The t-statistic 1 Student s t Test When the population standard deviation is not known, you cannot use a z score hypothesis test Use Student s t test instead Student s t, or t test is, conceptually, very
More informationThe t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies
The t-test: So Far: Sampling distribution benefit is that even if the original population is not normal, a sampling distribution based on this population will be normal (for sample size > 30). Benefit
More informationDifference Between Pair Differences v. 2 Samples
1 Sectio1.1 Comparing Two Proportions Learning Objectives After this section, you should be able to DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence
More informationSL - Binomial Questions
IB Questionbank Maths SL SL - Binomial Questions 262 min 244 marks 1. A random variable X is distributed normally with mean 450 and standard deviation 20. Find P(X 475). Given that P(X > a) = 0.27, find
More informationHypothesis Tests and Estimation for Population Variances. Copyright 2014 Pearson Education, Inc.
Hypothesis Tests and Estimation for Population Variances 11-1 Learning Outcomes Outcome 1. Formulate and carry out hypothesis tests for a single population variance. Outcome 2. Develop and interpret confidence
More informationOne-Sample and Two-Sample Means Tests
One-Sample and Two-Sample Means Tests 1 Sample t Test The 1 sample t test allows us to determine whether the mean of a sample data set is different than a known value. Used when the population variance
More informationData Analysis and Statistical Methods Statistics 651
Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Suhasini Subba Rao Motivations for the ANOVA We defined the F-distribution, this is mainly used in
More informationPurposes of Data Analysis. Variables and Samples. Parameters and Statistics. Part 1: Probability Distributions
Part 1: Probability Distributions Purposes of Data Analysis True Distributions or Relationships in the Earths System Probability Distribution Normal Distribution Student-t Distribution Chi Square Distribution
More informationThe Chi-Square Distributions
MATH 03 The Chi-Square Distributions Dr. Neal, Spring 009 The chi-square distributions can be used in statistics to analyze the standard deviation of a normally distributed measurement and to test the
More information10.4 Hypothesis Testing: Two Independent Samples Proportion
10.4 Hypothesis Testing: Two Independent Samples Proportion Example 3: Smoking cigarettes has been known to cause cancer and other ailments. One politician believes that a higher tax should be imposed
More informationChapter 20 Comparing Groups
Chapter 20 Comparing Groups Comparing Proportions Example Researchers want to test the effect of a new anti-anxiety medication. In clinical testing, 64 of 200 people taking the medicine reported symptoms
More informationQUEEN S UNIVERSITY FINAL EXAMINATION FACULTY OF ARTS AND SCIENCE DEPARTMENT OF ECONOMICS APRIL 2018
Page 1 of 4 QUEEN S UNIVERSITY FINAL EXAMINATION FACULTY OF ARTS AND SCIENCE DEPARTMENT OF ECONOMICS APRIL 2018 ECONOMICS 250 Introduction to Statistics Instructor: Gregor Smith Instructions: The exam
More informationUNIVERSITY OF TORONTO. Faculty of Arts and Science APRIL - MAY 2005 EXAMINATIONS STA 248 H1S. Duration - 3 hours. Aids Allowed: Calculator
UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL - MAY 2005 EXAMINATIONS STA 248 H1S Duration - 3 hours Aids Allowed: Calculator LAST NAME: FIRST NAME: STUDENT NUMBER: There are 17 pages including
More informationThe Chi-Square Distributions
MATH 183 The Chi-Square Distributions Dr. Neal, WKU The chi-square distributions can be used in statistics to analyze the standard deviation σ of a normally distributed measurement and to test the goodness
More informationHypothesis tests for two means
Chapter 3 Hypothesis tests for two means 3.1 Introduction Last week you were introduced to the concept of hypothesis testing in statistics, and we considered hypothesis tests for the mean if we have a
More informationLecture 14: Introduction to Poisson Regression
Lecture 14: Introduction to Poisson Regression Ani Manichaikul amanicha@jhsph.edu 8 May 2007 1 / 52 Overview Modelling counts Contingency tables Poisson regression models 2 / 52 Modelling counts I Why
More informationModelling counts. Lecture 14: Introduction to Poisson Regression. Overview
Modelling counts I Lecture 14: Introduction to Poisson Regression Ani Manichaikul amanicha@jhsph.edu Why count data? Number of traffic accidents per day Mortality counts in a given neighborhood, per week
More informationChapter 22. Comparing Two Proportions 1 /30
Chapter 22 Comparing Two Proportions 1 /30 Homework p519 2, 4, 12, 13, 15, 17, 18, 19, 24 2 /30 3 /30 Objective Students test null and alternate hypothesis about two population proportions. 4 /30 Comparing
More informationLecture 10: Comparing two populations: proportions
Lecture 10: Comparing two populations: proportions Problem: Compare two sets of sample data: e.g. is the proportion of As in this semester 152 the same as last Fall? Methods: Extend the methods introduced
More informationHYPOTHESIS TESTING II TESTS ON MEANS. Sorana D. Bolboacă
HYPOTHESIS TESTING II TESTS ON MEANS Sorana D. Bolboacă OBJECTIVES Significance value vs p value Parametric vs non parametric tests Tests on means: 1 Dec 14 2 SIGNIFICANCE LEVEL VS. p VALUE Materials and
More informationAn inferential procedure to use sample data to understand a population Procedures
Hypothesis Test An inferential procedure to use sample data to understand a population Procedures Hypotheses, the alpha value, the critical region (z-scores), statistics, conclusion Two types of errors
More informationInterpretation of results through confidence intervals
Interpretation of results through confidence intervals Hypothesis tests Confidence intervals Hypothesis Test Reject H 0 : μ = μ 0 Confidence Intervals μ 0 is not in confidence interval μ 0 P(observed statistic
More informationhypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α
Chapter 8 Notes Section 8-1 Independent and Dependent Samples Independent samples have no relation to each other. An example would be comparing the costs of vacationing in Florida to the cost of vacationing
More informationSampling Distributions: Central Limit Theorem
Review for Exam 2 Sampling Distributions: Central Limit Theorem Conceptually, we can break up the theorem into three parts: 1. The mean (µ M ) of a population of sample means (M) is equal to the mean (µ)
More informationInferences Based on Two Samples
Chapter 6 Inferences Based on Two Samples Frequently we want to use statistical techniques to compare two populations. For example, one might wish to compare the proportions of families with incomes below
More informationCHAPTER 10 HYPOTHESIS TESTING WITH TWO SAMPLES
CHAPTER 10 HYPOTHESIS TESTING WITH TWO SAMPLES In this chapter our hypothesis tests allow us to compare the means (or proportions) of two different populations using a sample from each population For example,
More informationChapter 7: Hypothesis Testing - Solutions
Chapter 7: Hypothesis Testing - Solutions 7.1 Introduction to Hypothesis Testing The problem with applying the techniques learned in Chapter 5 is that typically, the population mean (µ) and standard deviation
More informationExamination paper for TMA4255 Applied statistics
Department of Mathematical Sciences Examination paper for TMA4255 Applied statistics Academic contact during examination: Anna Marie Holand Phone: 951 38 038 Examination date: 16 May 2015 Examination time
More informationChapter. Hypothesis Testing with Two Samples. Copyright 2015, 2012, and 2009 Pearson Education, Inc. 1
Chapter 8 Hypothesis Testing with Two Samples Copyright 2015, 2012, and 2009 Pearson Education, Inc 1 Two Sample Hypothesis Test Compares two parameters from two populations Sampling methods: Independent
More informationCh. 7. One sample hypothesis tests for µ and σ
Ch. 7. One sample hypothesis tests for µ and σ Prof. Tesler Math 18 Winter 2019 Prof. Tesler Ch. 7: One sample hypoth. tests for µ, σ Math 18 / Winter 2019 1 / 23 Introduction Data Consider the SAT math
More informationLast two weeks: Sample, population and sampling distributions finished with estimation & confidence intervals
Past weeks: Measures of central tendency (mean, mode, median) Measures of dispersion (standard deviation, variance, range, etc). Working with the normal curve Last two weeks: Sample, population and sampling
More informationSTA Module 10 Comparing Two Proportions
STA 2023 Module 10 Comparing Two Proportions Learning Objectives Upon completing this module, you should be able to: 1. Perform large-sample inferences (hypothesis test and confidence intervals) to compare
More informationChapter 5: HYPOTHESIS TESTING
MATH411: Applied Statistics Dr. YU, Chi Wai Chapter 5: HYPOTHESIS TESTING 1 WHAT IS HYPOTHESIS TESTING? As its name indicates, it is about a test of hypothesis. To be more precise, we would first translate
More informationYou may not use your books/notes on this exam. You may use calculator.
MATH 450 Fall 2018 Review problems 12/03/18 Time Limit: 60 Minutes Name (Print: This exam contains 6 pages (including this cover page and 5 problems. Check to see if any pages are missing. Enter all requested
More informationExam 2 (KEY) July 20, 2009
STAT 2300 Business Statistics/Summer 2009, Section 002 Exam 2 (KEY) July 20, 2009 Name: USU A#: Score: /225 Directions: This exam consists of six (6) questions, assessing material learned within Modules
More informationSampling, Confidence Interval and Hypothesis Testing
Sampling, Confidence Interval and Hypothesis Testing Christopher Grigoriou Executive MBA HEC Lausanne 2007-2008 1 Sampling : Careful with convenience samples! World War II: A statistical study to decide
More informationTest of Hypothesis for Small and Large Samples and Test of Goodness of Fit
Quest Journals Journal of Software Engineering and Simulation Volume 2 ~ Issue 7(2014) pp: 08-15 ISSN(Online) :2321-3795 ISSN (Print):2321-3809 www.questjournals.org Research Paper Test of Hypothesis for
More informationDifference between means - t-test /25
Difference between means - t-test 1 Discussion Question p492 Ex 9-4 p492 1-3, 6-8, 12 Assume all variances are not equal. Ignore the test for variance. 2 Students will perform hypothesis tests for two
More informationSTAT 135 Lab 5 Bootstrapping and Hypothesis Testing
STAT 135 Lab 5 Bootstrapping and Hypothesis Testing Rebecca Barter March 2, 2015 The Bootstrap Bootstrap Suppose that we are interested in estimating a parameter θ from some population with members x 1,...,
More informationTwo Sample Problems. Two sample problems
Two Sample Problems Two sample problems The goal of inference is to compare the responses in two groups. Each group is a sample from a different population. The responses in each group are independent
More informationInferences About Two Proportions
Inferences About Two Proportions Quantitative Methods II Plan for Today Sampling two populations Confidence intervals for differences of two proportions Testing the difference of proportions Examples 1
More informationPopulation 1 Population 2
Two Population Case Testing the Difference Between Two Population Means Sample of Size n _ Sample mean = x Sample s.d.=s x Sample of Size m _ Sample mean = y Sample s.d.=s y Pop n mean=μ x Pop n s.d.=
More information