I am trying to understand how to decide the number of degrees of freedom when calculating a chi-squared and p value.(adsbygoogle = window.adsbygoogle || []).push({});

I have the data:

England:

people with no pets = 665

people with 1 pet = 976

people with 2+ pets = 913

Scotland

people with no pets = 313

people with 1 pet = 527

people with 2+ pets = 506

Wales

people with no pets =302

people with 1 pet = 440

people with 2+ pets = 358

I've calculated the expected frequency and therefore the (observed - expected)^2 / expected for each cell but im stuck with degrees of freedom

One thing ive found says dof = (rows-1 ) * (col -1 ) which would = 2 * 2 = 4

another thing says dof = number of cells - number of restrictions = 9 - 2 = 7

where number of restrictions is number of things you are categorising by

can someone clarify this please!

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I Degrees of Freedom

Tags:

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - Degrees Freedom | Date |
---|---|

Degrees of Freedom | Mar 14, 2014 |

Bessel's correction and degrees of freedom | Feb 28, 2014 |

How many degrees of freedom ? | Jan 30, 2014 |

Degree of freedom and formula for standard variation | Jan 9, 2014 |

Question about Degrees of Freedom | Jan 2, 2014 |

**Physics Forums - The Fusion of Science and Community**