Date: Wed, 19 Jun 2002 14:34:36 -0700
Reply-To: Cassell.David@EPAMAIL.EPA.GOV
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "David L. Cassell" <Cassell.David@EPAMAIL.EPA.GOV>
Subject: Re: exporting beta coefficients?
Content-type: text/plain; charset=us-ascii
meg A <napu1975@NETSCAPE.NET> wrote:
> Hello! Can anyone tell me if there is a way to output the beta
> coefficients for variables in REG or GLM?
Shawn Edney already mentioned the OUTEST=datasetname option
in PROC REG . You can also use ODS to get coefficients AND
standard errors out. In PROC REG, the ODS table you would
want is called (oddly enough :-) ParameterEstimates . So you
would do something like this:
ods output ParameterEstimates=param;
proc reg data=blah;
model foo = bar baz quux;
run;
ods output close;
proc print data=param;
run;
HTH,
David
--
David Cassell, CSC
Cassell.David@epa.gov
Senior computing specialist
mathematical statistician