Sign In
New User? Register
Statisticians_group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can set the sort order of messages? Just click on the link in the date column. Your preferences will be remembered, so you don't have to do it again when you return.

Messages

  Messages Help
Advanced
SAS question   Message List  
Reply | Forward Message #2000 of 4093 |
Re: SAS question


Hi Harish

For this you have to use ods output statement. In the following
example dataset ONE is generated which contians parameter estimaes
along with their p values.

data abc;
input y x z;
cards;
1 25 69
2 30 89
3 40 91
4 35 67
5 32 98
6 41 62
7 19 101
;
run;

ods output parameterestimates=one;
proc reg data=abc outest=abc1;
model y=x z;
run;
quit;

Hope this helps.

Thanks and Regards
MADAN GOPAL KUNDU
--- In Statisticians_group@..., Harish Mohan
<zeusherm@...> wrote:
>
> Hi All,
> I need help with a SAS question.
> I run a proc reg to run a linear regression model and use the
outest= option to output the modeling coefficients to a sas dataset.
However, I would also like to somehow output the p-values of the
various variables in the model to the output dataset, so that I know
which variables are significant.
> Is there any way to do this?
> Thanks for your help,
> Regards
> Harish
>
>
>
> __________________________________________________________
> Yahoo! India Answers: Share what you know. Learn something new
> http://in.answers.yahoo.com/
>





Tue Mar 6, 2007 4:56 am

madan4331
Offline Offline
Send Email Send Email

Forward
Message #2000 of 4093 |
Expand Messages Author Sort by Date

Hi All, I need help with a SAS question. I run a proc reg to run a linear regression model and use the outest= option to output the modeling coefficients to a...
Harish Mohan
zeusherm
Offline Send Email
Mar 5, 2007
7:21 pm

Hi Harish For this you have to use ods output statement. In the following example dataset ONE is generated which contians parameter estimaes along with their p...
Madan Gopal Kundu
madan4331
Offline Send Email
Mar 6, 2007
4:57 am

Thanks very much Madan. That worked ... From: Madan Gopal Kundu <madan4331@...> To: Statisticians_group@... Sent: Monday, 5 March, 2007...
Harish Mohan
zeusherm
Offline Send Email
Mar 7, 2007
2:48 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help