Date: Sun, 24 Sep 2006 22:25:34 -0700
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: test statement in phreg
In-Reply-To: <200609222033.k8MHM0HL011502@mailgw.cc.uga.edu>
Content-Type: text/plain; format=flowed
cui@BUS.MSU.EDU wrote:
>
>I am using test statement in phreg to test the size of the two coefficie=
>nts. My statements are as follows:
>=20
>proc phreg data =3D modeldata;
>
>model (t1,t2) * Eventall(0,1) =3D a b c;
>
>test1: test a >b;
>
>run;
>
>But SAS does not same to recoganize the sign " >" . How should I write=
> the statmment if I want to see whether the effect of a is stronger than=
> b?=20
>
>Thank you very much,
>
>=20
>
>Anna
>
>
The TEST statement can only accept equations, either explicitly
or implicitly. You cannot give it an inequality. That's just what it
was complaining about. Try:
test1: test a=b ;
HTH,
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330
_________________________________________________________________
Find a local pizza place, music store, museum and more…then map the best
route! http://local.live.com
|