hypotheses and hypothesis testing. hypothesis an educated prediction about the outcome of an...

26
Hypotheses and Hypothesis Testing

Upload: hortense-higgins

Post on 04-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Hypotheses and Hypothesis Testing

Page 2: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Hypothesis

• An educated prediction about the outcome of an investigation

• A statement explaining that a causal relationship exists between an underlying factor (variable) and an outcome

• Sometimes called a “working hypothesis”• Created after making an observation

Page 3: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Hypothesis ≠ guess

• Hypotheses are testable in quantifiable ways, not simply guesses about what might happen

Page 4: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Why create hypotheses?

• Helps in the design of an investigation• The design process also requires identification

of a few other elements

Page 5: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Variables

• Factors that affect the outcome of an event

Page 6: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Manipulated variable

• The one thing that you intentionally change in an investigation

Page 7: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Responding variable

• What you are measuring as an outcome of an investigation.

Page 8: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Controlled variable

• Everything else that you keep the same during an investigation

Page 9: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Format of working hypothesis

• Written in the “If. . .then. . .because” format• If (manipulated variable), then (responding

variable) because (prior knowledge).

Page 10: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Let’s practice

• Seniors from the same math class were tested to compare their speed working math problems. Each group was given the same problems. One group used calculators and the other computed without calculators.

1. Identify all variables2. Create a working hypothesis

Page 11: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

• Dr. Ack wanted to find the ideal spot in her yard for planting tomatoes. She wanted to know if the amount of sun the plants received made a difference in how tall the plants would grow.

Page 12: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Problems with using hypotheses

• While the working hypothesis helps you to frame the question and design your investigation, it is impossible to prove absolutely.

Page 13: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Null hypothesis

• Scientist often use another type of hypothesis called the null hypothesis.

• The null hypothesis is sometimes called the “no difference” hypothesis.

• It is a statement that says that there is no causal relationship between the manipulated variable and the outcome.

Page 14: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

For example

• We would like to know if the amount of sleep students get impact their performance on tests

• Hypothesis: If students get at least 6 hours of sleep, then they will do better on tests.

• Null hypothesis: There is no difference in test scores between students who get more than 6 hours of sleep and those who get fewer.

Page 15: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Let’s practice. . .

• With your table group, look back at the hypotheses we created and rework them into null hypotheses.

Page 16: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Why the null?

• Because you cannot prove a hypothesis absolutely, statistical hypothesis testing focuses on rejecting the null hypothesis.

• That is, if you can say that the null hypothesis (that there is no relationship between variable and outcome) is not true, then you provide evidence that your initial hypothesis might be true.

• It doesn’t prove that your initial is true.

Page 17: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Back to the sleep study. . .

• If our null hypothesis is that there is no difference in test scores, but we find a difference in our data, we have rejected the null.

• We have not proven that getting more sleep improved the test scores, that there was a causal relationship, but we certainly have some evidence that there might be a causal relationship.

Page 18: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Chi square

• http://www.bozemanscience.com/chi-squared-test

Page 19: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

• Chi square =– A way to compare data to determine if the

variation in your data is due to the change in one of your variables (as opposed to chance)

– Χ2 = Σ (o-e)2 / e

Page 20: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

• Degrees of freedom= – Possible outcomes – 1

– For example, you need 5 classes to graduate and 5 semesters in which to take them.

– The first 4 semesters you have a choice, but the last semester you get whichever class is left. No “freedom”

Page 21: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

• Critical value = • 0.05 means you are 95% sure that you can

either accept or reject the null

Page 22: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

• Once you’ve determined the degrees of freedom and have calculated the chi square value . . .

• X2 > c.v. – reject the null. i.e. data differences are more than you would expect by chance

• X2 < c.v. – accept or “fail to reject” the null. i.e. the data differences could simply be chance

Page 23: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship
Page 24: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

Possible outcomes in hypothesis testing

Investigator action

Null is true Null is false

Rejects the null Type I error (false positive)

correct

Fails to reject the null

correct Type II error (false negative)

Page 25: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship

A well written procedure:

• Has numbered steps written in the order that they should occur

• Is detailed enough that someone who is not familiar with the investigation could easily perform the investigation exactly like you

• Includes at least 3 trials• Describes exactly how to measure the

responding variable• Describes all controlled variables

Page 26: Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship