Independent Samples: Comparing Means
|
|
- Christine Campbell
- 5 years ago
- Views:
Transcription
1 Independent Samples: Comparing Means Lecture 38 Section 11.4 Robb T. Koether Hampden-Sydney College Fri, Nov 4, 2011 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
2 Outline 1 The Sum of Two Distributions 2 The Sampling Distribution of x 1 x 2 3 Examples Using z 4 Assignment Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
3 Outline 1 The Sum of Two Distributions 2 The Sampling Distribution of x 1 x 2 3 Examples Using z 4 Assignment Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
4 The Sum of Two Distributions Suppose x and y are random variables, each with its own distribution. What is the distribution of their sum, x + y? For example, what if x is the result of the first roll of a die (1 through 6) and y is the result of the second roll (again, 1 through 6). What is the distribution of the sum, x + y? Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
5 The Sum of Two Distributions x P(x) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 y P(y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
6 The Sum of Two Distributions x + y P(x + y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/ / / /36 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
7 The Sum of Two Distributions x P(x) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 y P(y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 µ x = 3.5 µ y = 3.5 x + y P(x + y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/ / / /36 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
8 The Sum of Two Distributions x P(x) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 y P(y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 x + y P(x + y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/ / / /36 µ x = 3.5 µ y = 3.5 µ x+y = 7 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
9 The Sum of Two Distributions x P(x) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 y P(y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 x + y P(x + y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/ / / /36 µ x = 3.5 µ y = 3.5 µ x+y = 7 σx 2 = σy 2 = Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
10 The Sum of Two Distributions x P(x) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 y P(y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 x + y P(x + y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/ / / /36 µ x = 3.5 µ y = 3.5 µ x+y = 7 σx 2 = σy 2 = σx+y 2 = Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
11 The Sum of Two Distributions x P(x) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 y P(y) 1 1/6 2 1/6 3 1/6 4 1/6 5 1/6 6 1/6 x + y P(x + y) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 5/36 9 4/ / / /36 µ x = 3.5 µ y = 3.5 µ x+y = 7 σ 2 x = σ 2 y = σ 2 x+y = σ x = σ y = σ x+y = Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
12 The Sum of Two Distributions In other words, it turns out that µ x+y = µ x + µ y σx+y 2 = σx 2 + σy 2 σ x+y = σx 2 + σy 2 Furthermore, if x and y are both normal, then x + y is also normal. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
13 The Sum of Two Distributions Consider the average age at which a male first marries (x 1 ) vs. the average age at which a female first marries (x 2 ). (µ 1 vs. µ 2.) Suppose that x 1 is N(26, 8) and that x 2 is N(24, 6). Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
14 The Sum of Two Distributions Age when males first marry (X) is N(26, 8). Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
15 The Sum of Two Distributions Age when females first marry (Y ) is N(24, 6). Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
16 The Sum of Two Distributions Combined ages (X + Y ) is N(50, 10). Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
17 The Sum of Two Distributions That was interesting, but we need to know about the difference between variables. For the difference x y, the situation is very similar to the sum. For any two random variables x and y µ x y = µ x µ y σx y 2 = σx 2 + σy 2 σ x y = σx 2 + σy 2 If x and y are both normal, then x y is also normal. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
18 The Distribution of x Age when males first marry (X) is N(26, 8). Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
19 The Distribution of y Age when females first marry (Y ) is N(24, 6). Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
20 The Distribution of x y Difference between ages (X Y ) is N(2, 10). Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
21 Outline 1 The Sum of Two Distributions 2 The Sampling Distribution of x 1 x 2 3 Examples Using z 4 Assignment Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
22 The Distribution of x 1 x 2 Now let s consider two populations. Population 1 has mean µ 1 and standard deviation σ 1. Population 2 has mean µ 2 and standard deviation σ 2. We wish to compare µ 1 and µ 2. We do so by taking samples and comparing sample means x 1 and x 2. This means that we need to know the distribution of x 1 x 2. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
23 The Distribution of x 1 x 2 For large sample sizes, we know that ( ) σ 1 x 1 is N µ 1, n1 and x 2 is N ( ) σ 2 µ 2, n2 Therefore, x 1 x 2 has mean and standard deviation µ x 1 x 2 = µ 1 µ 2, σ1 2 σ x 1 x 2 = + σ2 2. n 1 n 2 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
24 The Distribution of x 1 x 2 Also, x 1 x 2 is normal, so σ1 x 1 x 1 is N µ 2 1 µ 2, + σ2 2 n 1 n 2. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
25 The Distribution of x 1 x 2 Therefore (for large samples), the test statistic will be z = (x 1 x 1 ) (µ 1 µ 2 ). σ 2 1 n 1 + σ2 2 n 2 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
26 The Distribution of x 1 x 2 Use z if σ 1 and σ 2 are known and the populations are normal. The populations are not normal, but the sample sizes are large. We will use t if σ 1 or σ 2 is unknown and the populations are normal. If both samples are large, we may use either z or t. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
27 Outline 1 The Sum of Two Distributions 2 The Sampling Distribution of x 1 x 2 3 Examples Using z 4 Assignment Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
28 Example Example (Testing hypotheses concerning µ 1 µ 2 ) I bought a book of Sudoku puzzles. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
29 Example Example (Testing hypotheses concerning µ 1 µ 2 ) I bought a book of Sudoku puzzles. The puzzles were divided into 4 levels of difficulty. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
30 Example Example (Testing hypotheses concerning µ 1 µ 2 ) I bought a book of Sudoku puzzles. The puzzles were divided into 4 levels of difficulty. Were the Level 2 puzzles really harder than the Level 1 puzzles? Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
31 Example Example (Testing hypotheses concerning µ 1 µ 2 ) I bought a book of Sudoku puzzles. The puzzles were divided into 4 levels of difficulty. Were the Level 2 puzzles really harder than the Level 1 puzzles? My average times for Levels 1 and 2 were Level 1 Level 2 x 1 = 3.02 x 2 = 4.70 s 1 = 0.84 s 2 = 0.95 n 1 = 30 n 2 = 30 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
32 Example Example (Testing hypotheses concerning µ 1 µ 2 ) I bought a book of Sudoku puzzles. The puzzles were divided into 4 levels of difficulty. Were the Level 2 puzzles really harder than the Level 1 puzzles? My average times for Levels 1 and 2 were Level 1 Level 2 x 1 = 3.02 x 2 = 4.70 s 1 = 0.84 s 2 = 0.95 n 1 = 30 n 2 = 30 Test the hypotheses at the 5% level of significance. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
33 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (1) µ 1 = average time to solve a level 1 puzzle. µ 2 = average time to solve a level 2 puzzle. H 0 : µ 1 = µ 2. H 1 : µ 1 < µ 2. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
34 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (1) µ 1 = average time to solve a level 1 puzzle. µ 2 = average time to solve a level 2 puzzle. H 0 : µ 1 = µ 2. H 1 : µ 1 < µ 2. (2) α = Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
35 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (1) µ 1 = average time to solve a level 1 puzzle. µ 2 = average time to solve a level 2 puzzle. H 0 : µ 1 = µ 2. H 1 : µ 1 < µ 2. (2) α = (3) The test statistic: z = (x 1 x 2 ) 0. s 2 1 n 1 + s2 2 n 2 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
36 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (4) Compute z: ( ) 0 z = = = Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
37 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (4) Compute z: ( ) 0 z = = = (5) p-value = normalcdf(-e99,-7.256) = 0. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
38 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (6) Reject H 0. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
39 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (6) Reject H 0. (7) The average time to solve a Level 1 puzzle is less than the average time to solve a Level 2 puzzle. That is, the Level 2 puzzles are harder than the Level 1 puzzles. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
40 Example Example (Testing hypotheses concerning µ 1 µ 2 ) Is Level 3 harder than Level 2? Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
41 Example Example (Testing hypotheses concerning µ 1 µ 2 ) Is Level 3 harder than Level 2? My average times for Levels 2 and 3 were Level 2 Level 3 x 1 = 4.70 x 2 = 6.61 s 1 = 0.95 s 2 = 1.69 n 1 = 30 n 2 = 30 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
42 Example Example (Testing hypotheses concerning µ 1 µ 2 ) Is Level 3 harder than Level 2? My average times for Levels 2 and 3 were Level 2 Level 3 x 1 = 4.70 x 2 = 6.61 s 1 = 0.95 s 2 = 1.69 n 1 = 30 n 2 = 30 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
43 Example Example (Testing hypotheses concerning µ 1 µ 2 ) Is Level 3 harder than Level 2? My average times for Levels 2 and 3 were Level 2 Level 3 x 1 = 4.70 x 2 = 6.61 s 1 = 0.95 s 2 = 1.69 n 1 = 30 n 2 = 30 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
44 Example Example (Testing hypotheses concerning µ 1 µ 2 ) Is Level 3 harder than Level 2? My average times for Levels 2 and 3 were Level 2 Level 3 x 1 = 4.70 x 2 = 6.61 s 1 = 0.95 s 2 = 1.69 n 1 = 30 n 2 = 30 Test the hypotheses at the 5% level of significance. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
45 Example Example (Testing hypotheses concerning µ 1 µ 2 ) A new drug is introduced. Is it better than the old drug? A group of 40 patients was given the new drug and a group of 60 patients was given the old drug. Time until recovery (in days) was measured for each patient. New Drug (# 1) Old Drug (# 2) n 1 = 40 n 2 = 60 x 1 = 5.4 x 2 = 6.8 s 1 = 1.8 s 2 = 1.3 Test the hypotheses at the 5% level of significance. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
46 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (1) µ 1 = average time to recovery for the new drug. µ 2 = average time to recovery for the old drug. H 0 : µ 1 µ 2 = 0. H 1 : µ 1 µ 2 < 0. (2) α = (3) The test statistic: z = (x 1 x 2 ) 0. s 2 1 n 1 + s2 2 n 2 Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
47 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (4) Compute z: ( ) 0 z = = = (5) p-value = normalcdf(-e99,-4.237) = Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
48 Example Example (Testing hypotheses concerning µ 1 µ 2 ) (6) Reject H 0. (7) The average time to recovery for the new drug is less than it is for the old drug. That is, the new drug is more effective than the old drug. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
49 Outline 1 The Sum of Two Distributions 2 The Sampling Distribution of x 1 x 2 3 Examples Using z 4 Assignment Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
50 Assignment Homework Read Section 11.4, pages (skip confidence intervals). Let s Do It! Exercises postponed to Monday. Robb T. Koether (Hampden-Sydney College) Independent Samples:Comparing Means Fri, Nov 4, / 38
Direct Proof Universal Statements
Direct Proof Universal Statements Lecture 13 Section 4.1 Robb T. Koether Hampden-Sydney College Wed, Feb 6, 2013 Robb T. Koether (Hampden-Sydney College) Direct Proof Universal Statements Wed, Feb 6, 2013
More informationSampling Distribution of a Sample Proportion
Sampling Distribution of a Sample Proportion Lecture 26 Section 8.4 Robb T. Koether Hampden-Sydney College Mon, Mar 1, 2010 Robb T. Koether (Hampden-Sydney College) Sampling Distribution of a Sample Proportion
More informationSampling Distribution of a Sample Proportion
Sampling Distribution of a Sample Proportion Lecture 26 Section 8.4 Robb T. Koether Hampden-Sydney College Mon, Oct 10, 2011 Robb T. Koether (Hampden-Sydney College) Sampling Distribution of a Sample Proportion
More informationComposition of Functions
Composition of Functions Lecture 34 Section 7.3 Robb T. Koether Hampden-Sydney College Mon, Mar 25, 2013 Robb T. Koether (Hampden-Sydney College) Composition of Functions Mon, Mar 25, 2013 1 / 29 1 Composition
More informationPaired Samples. Lecture 37 Sections 11.1, 11.2, Robb T. Koether. Hampden-Sydney College. Mon, Apr 2, 2012
Paired Samples Lecture 37 Sections 11.1, 11.2, 11.3 Robb T. Koether Hampden-Sydney College Mon, Apr 2, 2012 Robb T. Koether (Hampden-Sydney College) Paired Samples Mon, Apr 2, 2012 1 / 17 Outline 1 Dependent
More informationDirect Proof Floor and Ceiling
Direct Proof Floor and Ceiling Lecture 17 Section 4.5 Robb T. Koether Hampden-Sydney College Wed, Feb 12, 2014 Robb T. Koether (Hampden-Sydney College) Direct Proof Floor and Ceiling Wed, Feb 12, 2014
More informationDirect Proof Division into Cases
Direct Proof Division into Cases Lecture 16 Section 4.4 Robb T. Koether Hampden-Sydney College Mon, Feb 10, 2014 Robb T. Koether (Hampden-Sydney College) Direct Proof Division into Cases Mon, Feb 10, 2014
More informationDirect Proof Divisibility
Direct Proof Divisibility Lecture 15 Section 4.3 Robb T. Koether Hampden-Sydney College Fri, Feb 8, 2013 Robb T. Koether (Hampden-Sydney College) Direct Proof Divisibility Fri, Feb 8, 2013 1 / 20 1 Divisibility
More informationDirect Proof Divisibility
Direct Proof Divisibility Lecture 15 Section 4.3 Robb T. Koether Hampden-Sydney College Fri, Feb 7, 2014 Robb T. Koether (Hampden-Sydney College) Direct Proof Divisibility Fri, Feb 7, 2014 1 / 23 1 Divisibility
More informationConditional Statements
Conditional Statements Lecture 3 Section 2.2 Robb T. Koether Hampden-Sydney College Fri, Jan 17, 2014 Robb T. Koether (Hampden-Sydney College) Conditional Statements Fri, Jan 17, 2014 1 / 26 1 Conditional
More informationConfidence Intervals for Proportions Sections 22.2, 22.3
Confidence Intervals for Proportions Sections 22.2, 22.3 Lecture 41 Robb T. Koether Hampden-Sydney College Mon, Apr 4, 2016 Robb T. Koether (Hampden-Sydney College)Confidence Intervals for ProportionsSections
More informationThe Pairwise-Comparison Method
The Pairwise-Comparison Method Lecture 12 Section 1.5 Robb T. Koether Hampden-Sydney College Mon, Sep 19, 2016 Robb T. Koether (Hampden-Sydney College) The Pairwise-Comparison Method Mon, Sep 19, 2016
More informationInstantaneous Rate of Change
Instantaneous Rate of Change Lecture 13 Section 2.1 Robb T. Koether Hampden-Sydney College Wed, Feb 8, 2017 Robb T. Koether (Hampden-Sydney College) Instantaneous Rate of Change Wed, Feb 8, 2017 1 / 11
More informationDirect Proof Rational Numbers
Direct Proof Rational Numbers Lecture 14 Section 4.2 Robb T. Koether Hampden-Sydney College Thu, Feb 7, 2013 Robb T. Koether (Hampden-Sydney College) Direct Proof Rational Numbers Thu, Feb 7, 2013 1 /
More informationMaximums and Minimums
Maximums and Minimums Lecture 25 Section 3.1 Robb T. Koether Hampden-Sydney College Mon, Mar 6, 2017 Robb T. Koether (Hampden-Sydney College) Maximums and Minimums Mon, Mar 6, 2017 1 / 9 Objectives Objectives
More informationPredicates and Quantifiers
Predicates and Quantifiers Lecture 9 Section 3.1 Robb T. Koether Hampden-Sydney College Wed, Jan 29, 2014 Robb T. Koether (Hampden-Sydney College) Predicates and Quantifiers Wed, Jan 29, 2014 1 / 32 1
More informationClosure Properties of Regular Languages
Closure Properties of Regular Languages Lecture 13 Section 4.1 Robb T. Koether Hampden-Sydney College Wed, Sep 21, 2016 Robb T. Koether (Hampden-Sydney College) Closure Properties of Regular Languages
More informationCompound Interest. Lecture 34 Section 4.1. Robb T. Koether. Hampden-Sydney College. Tue, Mar 28, 2017
Compound Interest Lecture 34 Section 4.1 Robb T. Koether Hampden-Sydney College Tue, Mar 28, 2017 Robb T. Koether (Hampden-Sydney College) Compound Interest Tue, Mar 28, 2017 1 / 8 Reminder Reminder Test
More informationBinary Search Trees. Lecture 29 Section Robb T. Koether. Hampden-Sydney College. Fri, Apr 8, 2016
Binary Search Trees Lecture 29 Section 19.2 Robb T. Koether Hampden-Sydney College Fri, Apr 8, 2016 Robb T. Koether (Hampden-Sydney College) Binary Search Trees Fri, Apr 8, 2016 1 / 40 1 Binary Search
More informationNegations of Quantifiers
Negations of Quantifiers Lecture 10 Section 3.2 Robb T. Koether Hampden-Sydney College Thu, Jan 31, 2013 Robb T. Koether (Hampden-Sydney College) Negations of Quantifiers Thu, Jan 31, 2013 1 / 20 1 Negations
More informationStrong Mathematical Induction
Strong Mathematical Induction Lecture 23 Section 5.4 Robb T. Koether Hampden-Sydney College Mon, Feb 24, 2014 Robb T. Koether (Hampden-Sydney College) Strong Mathematical Induction Mon, Feb 24, 2014 1
More informationProportion. Lecture 25 Sections Fri, Oct 10, Hampden-Sydney College. Sampling Distribution of a Sample. Proportion. Robb T.
PDFs n = s Lecture 25 Sections 8.1-8.2 Hampden-Sydney College Fri, Oct 10, 2008 Outline PDFs n = s 1 2 3 PDFs n = 4 5 s 6 7 PDFs n = s The of the In our experiment, we collected a total of 100 samples,
More informationNondeterministic Finite Automata
Nondeterministic Finite Automata Lecture 6 Section 2.2 Robb T. Koether Hampden-Sydney College Mon, Sep 5, 2016 Robb T. Koether (Hampden-Sydney College) Nondeterministic Finite Automata Mon, Sep 5, 2016
More informationThe Interpretation of λ
The Interpretation of λ Lecture 49 Section 7.5 Robb T. Koether Hampden-Sydney College Wed, Apr 26, 2017 Robb T. Koether (Hampden-Sydney College) The Interpretation of λ Wed, Apr 26, 2017 1 / 6 Objectives
More informationVector Operations. Lecture 19. Robb T. Koether. Hampden-Sydney College. Wed, Oct 7, 2015
Vector Operations Lecture 19 Robb T. Koether Hampden-Sydney College Wed, Oct 7, 2015 Robb T. Koether (Hampden-Sydney College) Vector Operations Wed, Oct 7, 2015 1 / 23 Outline 1 Magnitude 2 Dot Product
More informationThe Cobb-Douglas Production Functions
The Cobb-Douglas Production Functions Lecture 40 Section 7.1 Robb T. Koether Hampden-Sydney College Mon, Apr 10, 2017 Robb T. Koether (Hampden-Sydney College) The Cobb-Douglas Production Functions Mon,
More informationLecture 41 Sections Wed, Nov 12, 2008
Lecture 41 Sections 14.1-14.3 Hampden-Sydney College Wed, Nov 12, 2008 Outline 1 2 3 4 5 6 7 one-proportion test that we just studied allows us to test a hypothesis concerning one proportion, or two categories,
More informationLecture 26 Section 8.4. Wed, Oct 14, 2009
PDFs n = Lecture 26 Section 8.4 Hampden-Sydney College Wed, Oct 14, 2009 Outline PDFs n = 1 2 PDFs n = 3 4 5 6 Outline PDFs n = 1 2 PDFs n = 3 4 5 6 PDFs n = Exercise 8.12, page 528. Suppose that 60% of
More informationLecture 41 Sections Mon, Apr 7, 2008
Lecture 41 Sections 14.1-14.3 Hampden-Sydney College Mon, Apr 7, 2008 Outline 1 2 3 4 5 one-proportion test that we just studied allows us to test a hypothesis concerning one proportion, or two categories,
More informationElementary Logic and Proof
Elementary Logic and Proof Lecture 5 Robb T. Koether Hampden-Sydney College Mon, Feb 6, 2017 Robb T. Koether (Hampden-Sydney College) Elementary Logic and Proof Mon, Feb 6, 2017 1 / 33 Outline 1 Statements
More informationLecture 45 Sections Wed, Nov 19, 2008
The Lecture 45 Sections 14.5 Hampden-Sydney College Wed, Nov 19, 2008 Outline The 1 2 3 The 4 5 The Exercise 14.20, page 949. A certain job in a car assembly plant involves a great deal of stress. A study
More informationMath 628 In-class Exam 2 04/03/2013
Math 628 In-class Exam 2 04/03/2013 Name: KU ID: Note: Show ALL work clearly in the space provided. In order to receive full credit on a problem, solution methods must be complete, logical and understandable.
More informationThe Binomial Theorem
The Biomial Theorem Lecture 47 Sectio 9.7 Robb T. Koether Hampde-Sydey College Fri, Apr 8, 204 Robb T. Koether (Hampde-Sydey College The Biomial Theorem Fri, Apr 8, 204 / 25 Combiatios 2 Pascal s Triagle
More informationStudy Ch. 9.3, #47 53 (45 51), 55 61, (55 59)
GOALS: 1. Understand that 2 approaches of hypothesis testing exist: classical or critical value, and p value. We will use the p value approach. 2. Understand the critical value for the classical approach
More informationLecture 42 Section Fri, Nov 13, 2009
Koer on Lecture 42 Section 13.3.2 Koer HampdenSydney College Fri, Nov 13, 2009 Outline Koer on 1 2 3 on 4 5 6 Outline Koer on 1 2 3 on 4 5 6 Koer on Exercise 13.2, page 821. Data were gared to estimate
More informationLecture 26 Section 8.4. Mon, Oct 13, 2008
Lecture 26 Section 8.4 Hampden-Sydney College Mon, Oct 13, 2008 Outline 1 2 3 4 Exercise 8.12, page 528. Suppose that 60% of all students at a large university access course information using the Internet.
More informationLecture 46 Section Tue, Apr 15, 2008
ar Koer ar Lecture 46 Section 13.3.2 Koer Hampden-Sydney College Tue, Apr 15, 2008 Outline ar Koer 1 2 3 4 5 ar Koer We are now ready to calculate least-squares regression line. formulas are a bit daunting,
More information(ii) Scan your answer sheets INTO ONE FILE only, and submit it in the drop-box.
FINAL EXAM ** Two different ways to submit your answer sheet (i) Use MS-Word and place it in a drop-box. (ii) Scan your answer sheets INTO ONE FILE only, and submit it in the drop-box. Deadline: December
More informationLecture 28 Chi-Square Analysis
Lecture 28 STAT 225 Introduction to Probability Models April 23, 2014 Whitney Huang Purdue University 28.1 χ 2 test for For a given contingency table, we want to test if two have a relationship or not
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 informationModule 7 Practice problem and Homework answers
Module 7 Practice problem and Homework answers Practice problem, page 1 Is the research hypothesis one-tailed or two-tailed? Answer: one tailed In the set up for the problem, we predicted a specific outcome
More information6.4 Type I and Type II Errors
6.4 Type I and Type II Errors Ulrich Hoensch Friday, March 22, 2013 Null and Alternative Hypothesis Neyman-Pearson Approach to Statistical Inference: A statistical test (also known as a hypothesis test)
More informationSolutions to First Midterm Exam, Stat 371, Spring those values: = Or, we can use Rule 6: = 0.63.
Solutions to First Midterm Exam, Stat 371, Spring 2010 There are two, three or four versions of each question. The questions on your exam comprise a mix of versions. As a result, when you examine the solutions
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 informationBusiness Statistics: A Decision-Making Approach, 6e. Chapter Goals
Chapter 4 Student Lecture Notes 4-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 4 Using Probability and Probability Distributions Fundamentals of Business Statistics Murali Shanker
More information18.440: Lecture 26 Conditional expectation
18.440: Lecture 26 Conditional expectation Scott Sheffield MIT 1 Outline Conditional probability distributions Conditional expectation Interpretation and examples 2 Outline Conditional probability distributions
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 informationChapter 10. Correlation and Regression. McGraw-Hill, Bluman, 7th ed., Chapter 10 1
Chapter 10 Correlation and Regression McGraw-Hill, Bluman, 7th ed., Chapter 10 1 Example 10-2: Absences/Final Grades Please enter the data below in L1 and L2. The data appears on page 537 of your textbook.
More informationChapter 10. Correlation and Regression. McGraw-Hill, Bluman, 7th ed., Chapter 10 1
Chapter 10 Correlation and Regression McGraw-Hill, Bluman, 7th ed., Chapter 10 1 Chapter 10 Overview Introduction 10-1 Scatter Plots and Correlation 10- Regression 10-3 Coefficient of Determination and
More informationLecture 48 Sections Mon, Nov 16, 2009
and and Lecture 48 Sections 13.4-13.5 Hampden-Sydney College Mon, Nov 16, 2009 Outline and 1 2 3 4 5 6 Outline and 1 2 3 4 5 6 and Exercise 13.4, page 821. The following data represent trends in cigarette
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 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 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 informationThe Binomial Theorem
The Biomial Theorem Lecture 47 Sectio 9.7 Robb T. Koether Hampde-Sydey College Thu, Apr 8, 03 Robb T. Koether (Hampde-Sydey College The Biomial Theorem Thu, Apr 8, 03 / 7 Combiatios Pascal s Triagle 3
More informationTwo sided, two sample t-tests. a) IQ = 100 b) Average height for men = c) Average number of white blood cells per cubic millimeter is 7,000.
Two sided, two sample t-tests. I. Brief review: 1) We are interested in how a sample compares to some pre-conceived notion. For example: a) IQ = 100 b) Average height for men = 5 10. c) Average number
More informationLecture 9 Two-Sample Test. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech
Lecture 9 Two-Sample Test Fall 2013 Prof. Yao Xie, yao.xie@isye.gatech.edu H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Computer exam 1 18 Histogram 14 Frequency 9 5 0 75 83.33333333
More informationregression analysis is a type of inferential statistics which tells us whether relationships between two or more variables exist
regression analysis is a type of inferential statistics which tells us whether relationships between two or more variables exist sales $ (y - dependent variable) advertising $ (x - independent variable)
More informationMA 180 Lecture Chapter 1 College Algebra and Calculus by Larson/Hodgkins Equations and Inequalities
1.6) Linear Inequalities MA 180 Lecture Chapter 1 College Algebra and Calculus by Larson/Hodgkins Equations and Inequalities Simple inequalities are used to order real numbers. To solve an inequality in
More informationStatistical Hypothesis Testing
Statistical Hypothesis Testing Dr. Phillip YAM 2012/2013 Spring Semester Reference: Chapter 7 of Tests of Statistical Hypotheses by Hogg and Tanis. Section 7.1 Tests about Proportions A statistical hypothesis
More informationEpidemiology Principles of Biostatistics Chapter 10 - Inferences about two populations. John Koval
Epidemiology 9509 Principles of Biostatistics Chapter 10 - Inferences about John Koval Department of Epidemiology and Biostatistics University of Western Ontario What is being covered 1. differences in
More informationVariables. Lecture 12 Sections Tue, Feb 3, Hampden-Sydney College. Displaying Distributions - Qualitative.
Lecture 12 Sections 4.3.1-4.3.2 Hampden-Sydney College Tue, Feb 3, 2008 Outline 1 2 3 4 5 Exercise 4.2, p. 219 Determine whether the following variables are qualitative, quantitative discrete, or quantitative
More informationMA : Introductory Probability
MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:
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 informationMidterm 2. Math 205 Spring 2015 Dr. Lily Yen
Math 205 Spring 2015 Dr. Lily Yen Midterm 2 Show all your work Name: Score: /40 Problem 1: Lily s Restaurant serves three fixed-price dinners costing $12, $15, and $20. For a randomly selected couple dining
More informationStatistics S1 Advanced/Advanced Subsidiary
Paper Reference(s) 6683 Edexcel GCE Statistics S1 Advanced/Advanced Subsidiary Tuesday 2 November 2004 Morning Time: 1 hour 30 minutes Materials required for examination Answer Book (AB16) Graph Paper
More informationDescriptive Statistics Class Practice [133 marks]
Descriptive Statistics Class Practice [133 marks] The weekly wages (in dollars) of 80 employees are displayed in the cumulative frequency curve below. 1a. (i) (ii) Write down the median weekly wage. Find
More informationClass 24. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700
Class 4 Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science Copyright 013 by D.B. Rowe 1 Agenda: Recap Chapter 9. and 9.3 Lecture Chapter 10.1-10.3 Review Exam 6 Problem Solving
More informationRecall from last time: Conditional probabilities. Lecture 2: Belief (Bayesian) networks. Bayes ball. Example (continued) Example: Inference problem
Recall from last time: Conditional probabilities Our probabilistic models will compute and manipulate conditional probabilities. Given two random variables X, Y, we denote by Lecture 2: Belief (Bayesian)
More informationBNAD 276 Lecture 5 Discrete Probability Distributions Exercises 1 11
1 / 15 BNAD 276 Lecture 5 Discrete Probability Distributions 1 11 Phuong Ho May 14, 2017 Exercise 1 Suppose we have the probability distribution for the random variable X as follows. X f (x) 20.20 25.15
More informationChapter Six: Two Independent Samples Methods 1/51
Chapter Six: Two Independent Samples Methods 1/51 6.3 Methods Related To Differences Between Proportions 2/51 Test For A Difference Between Proportions:Introduction Suppose a sampling distribution were
More informationCORRELATION AND REGRESSION
CORRELATION AND REGRESSION CORRELATION Introduction CORRELATION problems which involve measuring the strength of a relationship. Correlation Analysis involves various methods and techniques used for studying
More informationNMR THEORY AND LABORATORY COURSE. CHEN: 696-Section 626.
NMR THEORY AND LABORATORY COURSE. CHEN: 696-Section 626. 1998 Fall Semester (3 Credit Hours) Lectures: M, W 10-10.50 a.m., Richardson: 910 Laboratory Fri. 10-12, Richardson 912. Instructor: Parameswar
More informationLinearization of Nonlinear Equations
Linearization of Nonlinear Equations In some cases, it is not easily understood whether the equation is linear or not. In these cases, the equations are reorganized to resemble the equation of y = a x
More informationLecture 5. October 21, Department of Biostatistics Johns Hopkins Bloomberg School of Public Health Johns Hopkins University.
Lecture 5 Department of Biostatistics Johns Hopkins Bloomberg School of Public Health Johns Hopkins University October 21, 2007 1 2 3 4 5 6 7 1 Define conditional probabilities 2 Define conditional mass
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 informationRandom variables (discrete)
Random variables (discrete) Saad Mneimneh 1 Introducing random variables A random variable is a mapping from the sample space to the real line. We usually denote the random variable by X, and a value that
More informationLecture 42 Section Tue, Apr 7, 2009
Koer on Lecture 42 Section 13.3.2 Koer HampdenSydney College Tue, Apr 7, 2009 Outline Koer on 1 2 3 on 4 5 6 Koer on Exercise 13.2, page 821. Data were gared to estimate regression line for a model where
More informationChapter 10: Chi-Square and F Distributions
Chapter 10: Chi-Square and F Distributions Chapter Notes 1 Chi-Square: Tests of Independence 2 4 & of Homogeneity 2 Chi-Square: Goodness of Fit 5 6 3 Testing & Estimating a Single Variance 7 10 or Standard
More informationCBA4 is live in practice mode this week exam mode from Saturday!
Announcements CBA4 is live in practice mode this week exam mode from Saturday! Material covered: Confidence intervals (both cases) 1 sample hypothesis tests (both cases) Hypothesis tests for 2 means as
More informationLecture # 37. Prof. John W. Sutherland. Nov. 28, 2005
Lecture # 37 Prof. John W. Sutherland Nov. 28, 2005 Linear Regression 8 y 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 x Modeling To describe the data above, propose the model: y = B 0 + B 1 x + ε Fitted model will
More informationWISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, Academic Year Exam Version: A
WISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, 2016-17 Academic Year Exam Version: A INSTRUCTIONS TO STUDENTS 1 The time allowed for this examination paper is 2 hours. 2 This
More informationInferences About Two Population Proportions
Inferences About Two Population Proportions MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2018 Background Recall: for a single population the sampling proportion
More informationIdentify the scale of measurement most appropriate for each of the following variables. (Use A = nominal, B = ordinal, C = interval, D = ratio.
Answers to Items from Problem Set 1 Item 1 Identify the scale of measurement most appropriate for each of the following variables. (Use A = nominal, B = ordinal, C = interval, D = ratio.) a. response latency
More informationIntroductory Probability
Introductory Probability Joint Probability with Independence; Binomial Distributions Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Comparing Two Variables with Joint Random
More informationLecture 11 Sections 4.5, 4.7. Wed, Feb 18, 2009
The s s The s Lecture 11 Sections 4.5, 4.7 Hampden-Sydney College Wed, Feb 18, 2009 Outline The s s 1 s 2 3 4 5 6 The LR(0) Parsing s The s s There are two tables that we will construct. The action table
More informationLecture 9. Scott Pauls 1 4/16/07. Dartmouth College. Math 23, Spring Scott Pauls. Last class. Today s material. Group work.
Lecture 9 1 1 Department of Mathematics Dartmouth College 4/16/07 Outline Repeated Roots Repeated Roots Repeated Roots Material from last class Wronskian: linear independence Constant coeffecient equations:
More informationTheorem 3: The solution space to the second order homogeneous linear differential equation y p x y q x y = 0 is 2-dimensional.
Unlike in the previous example, and unlike what was true for the first order linear differential equation y p x y = q x there is not a clever integrating factor formula that will always work to find the
More information11 CHI-SQUARED Introduction. Objectives. How random are your numbers? After studying this chapter you should
11 CHI-SQUARED Chapter 11 Chi-squared Objectives After studying this chapter you should be able to use the χ 2 distribution to test if a set of observations fits an appropriate model; know how to calculate
More informationb (3 s.f.). b Make sure your hypotheses are clearly written using the parameter ρ:
Review exercise 1 1 a Produce a table for the values of log s and log t: log s.31.6532.7924.8633.959 log t.4815.67.2455.3324.4698 which produces r =.9992 b Since r is very close to 1, this indicates that
More informationProbability and (Bayesian) Data Analysis
Department of Statistics The University of Auckland https://www.stat.auckland.ac.nz/ brewer/ Where to get everything To get all of the material (slides, code, exercises): git clone --recursive https://github.com/eggplantbren/madrid
More informationSolutions to Homework I (1.1)
Solutions to Homework I (1.1) Problem 1 Determine whether each of these compound propositions is satisable. a) (p q) ( p q) ( p q) b) (p q) (p q) ( p q) ( p q) c) (p q) ( p q) (a) p q p q p q p q p q (p
More informationChapter 7 Algebra: Graphs, Functions, and Linear Systems
Chapter 7 Algebra: Graphs, Functions, and Linear Systems Check Points 7.1 1.. x y x ( x, y ) y ( ) 7 (,7) y ( ) 6 (,6) 1 y ( 1) 1 ( 1,) 0 y (0) 0 (0,) 1 y (1) 1 (1, ) y () (,) y () 1 (,1). a. Without the
More informationHomework Exercises. 1. You want to conduct a test of significance for p the population proportion.
Homework Exercises 1. You want to conduct a test of significance for p the population proportion. The test you will run is H 0 : p = 0.4 Ha: p > 0.4, n = 80. you decide that the critical value will be
More informationOne sample problem. sample mean: ȳ = . sample variance: s 2 = sample standard deviation: s = s 2. y i n. i=1. i=1 (y i ȳ) 2 n 1
One sample problem Population mean E(y) = µ, variance: Var(y) = σ 2 = E(y µ) 2, standard deviation: σ = σ 2. Normal distribution: y N(µ, σ 2 ). Standard normal distribution: z N(0, 1). If y N(µ, σ 2 ),
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 informationAnalysis of Categorical Data Three-Way Contingency Table
Yu Lecture 4 p. 1/17 Analysis of Categorical Data Three-Way Contingency Table Yu Lecture 4 p. 2/17 Outline Three way contingency tables Simpson s paradox Marginal vs. conditional independence Homogeneous
More informationProbabilistic Systems Analysis Spring 2018 Lecture 6. Random Variables: Probability Mass Function and Expectation
EE 178 Probabilistic Systems Analysis Spring 2018 Lecture 6 Random Variables: Probability Mass Function and Expectation Probability Mass Function When we introduce the basic probability model in Note 1,
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 information