what does the syntax look like?
Original Message:
Sent: 7/23/2025 8:52:00 AM
From: Bruce Weaver
Subject: RE: statistics
I think your two dichotomous variables use 0/1 coding. If so, please execute the following code and show us the output.
RECODE polysub violence_bin (MISSING=9).
ADD VALUE LABELS polysub violence_bin 9 "9-Missing".
CROSSTABS polysub BY violence_bin.
By recoding MISSING to 9, the missing values will show up in the cross-tabulation. Later, you can make 9 a user-defined missing value:
MISSING VALUES polysub violence_bin (9).
Finally, when you show us the output, just copy the CROSSTABS output as an image and paste it into the body of your response. Do not upload a Word document, because many people are very reluctant to open Word documents because they can contain malware.
Thanks,
Bruce
------------------------------
Bruce Weaver
------------------------------
Original Message:
Sent: Tue July 22, 2025 06:11 AM
From: lol xd
Subject: statistics
I'm running into an issue with my SPSS output that's been driving me a bit nuts , the numbers aren't fully adding up, and I seem to have an extra unexpected case.
Here's what I've got:
POLYSUB
0 = 7171 cases (97.0%)
1 = 223 cases (3.0%)
Total = 7394
VIOLENCE_BIN
0 = 5842 cases (79.0%)
1 = 1517 cases (20.5%)
Missing = 34 cases (0.5%)
Valid N = 7359
So POLYSUB has 7394 cases, and VIOLENCE_BIN has 7359 valid, meaning 34 missing, which makes sense, but that's only 7393 in total, not 7394. Where is that extra mysterious case coming from?! I double-checked variable coding, missing values, and filters, and nothing obvious is popping up.
Any ideas on what might be happening here? I feel like SPSS is gaslighting me at this point.
Please help a poor burnt out student out.
Thanks so much,
Aikaterini
------------------------------
lol xd
------------------------------