22

The Green Lab - [07-B] Hypothesis Testing

Embed Size (px)

Citation preview

Page 1: The Green Lab - [07-B] Hypothesis Testing
Page 2: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Hypothesis: a formal statement about a phenomenon

● Null hypothesis H0

: no real trends or patterns in the

experiment setting (aka ~Q)

● Alternative hypothesis Ha: there are real trends or

patterns in the experiment setting (aka Q)

Page 3: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

● We aim at verifying the null hypothesis (~Q)○ we test the null hypothesis H

0

We can reject the null hypothesis → we can draw conclusions

This comes from Popper (1959): any statement in a scientific

field is true until anybody can contradict it

● Aiming at verifying Q is WRONG○ Provides no insight on the conjecture

Page 4: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Page 5: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Page 6: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

●○

"P-value in statistical significance testing" by User:Repapetilto @ Wikipedia & User:Chen-Pan Liao @ Wikipedia - https://en.wikipedia.org/wiki/File:P_value.png. Licensed under CC BY-SA 3.0 via Wikimedia Commons

Page 7: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Page 8: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

●○

○ α

●○

○ β

Page 9: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Page 10: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

●○ β

Page 11: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Page 12: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

● α○ α○

● β○○

Page 13: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

●○○

■ α

Page 14: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

●○○

Page 15: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

α

0.38

Page 16: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

α

● α○

0.38

α

Page 17: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

●○

●○○

●○

Page 18: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Page 19: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

Page 20: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

● Analysis and Interpretation: Chapter 10

Experimentation in SE, Wohlin et al. (Blackboard)

● Hypothesis Testing: Chapter 10, Section 3

Experimentation in SE, Wohlin et al. (Blackboard)

● "It's the effect size, stupid" (Coe, R.)

● Plenty of online resources\tutorials

Page 21: The Green Lab - [07-B] Hypothesis Testing

Vrije Universiteit Amsterdam

● Coin toss example and other content from Empirical

Methods in Software Engineering, Marco Torchiano,

Politecnico di Torino - http://softeng.polito.it/EMSE/

● Effect Size from Basics of Empirical Software Engineering,

Massimiliano Di Penta, University of Sannio, Italy