Date: Mon, 9 Feb 2004 10:07:03 -0500
Reply-To: Paul Kononoff <pjk2@MAPLE.UNH.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paul Kononoff <pjk2@MAPLE.UNH.EDU>
Subject: invocation of GLIMMIX ??
Hello all,
Excuse me if this is a trivial question. I am not a SAS programmer but find
the direction I receive from this list on some of my code very helpful.
My current query is as follows. I am trying to run the GLIMMIX macro to
evaluate some categorical data. It appears that I can't invoke the macro
itself and I can't seem to understand why. My code and resulting log can be
found below.
Does anyone know if GLIMMIX would be much different that evaluating the data
using MLwiN and STATA? The SAS-L archive lists a similar question but it
didn't appear to "invoke" a response!
Thanks in Advance. Your help and advice is always much appreciated!
PJK
CODE:
OPTIONS PS=60 LS=80;
DATA test;
INFILE 'c:\GLIMMIX\test.dat' LRECL=1000;
INPUT CASE GT $ SEX $ KLOT CARWT YG QG $ QGDET $;
RUN;
%glimmix(data=test,
procopt=order=data,
stmts=%str(
class type GT YG KLOT;
model QG = GT YG / solution;
random KLOT;
),
error=poisson,
link=log,
offset=service
)
run;
THE RESULTING LOG:
WARNING: Apparent invocation of macro GLIMMIX not resolved.
39
NOTE: SCL source line.
40 %glimmix(data=a,
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order.