Docsity

Statistical Tests: Hypothesis Testing, Outliers, and Variance Comparison, Notas de estudo de Estatística

Pré-visualização parcial do texto

Baixe Statistical Tests: Hypothesis Testing, Outliers, and Variance Comparison e outras Notas de estudo em PDF para Estatística, somente na Docsity!

Chapter 3

Statistical Tests

Definitions

  • Null and alternative hypotheses

The null hypothesis H 0 is that there is no difference between the values being compared.The shorthand notation is H 0 :  1 =  2

  • In the case that the null hypothesis is not true, an alternative hypothesis is used H 1 (or HA):  1 ≠  2
  • The alternative hypothesis means that the population

means are not equal, i.e. the mean values  1 and  2

m1 and m2 differ significantly and belong to different

populations.

  • The confidence interval (CI) is related to the risk α as follows:

CI% = 100 - (1- α )

  • Thus, a risk of α = 0.05 is equivalent to a confidence interval of

CI = 95%:

  • The hypothesis H 1 :  1 ≠  2 means only that there is a difference between the means in either direction, i.e.  1 may be greater or less than  2. The distinction is known as a two-sided, or two-tail, or two-tailed hypothesis test.
  • The hypothesis H 1 :  1 <  2 or H 1 :  1 >  2 we are only interested in whether there is a difference between the means in one direction. This hypothesis test is called a one-sided, one-tail, or one-tailed hypothesis test.
  • One-sided decision limit ( + 1.65) compared to two-sided limit (between  – 1.96  and  + 1.96 ).
  • (a) Interval within which H 0 would be accepted for the two-sided test. (b) Interval within which H 0 would be accepted for a one-sided test

Rapid Test for Normal Distribution (David Test)

Several

  • The parameters x (^) max and xmin are the greatest and the lowest values in the series of measurement, respectively, and s is the standard deviation.
  • The data are normally distributed according to David if the calculated value
  • is inside the boundaries of the David table for a given significance level P (see Table A-8).

Test for a Trend

  • A trend is a progressively decreasing or increasing drift of measured values in chronological order.
  • A trend is an indicator that a process is not under statistical control.
  • If this is the case, statistical parameters cannot be calculated.
  • Therefore, it is evident that trends must be avoided and data sets with a trend have to be rejected
  • The simple test by Neumann may be used in AQA

is the sum of squares SSi which may be calculated by the Excel function = DEVSQ(Data).

Consecutive values are considered independent at a significance level P if the test value calculated is larger than a critical limit tabulated by Neumann (Table A-10) for a given sample size n. In analytical practice If Δ^2 < 2 s^2 A trend must be considered; If Δ^2  2 s^2 consecutive series of measurements can be assumed to vary randomly and not show a trend

Outliers

An outlier is “an unusually extreme value for a variable, given the statistical model in use”

The goal of QA is NOT to eliminate outliers! Rather, we wish to detect unusually extreme values.

 “ the detection of outliers is an intermediate step in the elimination of [data] contamination”

If the calculated value of Q exceeds the critical value, the suspect value is rejected

Grubbs’ test

  • The ISO recommended test for outliers is Grubbs' test.
  • This test compares the deviation of the suspect value from the

sample mean with the standard deviation of the sample.

  • The suspect value is the value that is furthest away from the mean
  • In order to use Grubbs’ test for an outlier, (i.e. to test the null

hypothesis, H 0 ), that all measurements come from the same population, the statistic rm is calculated: