Date: Thu, 13 Jan 2011 18:39:28 -0200
Reply-To: Ricardo Gonçalves da Silva
<rgs.rsilva@BANCOVOTORANTIM.COM.BR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ricardo Gonçalves da Silva
<rgs.rsilva@BANCOVOTORANTIM.COM.BR>
Subject: QLIM Output Error
Content-Type: text/plain; charset="iso-8859-1"
Hi,
When I ran the code below:
PROC QLIM DATA=LIB.BANCO METHOD=TRUREG;
MODEL Z_SCORE1 = COVAR95 / NOINT;
ENDOGENOUS Z_SCORE1 ~ CENSORED(LB=0 UB=1);
OUTPUT OUT = LIB.LGD_PRED_1_1(KEEP = PRED_Z_SCORE_1_1) PREDICTED=PRED_Z_SCORE_1_1;
RUN;
I got the error:
PROC QLIM DATA=LIB.BANCO METHOD=TRUREG;
16 MODEL Z_SCORE1 = COVAR95 / NOINT;
17 ENDOGENOUS Z_SCORE1 ~ CENSORED(LB=0 UB=1);
18 OUTPUT OUT = LIB.LGD_PRED_1_1(KEEP = PRED_Z_SCORE_1_1) PREDICTED=PRED_Z_SCORE_1_1;
_
73
ERROR 73-322: Expecting an OUT.
19 RUN;
WARNING: Ignoring second data set reference.
NOTE: The previous statement has been deleted.
But according to Manual the syntax is ok!!!! The keep= is because this step is inside a macro:
PROC QLIM DATA=LIB.BANCO METHOD=TRUREG;
MODEL Z_SCORE1 = COVAR&I. / NOINT;
ENDOGENOUS Z_SCORE1 ~ CENSORED(LB=0 UB=1);
OUTPUT OUT = LIB.LGD_PRED_1_&I.(KEEP = PRED_Z_SCORE_1_&I.) PREDICTED = PRED_Z_SCORE_1_&I.;
RUN;
Any help?
Thanks
Rick
Esta mensagem e seus anexos podem conter informações confidenciais ou privilegiadas. Se você não é o destinatário dos mesmos você não está autorizado a utilizar o material para qualquer fim. Solicitamos que você apague a mensagem e avise imediatamente ao remetente. O conteúdo desta mensagem e seus anexos não representam necessariamente a opinião e a intenção da empresa, não implicando em qualquer obrigaçâo ou responsabilidade da parte da mesma.
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. The contents of this message and its attachments do not necessarily express the opinion or the intention of the company, and do not implies any legal obligation or responsibilities from this company.