Hello guys,
I wrote a code for my data analysis as shown below:
%include 'C:\Users\erhun\Downloads\Thesis\Literature Review\Method\danda.sas'
PROC IMPORT DATAFILE= "C:\Users\erhun\Downloads\Thesis\Literature Review\Method\Roots.xlsx"
OUT= Roots DBMS=XLSX REPLACE;
SHEET= 'Roots';
Run;
PROC SORT DATA= Roots;
By Rep Ksource Krate;
Run;
PROC Glimmix DATA= Roots
CLASS Ksource Krate;
MODEL RLD=Ksource Krate;
Random intercept/subject=Rep;
title1 "Root length density"; Run;
And I am getting this error statement:
33
NOTE: PROCEDURE GLIMMIX used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: The SAS System stopped processing this step because of errors.
34 PROC Glimmix DATA= Roots
35 CLASS Ksource Krate;
-----
22
202
ERROR 22-322: Syntax error, expecting one of the following: ;, (, ABSPCONV, ASYCORR, ASYCOV,
CF, CHOL, CHOLESKY, DATA, EMP, EMPIRICAL, EPSILON, EXPHESSIAN, FDIGITS, FLOW,
GRADIENT, H, HESS, HESSIAN, IC, INFOCRIT, INITGLM, INITITER, ITDETAIL, ITDETAILS,
LIST, LOGNOTE, MAXLMMUPDATE, MAXOPT, METHOD, NAMELEN, NOBSDETAIL, NOBSDETAILS,
NOCLPRINT, NOFIT, NOINITGLM, NOITPRINT, NOPROFILE, NOREML, NOSTARTGLM, NOTHREADS,
ODDSRATIO, ODDSRATIOS, OR, ORDER, OUTDESIGN, PCONV, PLOT, PLOTS, PRINT, PRINTALL,
PROFILE, ROOT, SCOREMOD, SCORING, SINGCHOL, SINGRES, SINGULAR, SPARSITY,
STARTGLM, SUBGRAD, SUBGRADIENT, TRACE.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
36 MODEL RLD=Ksource Krate;
37 Random intercept/subject=Rep;
38 title1 "Root length density"; Run;
Please, what am I doing wrong? I am new to SAS programming.
Thank you