Hi Ken, Somehow running sas 9.3 gives me error message as follows:
271 proc countreg data=two dist=poisson groupid=ship ;
-------
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, ABSFCONV, ABSGCONV, CORRB, COVB,
COVEST, COVOUT, DATA, DIST, FCONV, GCONV, ITPRINT, MAXITER, METHOD, NOPRINT,
OUTEST, PRINTALL, SEED, TYPE.
ERROR 76-322: Syntax error, statement will be ignored.
If change the codes as
proc countreg data=two dist=poisson;
by ship ;
then sas gives me another error message
284 proc countreg data=two dist=poisson;
285 by ship ;
286 model accident=op co_65_69 co_70_74 co_75_79/ errorcomp=random offset=lnservice;
---------
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, CORRB, COVB, COVEST, COVOUT,
DIST, ITPRINT, METHOD, NOINT, NOPRINT, OFFSET, OUTEST, PRINTALL, TYPE.
ERROR 76-322: Syntax error, statement will be ignored.
Can you take a look for me? Thanks!!
... View more