Date: Fri, 27 Jun 2008 15:06:17 +0200
Reply-To: Stefan Pohl <stefan.pohl@ISH.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Stefan Pohl <stefan.pohl@ISH.DE>
Subject: Get mosaic plots
Content-Type: text/plain; charset="us-ascii"
Hi list,
I want to plot two categorical variables in a mosaic plot.
Variable a is the number of insured: 1,2,>2
Variable b shows if the contract is canceled: 0,1
I have used proc freq table a*b to get the col pct.
I want to display the col pcts in a mosaic plot.
Some code to get started is welcome.
Stefan.
|