Dear all,
When I execute the code below, I am having the following warning message:
WARNING: The relative Hessian convergence criterion of 0.2919725428 is greater than the limit
of 0.0001. The convergence is questionable.
WARNING: The procedure is continuing but the validity of the model fit is questionable.
However, if I show the content of the variable SYSERR, it is equal to 0 instead of 4, as indicated in sas documentation:
SYSERR can contain the following values:
Value Description
0 Execution completed successfully and without warning messages.
1 Execution was canceled by a user with a RUN CANCEL statement.
2 Execution was canceled by a user with an ATTN or BREAK command.
3 An error in a program run in batch or non-interactive mode caused SAS to enter syntax-check mode.
4 Execution completed successfully but with warning messages.
[...]
************************************************
data sim_data;
call streaminit(17427);
do k = 1 to 200;
x = 'pl';
y = rand('NEGBINOMIAL', 0.80, 1);
output;
end;
do k = 1 to 200;
x = 'tx';
y = rand('NEGBINOMIAL', 0.85, 1);
output;
end;
run;
proc genmod data=sim_data;
class x (param=ref ref='pl');
model y = x / dist=NEGBIN ;
lsmeans x;
run;
%put &syserr;
Any idea??