BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1581 views
  • 0 likes
  • 2 in conversation