Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

Proq Freq question

$
0
0
Hi,

I have a doubt on running proq freq in SAS and here it goes.
if I have a data as follows
Gender year Increase
male 2009 1
female 2010 1
male 2009 0
male 2010 0
female 2010 1
male 2011 0
male 2011 1
female 2010 0

I want to calculate the percentage by gender by year having the increase value as 1.
like the table

gender 2009 2010 2011
female --- --- ---
male --- --- --- --> this indicates the percent of the gender having the value 1 for that particualr year in the whole database
Please help.

Viewing all articles
Browse latest Browse all 310

Trending Articles