|
I have 3 variables each of them containing 3 possible values: YES, NO,
MAYBE.
I have tabulated them using:
CTABLES
/TABLE
v1 [ROWPCT.COUNT PCT40.1, TOTALS[COUNT F40.0]] +
v2 [ROWPCT.COUNT PCT40.1, TOTALS[COUNT F40.0]] +
v3 [ROWPCT.COUNT PCT40.1, TOTALS[COUNT F40.0]]
BY Panel
/SLABELS VISIBLE=NO
/CLABELS ROWLABELS=OPPOSITE
/CATEGORIES VARIABLES=Panel ORDER=A KEY=VALUE EMPTY=EXCLUDE
/CATEGORIES VARIABLES=v1 v2 v3 ["YES" "NO" "MAYBE"] EMPTY=EXCLUDE.
And i obtain something like:
YES NO MAYBE
V1 25% 25% 50%
V2 30% 30% 40%
V3 40% 20% 40%
I would now need to graph them possibly using a bar chart that adds to 100%
within each horizontal bar (one for each variable).
I have been trying without success using GGRAPH procedures, can anyone
assist?
Thanks,
Luca
|