Search found 5 matches

by Mara
Wed Mar 04, 2026 2:31 pm
Forum: Statistics
Topic: Chi-square test not working because of missing values
Replies: 10
Views: 51397

Re: Chi-square test not working because of missing values

Many thanks Jonathon and also to the persons here above who helped: it finally works :)

However, I'm looking forward to have it fixed very soon as I need to use it now for a stats work: so please don't forget to advise me when it will be the case ;)

Thanks again!
by Mara
Wed Mar 04, 2026 9:04 am
Forum: Statistics
Topic: Chi-square test not working because of missing values
Replies: 10
Views: 51397

Re: Chi-square test not working because of missing values

Hi Jonathon, Sorry for not replying earlier: I was very busy with another project. Regarding your last post: Do I have to go under "compute" or under "transform"? Besides, I did not understand your formula:$source -> could you please tell me what do I need to type (=...)? Many th...
by Mara
Tue Feb 10, 2026 8:14 am
Forum: Statistics
Topic: Chi-square test not working because of missing values
Replies: 10
Views: 51397

Re: Chi-square test not working because of missing values

Hi, contingency table works. But not the chi-square test goodness of fit (NaN). And if you look at the expected proportions, the missing values would still appear...
by Mara
Mon Feb 09, 2026 10:02 am
Forum: Statistics
Topic: Chi-square test not working because of missing values
Replies: 10
Views: 51397

Re: Chi-square test not working because of missing values

Hi, thanks for checking this. It is true that the missing variable disappear from the data sets when you compute a new variable =... However, if I do the test on this variable I still get NaN for the Chi-square test. Indeed, if I look at the expected quantities on the left, the missing variable is s...
by Mara
Thu Feb 05, 2026 1:58 pm
Forum: Statistics
Topic: Chi-square test not working because of missing values
Replies: 10
Views: 51397

Chi-square test not working because of missing values

Dear all, Chi-square test for goodness-of-fit and test of independence are not working because of missing values that remain included in the calculations. I have put the missing values in "missing values" in every variable, and they have been greyed out in the data set. However, they still...