elementary statistics for foresters

24
Elementary statistics for foresters Lecture 5 Socrates/Erasmus Program @ WAU Spring semester 2005/2006

Upload: zander

Post on 19-Jan-2016

48 views

Category:

Documents


1 download

DESCRIPTION

Elementary statistics for foresters. Lecture 5 Socrates/Erasmus Program @ WAU Spring semester 2005/2006. Statistical tests. Statistical tests. Why using tests? Statistical hypotheses Errors in tests Test of significance Examples of tests. Why do we use tests?. We work with samples - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Elementary statistics for foresters

Elementary statistics for foresters

Lecture 5

Socrates/Erasmus Program @ WAU

Spring semester 2005/2006

Page 2: Elementary statistics for foresters

Statistical tests

Page 3: Elementary statistics for foresters

Statistical tests

• Why using tests?

• Statistical hypotheses

• Errors in tests

• Test of significance

• Examples of tests

Page 4: Elementary statistics for foresters

Why do we use tests?

• We work with samples

• We want to know about populations

• Sample = uncertainty

• So: we need a tool to be able to answer questions about population based on results from the sample

• Some examples...

Page 5: Elementary statistics for foresters

Statistical hypotheses

• Hypothesis: it is a statement about parameters or variable distribution of population

• Hypothesis refers to a parameter – parametric hypothesis

• Hypothesis refers to a distribution – non-parametric hypothesis

Page 6: Elementary statistics for foresters

Parametric hypotheses

• They are usually written as a short equation, e.g.

μ = 44

μ1 = μ2

σ1 = σ2

Page 7: Elementary statistics for foresters

Non-parametric hypotheses

• Usually written as a sentence, such as e.g.– „the distribution of the x variable in the

population follows the normal distribution”– „samples were drawn from populations having

the same distributions”– ...

• Used not only exactly for distributions

Page 8: Elementary statistics for foresters

Statistical hypotheses

• Null hypothesis – a hypothesis being tested during the testing procedure

• Alternative hypothesis – a reserve hypothesis used when the null hypothesis is not true– These hypotheses can be both: parametric and

non-parametric.

Page 9: Elementary statistics for foresters

Statistical hypotheses

H0: μ = 44

H0: μ1 = μ2

H0: the distribution of the „x" variable follows the normal

distribution

Page 10: Elementary statistics for foresters

Statistical hypotheses

H1: μ ≠ 44

H1: μ1 ≠ μ2

H1: the distribution of the „x" variable doesn’t follow the normal

distribution

Page 11: Elementary statistics for foresters

Errors in tests

• The hypothesis can be: true or false

• The result of the test can be: accept or reject the null hypothesis

• All possible cases are:– H0 is true, test accepts the hypothesis

– H0 is true, test rejects the hypothesis

– H0 is false, test accepts the hypothesis

– H0 is false, test rejects the hypothesis

Page 12: Elementary statistics for foresters

Errors in test

• In two cases we have a bad scenario:– H0 is true, test rejects the hypothesis

– H0 is false, test accepts the hypothesis

• In these cases we have an error in using a statistical test

• All cases can be shown in the table:

Page 13: Elementary statistics for foresters

Errors in tests

Hypothesis / decision Accept Reject

true OK Type I error / error of the 1st kind

false Type II error / error of the 2nd kind

OK

Page 14: Elementary statistics for foresters

Errors in tests

Hypothesis / decision Accept Reject

true OK alpha error

false beta error OK

Page 15: Elementary statistics for foresters

How to avoid errors?

• test construction: use only tests rejecting hypotheses or saying that this is not enough to reject it. By doing so you can avoid type II errors,

• choose small significance level.

• (Test of significance)

Page 16: Elementary statistics for foresters

Test of significance scheme

• formulate H0 and H1,• sample the population(s),• calculate a statistics for a given test (such statistics

is also a variable having it's distribution if the null hypothesis is true),

• compare the calculated statistics with a critical value of the statistics for a given significance level

• reject the null hypothesis is rejected or state, that "we can't reject the null hypothesis for a given significance level α”

Page 17: Elementary statistics for foresters

Test of significance in practice

• When using any statistical software – the end of the test is different.

• Instead of comparison of calculated test statistics with its theoretical value for a given significance level – p-value („critical significance level”) is calculated.

• This will be discussed in details during the practical exercises.

Page 18: Elementary statistics for foresters
Page 19: Elementary statistics for foresters

Examples of tests

Page 20: Elementary statistics for foresters

Tests for the arythmetic mean(s)

Page 21: Elementary statistics for foresters

Tests for proportions

Page 22: Elementary statistics for foresters

Tests for variances

Page 23: Elementary statistics for foresters

Goodness-of-fit tests

Page 24: Elementary statistics for foresters

Thank you!