Date: Sat, 14 Mar 2009 19:57:33 -0300
Reply-To: SAS User <sasusr@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: SAS User <sasusr@GMAIL.COM>
Subject: Histogram taking account sampling weights
Content-Type: text/plain; charset=ISO-8859-1
Hi I'm trying to use a simple univariate procedure to produce histogramS
taking account sampling counts but I'm having some problems.PROC UNIVARIATE
DATA = LIBRARY._2_AB;
BY BI;
VAR TOTAL_DEROG;
HISTOGRAM / CFRAME=GRAY CAXES=BLACK WAXIS=1 CBARLINE=BLACK
CFILL=BLUE PFILL=SOLID ;
WEIGHT WEIGHT;
RUN;
But the in the log I'm having the following msg: ERROR: A WEIGHT variable
cannot be used together with a HISTOGRAM, QQPLOT, or PROBPLOT statement.
What can I do to make that histograms taking the sampling weights into
account?
Thanks,
Ed.
|