1 / 9

More about Tests!

More about Tests!.

Download Presentation

More about Tests!

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.


Presentation Transcript

  1. More about Tests! Remember, you are not proving or accepting the null hypothesis. Most of the time, the null means no difference or no change from the previous parameter. If we reject the null, we are concluding that there has been a change or something affected the outcome. As a Statistician, you usually want to prove the alternative hypothesis. i.e. Think of a pill to help lose weight. The null hypothesis might be  = 0 lbs lost and the alternative hypothesis would be  > 0. The company that produces the pill would want to prove the alternative hypothesis to justify their claim that their pill helps people lose weight.

  2. The p-value is the probability that a statistic or something more extreme occurs provided the null hypothesis is true. Therefore, if the p-value is very low ( = .05), we feel very comfortable in rejecting the null hypothesis. If we reject the null hypothesis, then we say the test is “significant at the  level”. What does p-value mean?

  3. Confidence Intervals and Hypothesis Tests A confidence interval can be used instead of a test. If the parameter (null hypothesis) is in the interval, then we would fail to reject the null hypothesis.

  4. Making Errors on Hypothesis Tests There are two types of errors a statistician can make when doing tests: I. The null hypothesis is true, but we mistakenly reject it. II. The null hypothesis is false, but we fail to reject it. These two types of errors are called Type I and Type II errors.

  5. Possible outcomes Reality Ho is True Ho is false Reject Ho Fail to Reject Ho Outcome of test

  6. The probability of making a Type I error = . • That is the probability of rejecting a true null hypothesis is . Why is that? • The probability of making a Type II error = β. • We will not have to calculate β, but we need to know a few facts about what will effect β. The probability of a Type II error can be lowered by: • Having a larger  • Having a larger sample size • the true parameter being significantly different than the null hypothesis. (The distance between the true parameter and the null hypothesis is called the effect size.)

  7. Power of a test: The power of a test is the probability that a test correctly rejects a false null hypothesis. Power = 1 – β • The Power of a test is increase by lowering β. • therefore, the following will increase the power: • Having a larger  • Having a larger sample size • If the true parameter is significantly different than the null hypothesis (Effect Size is large)

  8. Example: A bank wants to encourage more customers to make payments on delinquent balances by sending them a video tape urging them to set up a payment plan. Based on their results, the statistician for the bank found a 90% confidence interval for the success rate to be (0.29, 0.45). Their old send-a-letter method had worked 30% of the time. • Is this evidence that the video worked better than the old method? Why or why not? • What is a Type I error in the context of this situation? • What is a Type II error in the context of this situation? • If the video tape strategy really works well, actually getting 60% of the customers to set up a payment plan, would the power of the test be higher or lower compared to a 32% pay off rate? Explain.

  9. Example: Soon after the Euro was introduced as currency in Europe, it was widely reported that someone spun a Euro coin 250 times and gotten heads 140 times. We wish to test a hypothesis about the fairness of spinning a Euro. • Estimate the true proportion of heads using a 95% confidence interval. • Does your confidence interval provide evidence that the Euro is unfair? Explain. • What is the significane level of this test? • What would a type I error be in context? • What would a type II error be in context?

More Related