Presentation on theme: "Chapter 10 Introduction to Inference"— Presentation transcript:
1 Chapter 10 Introduction to Inference Will Freeman
2 10.1: Estimating with Confidence Statistical confidence: a confidence interval is a range that the unknown mean will fall within for a certain % of samples. (confidence level)The confidence level is the probability that our method will give a correct answer
3 10.1A 90% confidence level includes 90% of the normal sampling distribution of the mean of our sample
5 10.1To calculate a confidence interval, look up the z-score (z*) from table C. multiply this by the standard deviation of the sampling distribution. The mean plus or minus this value is the confidence interval
6 10.1Margin of error:The decrease the margin of error 1 of 3 things must happenDecrease the confidence levelThe standard deviation of the data decreasesUse a larger sampleThese methods will also increase the power of a test (we’ll get to this later)
7 10.1Choosing a sample sizeIf you wish to have a certain level of confidence and a certain margin of error, you must figure out how large of a sample to useWhere m is the margin of errorIf you get a decimal ALWAYS round up. Even if you get
8 10.1Cautions:The sample you use must be normal. If there are outliers or skewness, none of this stuff works. Be careful that the sample is large enough and is normalThe sample must be an SRSYou must know the standard deviation of the population (usually unrealistic)The population does not have to be normal
9 10.2: Tests of Significance Significance tests help us determine the validity of claims. For example, if somebody claims to make 80% of free throws we can take a sample of them shooting free throws and determine how likely it is that their 80% claim is true
10 10.2To make this test we need a null hypothesis. The null hypothesis assumes that the claim is true; so for our example the null hypothesis would be free throws made = 80%The alternative hypothesis is the hypothesis that the null hypothesis is not true. It could be either free throws made = 80%, <80% or >80%
11 10.2Say the alternative hypothesis is free throws made < 80%. If we take a sample and find that the person made 12 of 20. We unrealistically know that the standard deviation is 5
13 10.2The magnitude of the z-score of is much larger than the z-score of for a .05 significance level, so we can reject the null hypothesis. The other way to know is to use a z-test on the calc. enter the population standard deviation, n, H naught and the sample mean. Then select the correct alternative hypothesis and push enter. If the p-value it gives you (probability that this sample mean was obtained purely by chance) is less than the significance level you chose, then the null hypothesis can be rejected. For our example the p-value is , which is much less than .05
14 10.2Be careful to pay attention to whether you are using a one sided or two sided test. For a 2-sided use the confidence level at the bottom of the chart, for 1-sided use the decimal at the top of the chart.
15 Time for a break…This probably hasn’t made much sense so far. Hopefully it has… we’re only halfway there
16 Even more breakBig candy helps the mind make sense of all these words
17 10.3: Making sense of all this You have to remember what stat is for: real-life use. Sometimes something that has statistical significance has no practical significance. You always have to factor in what the costs are of proving your data. If the null hypothesis is false, could you lose money? Are people so sure of the null hypothesis that you need a very high confidence level to convince them it is wrong?
18 10.3For example, you have a null hypothesis that it takes 100 days for a broken bone to heal. With a new miracle treatment you find with 95% certainty that bones heal in 98 days. This treatment costs $17,324. the results may be statistically significant, but in reality 2 days isn’t worth that much money. So who really cares.
20 10.3Be careful that you are using a valid, normal sample when using the inference toolbox (p. 571). Otherwise all this time you just wasted means nothing
21 10.4: Inference as Decision There are two ways we can screw up. The first is that we reject the null hypothesis when it is actually true, and the second is that we accept the null hypothesis when it is actually false. Here is a very artistic diagram to illustrate this exceedingly complicated concept
22 10.4. I don’t know what I’m talking about The probability that you get a type I error is just the significance level. That part is pretty easy. Type II is the part that is mildly perplexing
23 10.4There are a couple of steps for finding the probability of a type II error:Calculate confidence intervalCalculate Type II error using alternative mean value
Your consent to our cookies if you continue to use this website.