a general question about data arrangement in Excel for calculation -
I have a huge list that I need to do a chi-square analysis on the data in the list (see attachment or below)
As chi-sq test runs as chi-sq (actual data, expected data), data is required (?) to be arranged in a certain way.
example 1
actual range expected range
row1 10 150 55.65217391 104.3478261
row2 150 150 104.3478261 195.6521739
chi square is calculated as chi-sq test(b2:c3, f2:g3)
However, my list is arranged as follows
example 2
actual expected
10 150 150 150 55.65217391 104.3478261 104.3478261 195.6521739
48 112 33 267 28.17391304 131.826087 52.82608696 247.173913
130 30 78 222 72.34782609 87.65217391 135.6521739 164.3478261
3 157 234 66 82.43478261 77.56521739 154.5652174 145.4347826
where I need to do chi-sq test for each row (data in the first row of example 2 is identical to the data in example 1)
While I was able to generate a list of the "expected ranges" for all rows (see example 2), chi-sq does not seem to support calculated data to be arranged this way (#VALUE!)
Is there a way to (a) re-arrange the data to conform to chi-square data arrangement or (b) to calculate chi-square without re-arranging the data?
Thank you
Bookmarks