Article View: comp.soft-sys.sas
Article #40Re: �How to test in SAS for equality of slopes in regressioncurves?
From: shiling
Date: Fri, 13 Nov 1998 00:00
Date: Fri, 13 Nov 1998 00:00
68 lines
2748 bytes
2748 bytes
Klein, Your approach is to test difference between the intercepts or constant terms not slopes. In article <364AE8AF.B30A8809@j51.com>, yklein@j51.com wrote: > This is a multi-part message in MIME format. > --------------BF10FC7EB3C17EDDF0B39708 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > If the null hypothesis is that the samples for men and women are drawn from the > same > underlying population (i.e., common variance), why not use a dummy variable, say > Z = > 1*X for men and 0*X for women. > > Then Y = a + bX + cZ; where the slope for men = b+c and the slope for women=c. > Do a t-test on c to see if it is significantly different from zero; if so, reject > H0. > > Javier wrote: > > > Hi, > > > > I want to know how to perform a test for the hypotheses: > > > > H0: The slope b in the regression curve Y=a+bX (for population A=men) > > > > is equal to the slope in the regression curve Y=a+bX (for population B=women) > > > > versus H1: they are different > > > > Is there a simple way to do it in SAS/STAT? (I mean using REG, GLM or other > > procedures) > > > > Thanks in advance > > > > Javier > > --------------BF10FC7EB3C17EDDF0B39708 > Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" > Content-Transfer-Encoding: 7bit > Content-Description: Card for Yehuda Klein > Content-Disposition: attachment; filename="vcard.vcf" > > begin: vcard > fn: Yehuda Klein > n: Klein;Yehuda > org: Brooklyn College > email;internet: yklein@j51.com > title: Associate Professor of Economics > x-mozilla-cpt: ;0 > x-mozilla-html: TRUE > version: 2.1 > end: vcard > > --------------BF10FC7EB3C17EDDF0B39708-- > > -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<72g64m$3gp$1@nnrp1.dejanews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36494bf2.946295@news.ucm.es> <364AE8AF.B30A8809@j51.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112edf,d1026a6be2475ccc X-Google-Attributes: gid112edf,public X-Google-Thread: 121044,6cc12b14631adaca,start X-Google-Attributes: gid121044,public From: shiling@math.wayne.edu Subject: Re: �How to test in SAS for equality of slopes in regressioncurves? Date: 1998/11/13 Message-ID: <72g64m$3gp$1@nnrp1.dejanews.com> X-Deja-AN: 411295968 References: <36494bf2.946295@news.ucm.es> <364AE8AF.B30A8809@j51.com> To: yklein@j51.com X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 198.109.36.39 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Nov 13 02:39:18 1998 GMT Newsgroups: comp.soft-sys.sas,bit.listserv.sas-l X-Http-User-Agent: Mozilla/4.05 [en] (Win95; I)