[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #62995] CTABLES totals interaction with percentages
From: |
Ben Pfaff |
Subject: |
PSPP-BUG: [bug #62995] CTABLES totals interaction with percentages |
Date: |
Fri, 25 Nov 2022 20:02:41 -0500 (EST) |
Follow-up Comment #2, bug #62995 (project pspp):
I sent the following syntax off to a helpful person for clarification, to see
what it does in SPSS:
DATA LIST LIST NOTABLE/gender region weight.
VALUE LABELS gender 1 'M' 2 'F' / region 1 'NE' 2 'MW' 3 'S' 4 'W'.
WEIGHT BY weight.
BEGIN DATA.
1 1 607
1 2 719
1 3 1094
1 4 712
2 1 802
2 2 935
2 3 1296
2 4 834
END DATA.
CTABLES
/TABLE = gender [COUNT, COLPCT] BY region
/SLABELS POSITION=ROW
/CATEGORIES VARIABLES = region TOTAL = YES.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62995>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/