Excel Chi-squared test - error p-value

G M

New Member
Joined
Oct 29, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
I’ve built a model on excel to calculate chi-squared on each of my 8 questions within questionnaire. i'm using chi-squared to understand relationship between scores provided and organisation.
I'm getting an calc. error (#DIV/0) for the p-value because no one from either category scored a zero "0" or a five "5".
Excel is throwing an error in the total expected value which is throwing the =CHISQ.TEST (p-value) calc. into error.
For the =CHISQ.TEST calc. do i therefore need to discount zero and five as categories and reduce my degrees of freedom by 2?
Is that an acceptable method?


Observed Total
0​
1​
2​
3​
4​
5​
CAT 1
0​
1​
1​
4​
14​
5​
25​
CAT 2
0​
1​
1​
0​
1​
1​
4​
0​
2​
2​
4​
15​
6​
29​
Expected Total
0​
1​
2​
3​
4​
5​
CAT 1
0​
2​
2​
3​
13​
5​
25​
CAT 2
0​
0​
0​
1​
2​
1​
4​
0​
2​
2​
4​
15​
6​
Chi Sq
0​
1​
2​
3​
4​
5​
BAE
#DIV/0!​
0.304​
0.304​
0.088​
0.088​
0​
#DIV/0!​
MOD
#DIV/0!​
1.901​
1.901​
0.552​
0.552​
0​
#DIV/0!​
#DIV/0!​
2.205​
2.205​
0.640​
0.641​
0.000​
#DIV/0!​
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Excel Chi-squared test - error p-value
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top