```Date: Fri, 27 Apr 2001 11:15:53 GMT Reply-To: Tzachi Zach Sender: "SAS(r) Discussion" From: Tzachi Zach Organization: Time Warner Road Runner - Rochester NY Subject: Re: How do you extract parameter estimates Content-Type: multipart/alternative; This is a multi-part message in MIME format. ------=_NextPart_000_0040_01C0CFB3.92FB1D00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Use the outest=3D option. The output command is used for other = purposes.=20 proc reg data=3Dyy outest=3Dparms; model: hfjfkdl the data set parms will contain your parameter estimates. try playing = around with it. Tzachi=20 Talal AlGhamdi wrote in message = news:vQ1G6.495\$e85.68966@typhoon.ne.mediaone.net... Sorry here's the output again: Analysis of Variance Sum of Mean Source DF Squares Square F = Value Prob>F Model 5 283.33694 56.66739 = 20.994 0.0001 Error 38 102.57216 2.69927 C Total 43 385.90909 Root MSE 1.64294 R-square 0.7342 Dep Mean 37.95455 Adj R-sq 0.6992 C.V. 4.32872 Parameter Estimates Parameter Standard T for H0: Variable DF Estimate Error = Parameter=3D0 Prob > |T| INTERCEP 1 -8400.537970 2299.5805690 -3.653 = 0.0008 X 1 142.552212 87.15304663 1.636 = 0.1102 Y 1 -154.650901 35.02196659 -4.416 = 0.0001 C 1 -0.398155 0.70275243 -0.567 = 0.5743 D 1 -0.621896 0.22873635 -2.719 = 0.0098 E 1 1.572934 0.44123113 3.565 = 0.0010 I got this output using PROC REG. =20 But I need to able extract the Parameter estimates (i.e., the numbers: -8400.537970, 142.552212, -154.650901 ...ect) for each = variable. these values should be used in further calcualtions. For example, = suppose that the number 142.552212 is put in A01, to be used in the equation = Ax =3D A01* x. I've tried it by using the OUTPUT OUT=3D option, but it = seems to be not working. perhaps, there's another way. =20 Thanks ! -Tal- =20 =20 =20 ------=_NextPart_000_0040_01C0CFB3.92FB1D00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Use the outest=3D  option. The = output command is=20 used for other purposes.

proc reg data=3Dyy  = outest=3Dparms;
model: hfjfkdl

the data set parms will contain your = parameter=20 estimates. try playing around with it.

Tzachi
Talal AlGhamdi <alghamdi_talal@hotmail.com= >=20 wrote in message news:vQ1G6.495\$= e85.68966@typhoon.ne.mediaone.net...
Sorry here's the output=20 = again:

= ;            =             &= nbsp;      =20 Analysis of=20 = Variance

&nb= sp;           &nbs= p;            = ;        =20 Sum of        =20 = Mean
= ;      =20 Source         =20 DF      = Squares      =20 Square      F=20 Value      =20 = Prob>F

&n= bsp;       =20 = Model           =20 5    283.33694    =20 56.66739      =20 20.994      =20 = 0.0001
&nb= sp;      =20 Error          =20 38    102.57216     =20 = 2.69927
&n= bsp;      =20 C Total         = 43   =20 = 385.90909

&n= bsp;           =20 Root MSE       = 1.64294    =20 R-square      =20 = 0.7342
&nb= sp;          =20 Dep Mean      = 37.95455     Adj=20 R-sq      =20 = 0.6992
&nb= sp;          =20 C.V.          =20 = 4.32872

&nbs= p;            = ;            =      =20 Parameter=20 = Estimates

&n= bsp;           &nb= sp;          =20 Parameter      Standard    T = for=20 = H0:
=     =20 Variable  DF     =20 Estimate         = Error  =20 Parameter=3D0    Prob >=20 = |T|

&n= bsp;    =20 INTERCEP   1  -8400.537970 =20 2299.5805690       =20 -3.653       =20 = 0.0008
&nb= sp;    =20 X          = 1   =20 142.552212  =20 87.15304663        =20 1.636       =20 = 0.1102
&nb= sp;    =20 Y          1  =20 -154.650901   = 35.02196659       =20 -4.416       =20 = 0.0001
&nb= sp;    =20 C         =20 1     -0.398155   =20 0.70275243       =20 -0.567       =20 = 0.5743
&nb= sp;    =20 D         =20 1     -0.621896   =20 0.22873635       =20 -2.719       =20 = 0.0098
&nb= sp;    =20 E         =20 1      1.572934   =20 0.44123113        =20 3.565       =20 0.0010

I got this output using PROC=20 REG.

But I need to able extract the Parameter = estimates=20 (i.e., the
numbers: -8400.537970, 142.552212, -154.650901 = ...ect) for=20 each variable.
these values should be used in further = calcualtions.=20 For example, suppose
that the number 142.552212 is put in = A01, to be=20 used in the equation Ax =3D
A01* x. I've tried it by using = the OUTPUT=20 OUT=3D  option, but it seems to be
not working. perhaps, = there's=20 another way.

Thanks=20 !
-Tal-

=20 ------=_NextPart_000_0040_01C0CFB3.92FB1D00-- ```

Back to: Top of message | Previous page | Main SAS-L page