Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Understanding Statistical Hypothesis Testing: A Comprehensive Guide, Slides of Data Analysis & Statistical Methods

An overview of hypothesis testing in statistics, covering key concepts such as null and alternative hypotheses, type i and type ii errors, one-tailed and two-tailed tests, and the process of testing a statistical hypothesis. It includes examples related to vaccine effectiveness, average weights, and breaking strength of fishing lines. The document also discusses the importance of sample size in reducing errors and provides procedural steps for classical and p-value approaches to hypothesis testing. It is a useful resource for understanding the fundamentals of statistical hypothesis testing and its applications. Suitable for students and researchers in fields such as engineering, statistics, and data analysis, providing a solid foundation for understanding and applying hypothesis testing techniques in various contexts. It also covers the choice of sample size for testing means, providing practical guidance for designing experiments and studies.

Typology: Slides

2019/2020

Available from 06/04/2025

imwinter
imwinter ๐Ÿ‡ต๐Ÿ‡ญ

5

(1)

148 documents

1 / 63

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
9: Tests of
Hypotheses
EM 7: Engineering Data Analysis
Second Semester, 2019-20
Pamantasan ng Lungsod ng Valenzuela
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f

Partial preview of the text

Download Understanding Statistical Hypothesis Testing: A Comprehensive Guide and more Slides Data Analysis & Statistical Methods in PDF only on Docsity!

9: Tests of

Hypotheses

EM 7: Engineering Data Analysis Second Semester, 2019- Pamantasan ng Lungsod ng Valenzuela

Introduction

  • Often, the problem confronting a researcher is not so much of the estimation of a population parameter, as discussed previously, but rather the formation of a data-based decision procedure that can produce a conclusion about some scientific system.
  • In cases like these, the researcher postulates or conjectures something about a system. The conjecture can be put in the form of a statistical hypothesis, which is a major area of statistical inference. 2

Introduction

  • It should be clear that the decision procedure must include an awareness of the probability of a wrong conclusion.
  • The analyst should be accustomed to understanding that rejection of a hypothesis implies that the sample evidence refutes it. In other words, rejection means that there is a small probability of obtaining the sample information observed when, in fact, the hypothesis is true. 4

Introduction

  • Example: for a sample of 100, if 20 were found to be defective, it is certainly an evidence for rejection if we have the condition of a binomial parameter ๐‘ = 0.10. If ๐‘ = 0.10, the probability of obtaining 20 or more defectives is approximately 0.002. With the resulting small risk of a wrong conclusion, it would be safe to reject the hypothesis that ๐‘ = 0.10.
  • In other words, rejection of a hypothesis tends to all but โ€œrule outโ€ the hypothesis. On the other hand, it is very important to emphasize the acceptance or failure to reject does not rule out other possibilities. 5

Null and Alternative

Hypothesis

  • The structure of hypothesis testing will be formulated through the use of null hypothesis ๐ปเฌด which refers to any hypothesis we wish to test.
  • The rejection of ๐ปเฌด leads to the acceptance of an alternative hypothesis, or ๐ปเฌต.
  • The alternative hypothesis ๐ปเฌต usually represents the question to be answered or the theory to be tested, and thus, its specification is crucial.
  • The null hypothesis ๐ปเฌด nullifies or opposes ๐ปเฌด and is often the logical complement to ๐ปเฌต. 7

Null and Alternative

Hypothesis

  • Please do take note that the analyst arrives at one of the two following conclusions: - Reject ๐‘ฏ๐ŸŽ in favor of ๐ปเฌต because of sufficient evidence in the data; or, - Fail to reject ๐‘ฏ๐ŸŽ because of insufficient evidence in the data
  • Note that the conclusions do not involve a formal and literal โ€œaccept ๐ปเฌดโ€. The statement of ๐ปเฌด often represents the status quo in opposition to the new idea, conjecture, and so on, stated in ๐ปเฌต, while failure to reject ๐ปเฌด represents the proper conclusion. 8

Testing a Statistical

Hypothesis

10

Testing a Statistical

Hypothesis

Example: A certain type of cold vaccine is known to be only 25% effective (๐‘ = 0.25) after a period of 2 years. To determine if a new and somewhat more expensive vaccine is superior in providing protection against the same virus for a longer period of time, suppose that 20 people are chosen at random and vaccinated. If more than 8 (randomly decided, but somewhat reasonable) of those receiving the new vaccine surpass the 2-year period without contracting the virus, the new vaccine will be considered superior to the one presently in use. 11

Testing a Statistical

Hypothesis

The test statistic on which we base our decision is X, which is the number of individuals who receive protection from the new vaccine for a period of at least 2 years. Possible values of X from 0-20, are divided into two groups: those numbers less than or equal to 8 and those greater than 8. 13

Testing a Statistical

Hypothesis

All possible scores greater than 8 constitute the critical region. The last number that we observe in passing into critical region (also 8) is called the critical value. Therefore, if ๐‘ฅ > 8, we reject ๐ปเฌด in favor of the alternative hypothesis ๐ปเฌต. If ๐‘ฅ โ‰ค 8, we fail to reject ๐ปเฌด. 14

Type I and Type II Errors

A second error is committed if 8 or fewer of the group surpass the 2-year period successfully and we are unable to conclude that the vaccine is better when it actually is better (๐ปเฌต true). In this case, we fail to reject ๐ปเฌด when in fact, ๐ปเฌด is false. This is called a type II error. 16 DEFINITION: Non-rejection of the null hypothesis when it is false is called a type II error.

Type I and Type II Errors

In testing any statistical hypothesis, there are four possible situations that determine whether our decision is correct, or in error. The probability of committing a type I error, is called the level of significance, ๐›ผ. 17 ๐ปเฌด is true ๐ปเฌด is false Do not reject ๐ปเฌด Correct decision Type II error Reject ๐ปเฌด Type I error Correct decision

Type I and Type II Errors

The probability of committing a type II error (๐›ฝ) is impossible to compute unless we have a specific alternative hypothesis. For example, if we test the null hypothesis that ๐‘ = 1/4 against the alternative hypothesis that ๐‘ = 1/2, then we can compute the probability of not rejecting ๐ปเฌด when it is false. That is the probability of obtaining 8 or fewer in the group that surpass the 2-year period when ๐‘ = 1/2. ๐›ฝ = ๐‘ƒ ๐‘ก๐‘ฆ๐‘๐‘’ ๐ผ๐ผ ๐‘’๐‘Ÿ๐‘Ÿ๐‘œ๐‘Ÿ = ๐‘ƒ ๐‘‹ โ‰ค 8 ๐‘คโ„Ž๐‘’๐‘› ๐‘ = 1 2 = เท ๐‘ ๐‘ฅ; 20 , 1 2 เฌผ เฏซเญ€เฌด = 0. 2517 19

Type I and Type II Errors

The value 0.2517 is a rather high probability, indicating a test procedure in which it is quite likely that we shall reject the new vaccine when, in fact, it is superior to what is now in use. If the testing director is willing to make a type II error if the more expensive vaccine is not significantly superior (the only time he wishes to guard against the type II error is when the true value of ๐‘ is at least 0.70): ๐›ฝ = ๐‘ƒ ๐‘ก๐‘ฆ๐‘๐‘’ ๐ผ๐ผ ๐‘’๐‘Ÿ๐‘Ÿ๐‘œ๐‘Ÿ = ๐‘ƒ ๐‘‹ โ‰ค 8 ๐‘คโ„Ž๐‘’๐‘› ๐‘ = 1 2 = เท ๐‘ ๐‘ฅ; 20 , 0. 7 เฌผ เฏซเญ€เฌด = 0. 0051 20 It is then extremely unlikely that the new vaccine would be rejected when it was 70% effective after a period of 2 years.