Date: Wed, 17 Sep 2003 07:56:55 -0700
Reply-To: Dale McLerran <stringplayer_2@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dale McLerran <stringplayer_2@YAHOO.COM>
Subject: Re: Comparing regression parameters?
In-Reply-To: <TtQ9b.6631$BS5.6539@newsread4.news.pas.earthlink.net>
Content-Type: text/plain; charset=us-ascii
Jonathan,
If you use PROC REG to fit your regression model, then you can
employ a TEST statement to test whether the parameter associated
with variable X is equal to some specified value. Thus, you
could code
proc reg data=mydata;
model y = x / noint;
test x=z;
run;
Dale
--- Jonathan Greenberg <greenberg@UCDAVIS.EDU> wrote:
> I was hoping someone could help me out getting this done in SAS:
>
> I have two continuous variables, X and Y that I regress with no
> intercept,
> so the equation ends up being:
>
> Y = MX
>
> My question is, does M significantly differ from some arbitrary value
> Z (Z
> <> 0 in this case)? How do I do this in SAS? Is there someplace I
> can
> just type in my expected Z and have SAS spit out a p-value? Thanks!
>
> --j
>
> --
> Jonathan Greenberg
> Graduate Group in Ecology, U.C. Davis
> http://www.cstars.ucdavis.edu/~jongreen
> http://www.cstars.ucdavis.edu
> AIM: jgrn307 or jgrn3007
> MSN: jgrn307@msn.com or jgrn3007@msn.com
=====
---------------------------------------
Dale McLerran
Fred Hutchinson Cancer Research Center
mailto: dmclerra@fhcrc.org
Ph: (206) 667-2926
Fax: (206) 667-5977
---------------------------------------
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
|