Date: Tue, 18 Jul 2006 21:26:43 -0700
Reply-To: skyline <carf4F@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: skyline <carf4F@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: count the number of observations with different values
In-Reply-To: <1153276317.236052.77290@h48g2000cwc.googlegroups.com>
Content-Type: text/plain; charset="utf-8"
Thank you. But in a real table, I have many values, and I do not want
all of them displayed, and I just wish to have a number of these
different values.
Newstat のメッセージ:
> it is easy. if you use sas, you can obtain it as follows
>
> data x;
> set xx;
> proc freq;
> tables gender;
> run;
>
> --------------------------------------------
> skyline wrote:
> > Hello,
> >
> > I would like to count the number of observations for male and female
> > students;
> >
> >
> > students gender
> > 1 male
> > 2 female
> > 3 male
> > 4 male
> >
> > Thank you very much,
|