LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 23 Dec 2009 14:53:53 -0500
Reply-To:     Jeff <zhujp98@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Jeff <zhujp98@GMAIL.COM>
Subject:      Re: how to test the signicanace
Comments: To: Ted Clay <tclay@ashlandhome.net>
In-Reply-To:  <004601ca83fa$4bf328d0$e3d97a70$@net>
Content-Type: text/plain; charset=ISO-8859-1

Thanks. Is it possible to do a binomial proposion test to G1 and G2 and how? Thanks, Jeff

On Wed, Dec 23, 2009 at 1:03 PM, Ted Clay <tclay@ashlandhome.net> wrote:

> * I think this might help. One way to do this is to create a data set with > the 4 cells of a 2-by-2 table, and let PROC FREQ do the test of > significance. > The key is the "WEIGHT" statement in PROC FREQ. > ; > Data ready; > Group=1; admitted='Yes'; Num=Y1; output; > Group=1; admitted='No '; Num=X1-Y1; output; > Group=2; admitted='Yes'; Num=Y2; output; > Group=2; admitted='No '; Num=X2-Y2; output; > Run; > > Proc freq data=ready; > Table group*admitted; > Weight Num; > Run; > > You will get a Chi-square test by default. > A 2-tailed Fisher's exact test would be my choice of test, which requires > adding "/exact". > You might also be interested in relative risk statistics and confidence > intervals, which requires you to pay close attention to which is "row 1" > and > "column 1". > > TC > > > > > -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Jeff > Sent: Wednesday, December 23, 2009 6:55 AM > To: SAS-L@LISTSERV.UGA.EDU > Subject: how to test the signicanace > > Two group of people. all people in G1 is in a health plan, and these in G2 > is not > G1 have x1 member, and y1 hospital admits. hospital admit rate is > hr1=y1/x1 > G2 has x2 member and y1 hospital admits. hospital admit rate is h21=y2/x2 > > I want to test if there is significant difference between G1 and G2. > What kind test should I use? > > Thanks. > JP > > >


Back to: Top of message | Previous page | Main SAS-L page