Programming the statistical procedures from SAS

help in Log error

Reply
N/A
Posts: 0

help in Log error

kindly help me in Log Error:-


libname sc 'c:\Sas';
proc reg data=sc.sales;
Model Score=Processor Memory Disk Video Battery / selection=stepwise sle=.05
sld=.05;
plot student.*(Processor Memory Disk Video Battery);
plot student.*predicted.cookd.*obs.;
plot npp.*residual.;
run;
quit;


log is :-

360 sld=.05;
---
22
76
NOTE: The previous statement has been deleted.
ERROR 22-322: Syntax error, expecting one of the following: ;, ACOV, ACOVMETHOD, ADJRSQ, AIC, ALL,
ALPHA, B, BEST, BIC, CIC, CLB, CLI, CLM, COLLIN, COLLINOINT, CORRB, COVB, CP, DETAILS,
DW, DWPROB, EDF, GMSEP, GROUPNAMES, HCC, HCCMETHOD, I, INCLUDE, INFLUENCE, JP, LACKFIT,
MAXSTEP, METHOD, MSE, NOINT, NOPRINT, OUTSEB, OUTSTB, OUTVIF, P, PARTIAL, PARTIALDATA,
PC, PCOMIT, PCORR1, PCORR2, PRESS, R, RIDGE, RMSE, RSQUARE, RXY, SBC, SCORR1, SCORR2,
SELECT, SELECTION, SEQB, SIGMA, SINGULAR, SLENTRY, SLSTAY, SP, SPEC, SS1, SS2, SSE,
START, STB, STOP, TOL, VIF, WHITE, XPX.
ERROR 76-322: Syntax error, statement will be ignored.
361 plot student.*(Processor Memory Disk Video Battery);
362 plot student.*predicted.cookd.*obs.;
----------------
22
76
NOTE: The previous statement has been deleted.
ERROR 22-322: Syntax error, expecting one of the following: a name, (, ADJRSQ., AIC., BIC., COOKD.,
COVRATIO., CP., DFBETAS., DFFITS., EDF., GMSEP., H., IN., JP., L95., L95M., LCL.,
LCLM., MSE., NP., NPP., NQQ., OBS., P., PC., PRED., PREDICTED., PRESS., R., RESIDUAL.,
RMSE., RSQ., RSTUDENT., SBC., SP., SSE., STDI., STDP., STDR., STUDENT., U95., U95M.,
UCL., UCLM..
ERROR 76-322: Syntax error, statement will be ignored.
363 plot npp.*residual.;
364 run;

kind regards ,
mark
Super Contributor
Super Contributor
Posts: 3,174

Re: help in Log error

Syntax check with MODEL statement - there is no keyword named SLD= as defined in the SAS DOC for PROC REG.

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/statug_reg_sect013.htm

Scott Barry
SBBWorks, Inc.
Ask a Question
Discussion stats
  • 1 reply
  • 172 views
  • 0 likes
  • 2 in conversation