Docsity

Introduction to Hypothesis Testing - Class Notes | GEOS 5374, Study notes of Geology

Toggle sidebar
bg1
Introduction to Hypothesis Testing
Null Hypothesis
• A statement that can be estimated in probabilistic terms.
• The goal is always to reject a null hypothesis
• Null Hypothesis cannot be accepted (with few exceptions)
• The rejection of NH allows us to accept (always tentatively
and always pending further revisions) the alternative
hypothesis - Research Hypothesis.
Example – Rat Weight Change.
Goal is to evaluate whether the weight changed following a
particular diet
Step 1: Formulate a Null Hypothesis opposite to our expectation
Null Hypothesis H[0]: – there was no change in weight
Step 2: Translate into a statistical statement
Null Hypothesis H[0]: mean change=0
Implicit Alternative Research Hypothesis: mean change ≠≠ 0
Could it be also something else than mean?
Can we formulate H[0] with something else than “=” sign?
Step 3: Use an appropriate test and the sample of interest to
estimate the probability that the null hypothesis is true.
How do we decide what method/test should be used?
Can we try several various tests?
How do we decide what probability is sufficiently low to reject
the null hypothesis?
pf3
pf4

Partial preview of the text

Download Introduction to Hypothesis Testing - Class Notes | GEOS 5374 and more Study notes Geology in PDF only on Docsity!

Introduction to Hypothesis Testing

Null Hypothesis

  • A statement that can be estimated in probabilistic terms.
  • The goal is always to reject a null hypothesis
  • Null Hypothesis cannot be accepted (with few exceptions)
  • The rejection of NH allows us to accept (always tentatively and always pending further revisions) the alternative hypothesis - Research Hypothesis.

Example – Rat Weight Change.

Goal is to evaluate whether the weight changed following a particular diet

Step 1: Formulate a Null Hypothesis opposite to our expectation Null Hypothesis H[0]: – there was no change in weight

Step 2: Translate into a statistical statement Null Hypothesis H[0]: mean change= Implicit Alternative Research Hypothesis: mean change ≠≠ 0 Could it be also something else than mean? Can we formulate H[0] with something else than “=” sign?

Step 3: Use an appropriate test and the sample of interest to estimate the probability that the null hypothesis is true. How do we decide what method/test should be used? Can we try several various tests? How do we decide what probability is sufficiently low to reject the null hypothesis?

Some Basic Terms

p – probability that our sample came from the population postulated by null hypothesis (i.e., likelihood of incorrectly rejecting a true null hypothesis)

When p < alpha the null hypothesis is rejected. When p > alpha the null hypothesis is not rejected.

Alpha (significance level) - The probability level we are willing to accept for incorrectly rejecting the null hypothesis (acceptable risk of committing Type I Error)

What should alpha be?

Beta – probability of committing Type II Error (beta): a failure to reject the null hypothesis that is false.

The power of the test can be measured as 1-Beta.

To know beta we need to know what is the correct value (and we usually don't).

Unless we know the power of our analysis (we almost never do), the rejection of Null Hypothesis is the only satisfactory outcome.

The failure to reject null hypothesis does not mean that the null hypothesis is true (or even likely to be true!).

Parametric Tests

Parametric tests - assume that a given parameter (e.g., t- statistics) follows a given theoretical probability density function (e.g., student's t-distribution). Under this assumption p- value can be estimated for a t-value derived from our sample.

Degrees of Freedom - Theoretical functions are typically families of curves and the appropriate curve defined by a given number of degrees of freedom has to be determined a priori. NOTE: Degrees of freedom are determined by the sample sizes but specific equations vary among tests.

Critical Value - Occasionally, instead of computing a p-value from the sample, the critical value for a given test and given alpha is computed instead and compared against the sample value of the tested parameter.