X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fpspp-figures%2Fctables35.sps;fp=doc%2Fpspp-figures%2Fctables35.sps;h=7024f9d70714db674c7a30a850cf6a45b4071a42;hb=d98583b9425b8a053dc21b539203406bac74adc5;hp=0000000000000000000000000000000000000000;hpb=9e8fca7bd38927d335b81f5f1a282deff665e024;p=pspp diff --git a/doc/pspp-figures/ctables35.sps b/doc/pspp-figures/ctables35.sps new file mode 100644 index 0000000000..7024f9d707 --- /dev/null +++ b/doc/pspp-figures/ctables35.sps @@ -0,0 +1,11 @@ +GET FILE='nhtsa.sav'. +CTABLES + /PCOMPUTE &all_drivers=EXPR([1 THRU 2] + [3 THRU 4]) + /PPROPERTIES &all_drivers LABEL='All Drivers' + /PCOMPUTE &pct_never=EXPR([5] / ([1 THRU 2] + [3 THRU 4] + [5]) * 100) + /PPROPERTIES &pct_never LABEL='% Not Drivers' FORMAT=COUNT PCT40.1 + /TABLE=qn1 BY qns3a + /CATEGORIES VARIABLES=qn1 [1 THRU 2, SUBTOTAL='Frequent Drivers', + 3 THRU 4, SUBTOTAL='Infrequent Drivers', + &all_drivers, 5, &pct_never, + MISSING, SUBTOTAL='Not Drivers or Missing'].