Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Virtual COMSATS Inferential Statistics Lecture-17 Ossam Chohan Assistant Professor CIIT Abbottabad.

Similar presentations


Presentation on theme: "1 Virtual COMSATS Inferential Statistics Lecture-17 Ossam Chohan Assistant Professor CIIT Abbottabad."— Presentation transcript:

1 1 Virtual COMSATS Inferential Statistics Lecture-17 Ossam Chohan Assistant Professor CIIT Abbottabad

2 Recap of previous lectures We started hypothesis testing: – Why Hypothesis?. – Importance of Hypothesis. – Null and Alternative Hypothesis. – Types of Errors. 2

3 Objective of lecture-17 Introduction to Hypothesis testing. – One tail and two tail hypothesis. – Directional hypothesis. – Level of significance. – Type-I and type-II error. – Test Statistic(s). – Critical Region. – Conclusion. 3

4 Errors in Hypothesis Testing Actual State of Affairs BeliefConclusion H 0 is True H 0 is False Reject H 0 Type I Error False Positive  Correct Rejection 1 -  Power H 0 is True Fail to Reject H 0 Correct Failure to Reject 1 -  Type II Error False Negative  4

5 Example of errors: Jury’s Decision Did Not Commit Crime Committed Crime Guilty Type I Error Convict Innocent Person Correct Verdict Convict Guilty Person No Error Not Guilty Correct Acquittal Fail to Convict Innocent Person No Error Type II Error Fail to Convict Guilty Person 5

6 Practical Problem for understanding We will use following example throughout the understanding phase of introduction. And we will add some more problems to make it more clear. – Example: – Does an average box of cereal contain more than 368 grams of cereal? A random sample of 25 boxes showed = 372.5. The company has specified  to be 15 grams. Test at the  0.05 level. – The two hypotheses about a population mean: H 0 : The null hypothesis  ≤ 368 H 1 : The alternative hypothesis  > 368 6

7 Important Tips How to represent hypothesis? Role of equality in hypothesis? 7

8 Discussion 8

9 Discussion continued 9

10 One tail/Two tail hypothesis Is that example one tail or two tail? Justify 10

11 Directional Hypothesis 11

12 Level of Significance Alpha: probability of committing a Type I error 1. Reject H 0 although it is true 2. Symbolized by  What about probability of type-II error? What is the role of type-II error in HT? Probability that the test will correctly reject a false null hypothesis-Power of the Test 12

13 The significance level of a statistical hypothesis test is a fixed probability of wrongly rejecting the null hypothesis H 0, if it is in fact true. It is the probability of a type-I error and is set by the investigator in relation to the consequences of such an error. That is, we want to make the significance level as small as possible in order to protect the null hypothesis and to prevent, as far as possible, the investigator from inadvertently making false claims. The significance level is usually denoted by significance level = P (type I error) = α Usually, the significance level is chosen to be 0.05 (or equivalently, 5%). 13

14 Identifying ‘δ’ and observing ‘n’ The role of population variation and sample size is highly significant in drawing inferences- statistical, as we discussed in estimation section. All the rules are same as we discussed in estimation. Selection of test statistics depends upon population variability and sample size. (obviously CLT plays role here) 14

15 Test Statistic A test statistic is a quantity calculated from our sample of data. Its value is used to decide whether or not the null hypothesis should be rejected in our hypothesis test. There are different test statistics for different situations, same rules followed as we selected test statistics in estimation. 15

16 Some Test Statistics 16

17 Calculation of Test Statistics Calculate the standard error of the sample statistic. Use the standard error to convert the observed value of the sample statistic to a standardize value. Test Statistic will provide you consolidated sample evidence, and this value will be after considering variation in data. 17

18 Critical region and Conclusions The critical region CR, or rejection region RR, is a set of values of the test statistic for which the null hypothesis is rejected in a hypothesis test. The sample space for the test statistic is partitioned into two regions; The critical region will lead us to reject the null hypothesis H 0, the other will not. If the observed value of the test statistic is a member of the critical region, we conclude "Reject H 0 "; if it is not a member of the critical region then we conclude "Do not reject H 0 ". 18

19 Six steps of hypothesis testing 19


Download ppt "1 Virtual COMSATS Inferential Statistics Lecture-17 Ossam Chohan Assistant Professor CIIT Abbottabad."

Similar presentations


Ads by Google