I am facing the following dilemma. I am aware of how to handle the one-sided Chi-distribution, but I am falling victim to how to handle degrees of freedom. Let me clarify with an example what I mean.
I have the following obseverd and expected values:
[Observed Data] #Periods CountryI CountryII CountryIII #(1900-1950) 100 150 20 #(1951-2000) 59 160 50 [Expected DATA] #Periods country I Country II CountryIII #(1900-1950) 118.4 52 40 #(1951-2000) 80.5 90 25
My question is: Since this is a one sided-Chi square test, are the degrees of freedom counted by the formula: (columns-1)(rows-1), in which case I would have $(6-1)(2-1) = 5$?
Or is that really just
country1 country2 country3 that matters, so that d.f. would be 3-1=2?
Because d.f. is usually defined as the terms for the chi squared = 6, where we usually subtract 1 from it.
Please help me out with this one.