| Date: | Wed, 16 Feb 2005 22:48:20 +0100 |
| Reply-To: | Datametric <datametric@CLUB-INTERNET.FR> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Datametric <datametric@CLUB-INTERNET.FR> |
| Subject: | RE : Outputs of a regression as a SAS table |
|
| In-Reply-To: | <20050216144610.79285.qmail@web26401.mail.ukl.yahoo.com> |
| Content-Type: | text/plain; charset="iso-8859-1" |
Hello,
Take this :
title 'Regression With Quantitative and Qualitative Variables';
data insurance;
input time size type @@;
sizetype=size*type;
datalines;
17 151 0 26 92 0 21 175 0 30 31 0 22 104 0
0 277 0 12 210 0 19 120 0 4 290 0 16 238 0
28 164 1 15 272 1 11 295 1 38 68 1 31 85 1
21 224 1 20 166 1 13 305 1 30 124 1 14 246 1
;
run;
ods select fitstatistics ParameterEstimates;
ods output fitstatistics =fit;
ods output ParameterEstimates=estimates;
proc reg data=insurance;
model time = size type sizetype;
run;
quit;
ods select all;
Et regarde dans la work.
Stéphane.
-----Message d'origine-----
De : SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] De la part de adel F.
Envoyé : mercredi 16 février 2005 15:46
À : SAS-L@LISTSERV.UGA.EDU
Objet : Outputs of a regression as a SAS table
Hello,
Could you advise on the following
I consider this syntax for regression
proc reg data=mydat outest=est_para;
model DVar= IND1 IND2 IND3;
weight TOT;
by GP;
run;
I would like to have as output in est_para for each value for GP, parameters
of IND1 IND2 IND3, the equivalent standard error, the P value, and The R
squred, The R squred adjusted
With my syntax I have the parameters estimates in the table est_para but not
the standard error nor the p value
Thanks
Adel
---------------------------------
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos
mails ! Créez votre Yahoo! Mail
|