Date: Tue, 26 Oct 2010 11:38:56 -0500
Reply-To: Robert O'Brien <obri0313@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robert O'Brien <obri0313@GMAIL.COM>
Subject: Withing group and withing variable comparison
Content-Type: text/plain; charset=ISO-8859-1
Hi,
I am being asked to compare the male female variable against two groups of
people, only the requester is only wanting to find out if the % male is
significantly different within the group and not the % female.
I performed a probability comparison test
proc freq ;
table sex / probt (0.5 0.5 );
weight groupvariable;
run;
but the person is saying this compared both groups and not just the % male
between the two. Any ideas? Also if this is unclear please let me know and I
will try to clear up any issue.
Thanks,
Robert
|