Date: Tue, 24 Feb 2009 08:13:06 -0800
Reply-To: Sandip <sandiptoton@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Sandip <sandiptoton@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Calculate Coeffcient of variation for weight variable.
Content-Type: text/plain; charset=ISO-8859-1
Hi Bakaye,
In Proc Tabulate you can use name of weight variable in the Weight
option and use CV to compute the Coefficient of Variation.
Proc Tabulate data=<dataname>;
class <variable name>;
var <analysis var name>;
weight <weight var name>;
table <analysis var name>*(CV),(all <class variable name>);
run;
Regards,
Sandip
On Feb 24, 1:53 pm, Bakaye <b.dj...@ulg.ac.be> wrote:
> Hi,
>
> I tried to calculate CV for my continuous variable weighted by another
> variable. The results seems not understandable. CV values are very
> high.
> How to calculate weight mean CV in SAS.?
> Another problem, how to include CV in proc tabulate like means, sum
> and other parameters .
> I'm using SAS 9.1.3
|