Chi-Square Test How do you know if your data is the result of - - PowerPoint PPT Presentation

chi square test
SMART_READER_LITE
LIVE PREVIEW

Chi-Square Test How do you know if your data is the result of - - PowerPoint PPT Presentation

Chi-Square Test How do you know if your data is the result of random chance or environmental variables? Chi-Square Test Used to compare categorical data and evaluate if differences between the data sets are statistically significant or due


slide-1
SLIDE 1

Chi-Square Test

How do you know if your data is the result of random chance or environmental variables?

slide-2
SLIDE 2

Chi-Square Test

  • Used to compare categorical data and

evaluate if differences between the data sets are statistically significant or due to chance In other words…

  • Is the variation between observed and

expected data due to chance or due to other factors (variables)?

slide-3
SLIDE 3

Chi-square Sum Observed values Expected values

slide-4
SLIDE 4

Null Hypothesis (H0)

  • States that there is no statistical significant

difference between the observed and expected frequencies

  • In statistics, a “significant” difference means

there is a less than 5% chance that the variation in the data is due to random/chance events

  • Goal of an experiment is to invalidate (or

“nullify”) the null hypothesis

slide-5
SLIDE 5

Effect of Fertilizer on Plant Growth

Null Hypothesis (H0) The application of fertilizer does not affect plant growth. Alternative Hypothesis (H1) The application of fertilizer affects plant growth.

slide-6
SLIDE 6

Effect of Humidity on Isopod Behavior

Null Hypothesis (H0) Alternative Hypothesis (H1)

slide-7
SLIDE 7

Effect of Humidity on Isopod Behavior

Expected Values? Observed Values?

slide-8
SLIDE 8

Application of the Chi-Square Test

  • Used to either fail to reject or reject the null

hypothesis

  • Fail to reject? The variation in the data is due

to chance (bad data!)

  • Reject? The variation in the data is due to

some variable in the experiment (good data!)

slide-9
SLIDE 9

Is the difference between observed and expected values due to chance or a variable?

  • Expect?
  • Observed = 57 brown, 43 white
  • B (brown)
  • b (white)
  • 100 plants
slide-10
SLIDE 10

How to Use the Chi-Square Test

  • 1st – Specify the null hypothesis
  • 2nd – Determine the degrees of freedom (n-1)

(number of possible outcomes – 1)

  • 3rd – Determine the critical value using Chi-

Square Distribution Table (p = 0.05, or 95% sure)

  • 4th – Calculate Chi-Square
  • 5th – Compare Chi-Square value with the

critical value

slide-11
SLIDE 11

Degrees of Freedom

slide-12
SLIDE 12

Degrees of Freedom

slide-13
SLIDE 13

Determine Critical Value

  • Is your chi-square value in the RED zone?

Then you CANNOT claim that the variation in the data observed is due to the variable you are testing

Not Significant Significant

slide-14
SLIDE 14

Chi-Square Value?

  • If the chi-squared value exceeds (or is greater

than) the critical value, then you reject the null hypothesis. This means that the variation in the data is due to a variable being tested (“statistically significant”).

  • If the chi-squared value is less than the critical

value, then you fail to reject the null

  • hypothesis. This means that the variation in

the data is due to chance.

slide-15
SLIDE 15

Calculate Chi-Square for Activity A2