When I run the following code, I get a warning message as follows:
"WARNING: The number of response pairs for estimating correlation is less
than or equal to the number of regression parameters. A simpler
correlation model might be more appropriate.
WARNING: The generalized Hessian matrix is not positive definite.
Iteration will be terminated."
NB: The program is executed normally till the end, convergence was attained, but when I tried different covariance options in the "type = AR(1)" or UN, or CS, etc., all estimates and standard errors are thesame for different covariance structures that i used. I wanted to look for the covariance structure that produces the smallest QIC value. Unfortunatell for me, all covariance structures used gave same empirical estimates and standard errors.
Also when I specify the CORRW in the repeated statement, the working correlation matrix is same for all structures of covariance verified. i.e diagonals are ones and others zeros.
Please I need your help, especially in the warning message above, and to have varying results for different covariance options used.
Thanks.
From this, I assume that timeclss has 12 levels, and that they are equally spaced. For an unstructured working covariance matrix, that means 66 parameters to estimate in the covariance matrix, plus all of the fixed effect parameters. For binary data, the folks at R-sig-ME recommend at least 10 "effective observations" per parameter, so my hunch is that after dichotomizing, you end up with a lot of blank cells, such that the repeated parts aren't being easily fit.
Have you considered PROC GEE or GLIMMIX as alternatives? I only say that because I am a lot more familiar with the errors from those procs...
Steve Denham
You should probably include your code and log for us to be able to help. We don't even know what proc you're running.
I'll also move this to the Statistical Procedures Forum.
@ngwali wrote:
Hello Reeza, the code was included in my inquiries, I guess you didnt read the message correctly
Please go via my question again, and you will find the code within the body of the text. Rem. Yresp is a binary response
There's an error message in your initial question, but no code. There is code in your latest message.
I think Ricks correct and as the message indicates, you don't have enough observations for the estimates you're trying to derive. You need to simplify your model or increase the number of observations.
It sounds like you don't have enough observations to fit the covariance structure. For example, if you have K subjects and are trying to fit an unstructured covariance model, there are K(K-1)/2 covariance parameters to be fit (plus any fixed effects). If you don't have sufficiently many observations, the model cannot be fit..
From this, I assume that timeclss has 12 levels, and that they are equally spaced. For an unstructured working covariance matrix, that means 66 parameters to estimate in the covariance matrix, plus all of the fixed effect parameters. For binary data, the folks at R-sig-ME recommend at least 10 "effective observations" per parameter, so my hunch is that after dichotomizing, you end up with a lot of blank cells, such that the repeated parts aren't being easily fit.
Have you considered PROC GEE or GLIMMIX as alternatives? I only say that because I am a lot more familiar with the errors from those procs...
Steve Denham
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.