Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as.

Similar presentations


Presentation on theme: "Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as."— Presentation transcript:

1 Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as a Decision

2 Definitions Statistical Inference Statistical Inference –Provides methods for drawing conclusions about a population from sample data –What happens if I do this many times? Formal Inference Formal Inference –Using probability to express the strength of our conclusions (probability takes chance variation into account)

3 Margin of Error Margin of Error –How accurate we believe our guess is, based on the variability of the estimate –What you always see in the fine print

4 Confidence Intervals Use facts about sampling distributions (what would happen in the long run) to express our confidence in the results of any one sample Use facts about sampling distributions (what would happen in the long run) to express our confidence in the results of any one sample “We got these numbers by a method that gives correct results 95% of the time.” “We got these numbers by a method that gives correct results 95% of the time.” In the form of estimate ± margin of error In the form of estimate ± margin of error Given at confidence level C which gives probability the interval will capture true parameter value in repeated samples Given at confidence level C which gives probability the interval will capture true parameter value in repeated samples

5 Fathom Demo #29: Capturing with Confidence Intervals Fathom Demo #29: Capturing with Confidence Intervals –Black is a hit, red is a miss –What happens to CIs when….? p542 #10.1 to 10.3 p542 #10.1 to 10.3 What CIs Say WS What CIs Say WS

6 Confidence Intervals Toolbox I Create Fabulous Confidence Intervals Identify Identify –Population –Parameter –Procedure Conditions Conditions Formula Formula Calculations Calculations Interpret in Context Interpret in Context

7 Confidence Intervals for μ Conditions Conditions –SRS –sampling distribution of is approximately normal  Given  CLT  NPP ± z* ± z* “We are __% confident that the true mean ___ is between __ and __. By __% confident, we mean that we arrived at this conclusion by a method that gives correct results __% of the time.” “We are __% confident that the true mean ___ is between __ and __. By __% confident, we mean that we arrived at this conclusion by a method that gives correct results __% of the time.”

8 z* (Critical Values) Same as z-scores in Table A (standard normal curve) Same as z-scores in Table A (standard normal curve) Most common are 1.645, 1.96 and 2.576 (90, 95 and 99%) Most common are 1.645, 1.96 and 2.576 (90, 95 and 99%) 90% is really 95% to left when you use the table (95 is 97.5, 99 is 99.5) 90% is really 95% to left when you use the table (95 is 97.5, 99 is 99.5) Sketches Sketches p548 #10.5-10.6 p548 #10.5-10.6

9 Ways to Decrease Margin of Error Make z* smaller (decrease confidence level C) Make z* smaller (decrease confidence level C) Increase sample size n Increase sample size n Decrease standard deviation σ Decrease standard deviation σ –High Confidence – our method almost always gives correct answers –Small Margin of Error – we have pinned down the parameter quite precisely

10 Choosing Sample Size A wise user of statistics never plans data collection without planning the inference at the same time. A wise user of statistics never plans data collection without planning the inference at the same time. Chapter 9 - the size of the sample determines the margin of error, not the size of the population (soup). Chapter 9 - the size of the sample determines the margin of error, not the size of the population (soup). p551 #10.10-10.11 p551 #10.10-10.11

11 Cautions Data can’t be from anything more complicated than an SRS Data can’t be from anything more complicated than an SRS Beware of outliers and skewness Beware of outliers and skewness Using σ is unrealistic, but we’re using it now to understand the process – this entire chapter is about the process! Using σ is unrealistic, but we’re using it now to understand the process – this entire chapter is about the process! Read last paragraph on p554 about what statistical confidence does not say. Read last paragraph on p554 about what statistical confidence does not say.

12 YMS - 10.2 Hypothesis Testing

13 Tests of Significance – A Few Ways Used to assess evidence about a claim while CIs were estimating a parameter Used to assess evidence about a claim while CIs were estimating a parameter An outcome that would rarely happen if a claim were true is good evidence the claim is not true An outcome that would rarely happen if a claim were true is good evidence the claim is not true “Does our sample result reflect a true change or did our result occur just by chance; How unlikely is our outcome if the null hypothesis were really true?” “Does our sample result reflect a true change or did our result occur just by chance; How unlikely is our outcome if the null hypothesis were really true?” Uses knowledge of how the sample mean would vary in repeated samples Uses knowledge of how the sample mean would vary in repeated samples

14 Hypotheses Null Hypothesis (H o ) Null Hypothesis (H o ) –Statement saying there is no effect or change in the population –If true, the sample result is just chance at work Alternative Hypothesis (H a ) Alternative Hypothesis (H a ) –Alternative we believe to be true –It is cheating to first look at data and then frame H a One-sided vs. Two-sided tests One-sided vs. Two-sided tests – or ≠ –Should know before you collect sample –Choose two-sided to be safe

15 P-Value Probability of a result at least as far out as the result we actually got Probability of a result at least as far out as the result we actually got Evidence against H o Evidence against H o Lower p-value = stronger evidence Lower p-value = stronger evidence Probability from Ch 2! Probability from Ch 2!

16 Calculating Two-Sided P-Values Calculate the same way as one-sided and then double Calculate the same way as one-sided and then double Alternative hypothesis stated some difference, not in any particular direction Alternative hypothesis stated some difference, not in any particular direction Must consider both differences – greater than and less than (even though your sample only produces one or the other) Must consider both differences – greater than and less than (even though your sample only produces one or the other) Diagram on p573 Diagram on p573

17 Statistically Significant Chance alone would rarely produce so extreme a result Chance alone would rarely produce so extreme a result Significance level α Significance level alpha α Reject null hypothesis when p < α Reject null hypothesis when p < α

18 Stats in Dating

19 p564 #10.27 to 10.35 odds ha ha ha…

20 Significance Tests Toolbox 1. Identify population and parameter AND state the null and alternative hypotheses in words and symbols. 2. Choose and verify the procedure (conditions are still SRS and normal). 3. Carry out the inference procedure. - Calculate the test statistic (one-sample z-statistic). - Find the p-value. 4. Interpret your results in the context of the problem. - Reject or do not reject the null hypothesis. - Include p-value and statement assessing strength. p576 #10.38-10.39

21 Rejecting is not Accepting Just because you can’t prove that something is false, doesn’t mean that you believe it to be true Just because you can’t prove that something is false, doesn’t mean that you believe it to be true Not rejecting the null hypothesis and accepting the null hypothesis are not the same conclusion Not rejecting the null hypothesis and accepting the null hypothesis are not the same conclusion Examples Examples –Shakespeare Video –OJ  Ho: Person did not commit crime.  Ha: Person did commit crime.  If there is enough evidence, we find the person guilty. If there is not, we proclaim they are not guilty. We aren’t saying the person is innocent, just that we didn’t have enough evidence to find them guilty.

22 Fixed Significance Level Z Tests for μ Use the z-score associated with chosen significance level to make the decision Use the z-score associated with chosen significance level to make the decision –You don’t need to find the p-value to make your decision. –More standard deviations from the mean yields a smaller and smaller p-value/tail area Example for One-Sided Tests with H a > Example for One-Sided Tests with H a > –If z > 1.645 you can reject at 0.05 –If z > 1.96 you can reject at 0.025 –If z > 2.576 you can reject at 0.005

23 CIs and Two-Sided Tests Reject if the value of μ o falls outside a level 1 – α confidence interval for μ Reject if the value of μ o falls outside a level 1 – α confidence interval for μ –You’re 99% confident the true mean is captured in a particular interval, but the interval doesn’t contain μ o Why use a CI over a test? Why use a CI over a test? –CIs give an estimate of the parameter while tests just reject/accept values p580 #10.42-10.43 Test Review p583 #10.46 to 10.54 evens

24 YMS – 10.3 Making Sense of Statistical Significance

25 Choosing a Level of Significance What are the ramifications for rejecting H o ? Practical vs. Statistical Significance Who cares if your scab falls off half of a day sooner? Who cares if your scab falls off half of a day sooner? Pay attention to actual data as well as p-value. Pay attention to actual data as well as p-value.

26 Inference is Not Valid for All Sets of Data Inference cannot correct a poorly designed experiment or survey. Beware of Multiple Analyses Every once in a while the result will show by chance. p589 #10.58-10.59, 10.62 and 10.64

27 YMS – 10.4 Inference as Decision

28 Acceptance Sampling When circumstances call for a decision or action at the end result of inference When circumstances call for a decision or action at the end result of inference When we must accept instead of just not rejecting When we must accept instead of just not rejecting

29 Type I Errors If we reject H o (accept H a ) when in fact H o is true If we reject H o (accept H a ) when in fact H o is true Probability of Type I error is equal to α Probability of Type I error is equal to α Type II Errors If we accept H o (reject H a ) when in fact H a is true If we accept H o (reject H a ) when in fact H a is true Calculated based on the alternative for μ Calculated based on the alternative for μ

30 Type I Error Correct Decision Type II Error Reject H o Accept H o H o TrueH a True p 595 Truth about the Population Decision based on Sample p597 Examples 10.21 - 10.22 p598 #10.67 Type I & II Errors for HW

31 Power (1-β) Choose your interpretation: - Probability the test will reject H o when an alternative is true - Probability of rejecting H o when it is in fact false - Probability of making a correct decision (to reject H o ) when H o is false - Probability the test will pick up on an effect that is present - Probability the test will detect a deviation from the null hypothesis should such a deviation exist

32 Ways to Increase Power Increase α (less evidence is required to reject) Increase α (less evidence is required to reject) Consider an alternative that is farther away from μ o Consider an alternative that is farther away from μ o

33 Increase the sample size n (less overlap because spread decreases) Increase the sample size n (less overlap because spread decreases) Decrease σ (less overlap because spread decreases) Decrease σ (less overlap because spread decreases) Example 10.23 p603 #10.72-10.75


Download ppt "Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as."

Similar presentations


Ads by Google