Date: Thu, 17 Sep 2009 03:55:22 -0700
Reply-To: RolandRB <rolandberry@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: RolandRB <rolandberry@HOTMAIL.COM>
Subject: Re: P-values for Chi-square test for categorical variables and a
Content-Type: text/plain; charset=ISO-8859-1
On 16 Sep., 12:56, hyma...@GMAIL.COM (Shaik Hymad) wrote:
> HI To all,
> I have a two trtments and data having age sex race
> i need to find p-value for above variables
> the conditions is like
> "P-values for treatment comparisons are based on Chi-square test for
> categorical variables and a two-sample t-test for continuous variables."
> Age (yrs) trt1 trt2 total
> p-value <0.001
> Can you pls help me hoe to do above senario.
See if you can find a macro where you work that does this. I have one
such macro on my web site. Here is a demo of the macro. Later in the
demo it does p-values.