Presentation is loading. Please wait.

Presentation is loading. Please wait.

SAA 2023 COMPUTATIONALTECHNIQUE FOR BIOSTATISTICS Semester 2 Session 2009/2010 ASSOC. PROF. DR. AHMED MAHIR MOKHTAR BAKRI Faculty of Science and Technology.

Similar presentations


Presentation on theme: "SAA 2023 COMPUTATIONALTECHNIQUE FOR BIOSTATISTICS Semester 2 Session 2009/2010 ASSOC. PROF. DR. AHMED MAHIR MOKHTAR BAKRI Faculty of Science and Technology."— Presentation transcript:

1 SAA 2023 COMPUTATIONALTECHNIQUE FOR BIOSTATISTICS Semester 2 Session 2009/2010 ASSOC. PROF. DR. AHMED MAHIR MOKHTAR BAKRI Faculty of Science and Technology Room 44, 3 rd Floor FKP Building, Nilai 2. Hypothesis Testing

2 Hypothesis Testing Fundamentals of Hypothesis Testing Testing a Claim about a Mean: Large Samples Testing a Claim about a Mean: Small Samples Testing a Claim about a Proportion

3 Definition  Hypothesis In statistics, a hypothesis is a claim or statement about a property of a population.

4 Rare Event Rule for Inferential Statistics If, under a given assumption, the probability of an observed event is exceptionally small, we conclude that the assumption is probably not correct.

5 Central Limit Theorem The Expected Distribution of Sample Means Assuming that  = 98.6 z = - 1.96 x = 98.48 or z = 1.96 x = 98.72 or Sample data: x = 98.20 or z = - 6.64 µ x = 98.6 Likely sample means

6 Components of a Formal Hypothesis Test

7 Null Hypothesis: H 0 CHI SQUARE TEST  Must contain condition of EQUALITY: =  Observed ratio = Expected ratio  It fits the ratio 3:1  Test the Null Hypothesis directly  Reject H 0 or fail to reject H 0

8 Alternative Hypothesis: H 1 CHI SQUARE TEST  Must be true if H 0 is false  Must contain condition of INEQUALITY:   It does not fit the ratio 3:1  ‘Opposite’ of Null Hypothesis

9 Null Hypothesis: H 0  Statement about the value of a POPULATION PARAMETER  Must contain condition of EQUALITY: =, ≤, or ≥  Test the Null Hypothesis directly  Reject H 0 or fail to reject H 0

10 Alternative Hypothesis: H 1  Must be true if H 0 is false  Must contain condition of INEQUALITY: ,  ‘Opposite’ of Null Hypothesis

11 Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Region

12 Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Regions

13 Significance Level  denoted by   the probability that the test statistic will fall in the critical region when the null hypothesis is actually true.  common choices are 0.05, 0.01, and 0.10

14 Critical Value ( z score ) Fail to reject H 0 Reject H 0 Value or values that separate the critical region (where we reject the null hypothesis) from the values of the test statistics that do not lead to a rejection of the null hypothesis

15 Two-tailed, Right-tailed, Left-tailed Tests The tails in a distribution are the extreme regions bounded by critical values.

16 Two-tailed Test H 0 : µ = 100 H 1 : µ  100 UNEQUAL means less than or greater than 100 Values that differ significantly from 100  is divided equally between the two tails of the critical region Fail to reject H 0 Reject H 0

17 Right-tailed Test H 0 : µ  100 H 1 : µ > 100 Values that differ significantly from 100 100 Fail to reject H 0 Reject H 0

18 Left-tailed Test H 0 : µ  100 H 1 : µ < 100 100 Values that differ significantly from 100 Fail to reject H 0 Reject H 0

19 Conclusions in Hypothesis Testing  Always test the NULL hypothesis:  Reject H 0  Fail to reject H 0  Be careful to include the correct wording of the final conclusion or

20 Wording of Final Conclusion Claim contains equality? Reject H 0 ? Yes Claim becomes H 0 No Claim becomes H 1 Yes “There is sufficient evidence to reject the claim that... (original claim).” “There is not sufficient evidence to reject the claim that (original claim).” “There is sufficient evidence to support the claim that... (original claim).” “There is not sufficient evidence to support the claim that (original claim).” Reject H 0 ? Yes No Only case in which original claim is rejected Only case in which original claim is supported Start No

21 “Reject” versus “Fail to Reject” Case 1: (If you reject the null hypothesis.) The data do provide significant evidence, at the 5% level, that the alternative hypothesis is true. Case 2: (If you fail to reject the null hypothesis.) The data do not provide significant evidence, at the 5% level, that the alternative hypothesis is true.

22 “Fail to Reject” versus “Accept”  Some texts use “accept the null hypothesis”  We are not proving the null hypothesis (can’t PROVE equality)  If the sample evidence is not strong enough to warrant rejection, then the null hypothesis may or may not be true (just as a defendant found NOT GUILTY may or may not be innocent)

23 Type I Error  Rejecting the null hypothesis when it is true.    (alpha) represents the probability of a type I error  Example: Rejecting a claim that the mean body temperature is 98.6 degrees when the mean really is 98.6

24 Type II Error  Failing to reject the null hypothesis when it is false.  β (beta) represents the probability of a type II error  Example:Failing to reject the claim that the mean body temperature is 98.6 degrees when the mean really isn’t 98.6

25 Type I and Type II Errors Reject the null hypothesis Fail to reject the null hypothesis TRUE FALSE Type I error α Rejecting a true null hypothesis Type II error β Failing to reject a false null hypothesis CORRECT NULL HYPOTHESIS CORRECT

26 Controlling Type I and Type II Errors  , , and n are interrelated. If one is kept constant, then an increase in one of the remaining two will cause a decrease in the other.  For any fixed , an increase in the sample size n will cause a ??????? in   For any fixed sample size n, a decrease in  will cause a ??????? in .  Conversely, an increase in  will cause a ??????? in .  To decrease both  and , ??????? the sample size n.


Download ppt "SAA 2023 COMPUTATIONALTECHNIQUE FOR BIOSTATISTICS Semester 2 Session 2009/2010 ASSOC. PROF. DR. AHMED MAHIR MOKHTAR BAKRI Faculty of Science and Technology."

Similar presentations


Ads by Google