Allright, now i have another question,
this is what i'm seeing:

previously i was able to add one variable to a kind of "group" section and the other variable to a "test" section. here i cant find that option. so when i run the test this is my output:

not something like the individual p values that i was hoping for...
any idea how i could tackle this problem?
------------------------------
Daniel van Lammeren
------------------------------
Original Message:
Sent: Tue October 25, 2022 12:03 PM
From: Rick Marcantonio
Subject: PROBLEM: calculating p value per diagnosis
Try the one in Analyze>Nonparametric Tests>Legacy Dialogs>Chi-square...

------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Tue October 25, 2022 11:58 AM
From: Daniel van Lammeren
Subject: PROBLEM: calculating p value per diagnosis
Hi Rick,
I've tried your suggestion. i run into a problem that i cant run a non-paramedic test, because i cant test nominal fields:

i feel like i am not selecting the right options or should be using something different. any idea what i could try?
thanks for your help
------------------------------
Daniel van Lammeren
Original Message:
Sent: Tue October 25, 2022 08:35 AM
From: Rick Marcantonio
Subject: PROBLEM: calculating p value per diagnosis
Hi.
Try the CHISQUARE option in NPAR TESTS.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Tue October 25, 2022 05:02 AM
From: Daniel van Lammeren
Subject: PROBLEM: calculating p value per diagnosis
Hi IBM community,
I have a problem with calculating the p value for differences in diagnoses between cohorts. I have tried cosstabs but it wont show me the p-value per diagnosis.
the variables are:
diagnosis: value ranges from 1-6 with each numer corresponding to a diagnosis
group: value is either 1 or 0 allocating participants in a group

this is what i want:
any idea how i could slap this together? i dont mind if i have to calculate the significance for each diagnosis myself and manually add the p-value to the table. the main problem is that i dont know how i calculate the p-value for each diagnosis
------------------------------
Daniel van Lammeren
------------------------------
#SPSSStatistics