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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1460 views
  • 0 likes
  • 2 in conversation