bug-gnu-pspp
[Top][All Lists]
Advanced

[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 19:41:02 -0500 (EST)

Follow-up Comment #1, bug #62995 (project pspp):

The following syntax and output makes the problem clearer:


GET 'nhtsa.sav'.
compute sex = qns3a.
CTABLES
  /TABLE = Sex [COUNT, COLPCT] BY region
  /SLABELS POSITION=ROW
  /CATEGORIES VARIABLES = region TOTAL = YES.



                  Custom Tables
╭─────────────────┬─────────────────────────────╮
│                 │            Region           │
│                
├─────┬─────┬─────┬─────┬─────┤
│                 │  NE │  MW │  S  │  W  │Total│
├─────────────────┼─────┼─────┼─────┼─────┼─────┤
│sex 1.00 Count   │  607│  719│ 1094│  712│ 3132│
│         Column %│43.1%│43.5%│45.8%│46.1%│    .│
│  
╶─────────────┼─────┼─────┼─────┼─────┼─────┤
│    2.00 Count   │  802│  935│ 1296│  834│ 3867│
│         Column %│56.9%│56.5%│54.2%│53.9%│    .│
╰─────────────────┴─────┴─────┴─────┴─────┴─────╯



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62995>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]