Hello,
In my analysis I use proc surveyred with varmethod=brr method for the variance estimation and as soon as I declare the categorical variables as class variables I receive the note in the SAS output that states ”Matrix X'WX is singular and a generalized inverse was used to solve the normal equations. Estimates are not unique.” My categorical variables are numeric type and when I use them in the model w/o the class statement that note disappears. I noticed that in one example for this procedure the output has the same note but the estimates are still used and interpreted. PROC SURVEYREG: Variance Estimate Using the Jackknife Method :: SAS/STAT(R) 9.22 User's Guide
In this regards I have 2 questions:
Please advise. Thank you!
When your model contains a CLASS statement, then you will get this message any time you run PROC SURVEYREG with the SOLUTION option in the MODEL statement. SURVEYREG is estimating the model correctly, and the message is telling you exactly what technique is being used for the estimation.
See the following Usage Note for details:
Usage Note 22585: Why is the X'X matrix found to be singular in the PROC GLM Output?
http://support.sas.com/kb/22/585.html
The Usage Note discusses PROC GLM, but the same model parameterization is used in PROC SURVEYREG.
I hope this information is helpful.
When your model contains a CLASS statement, then you will get this message any time you run PROC SURVEYREG with the SOLUTION option in the MODEL statement. SURVEYREG is estimating the model correctly, and the message is telling you exactly what technique is being used for the estimation.
See the following Usage Note for details:
Usage Note 22585: Why is the X'X matrix found to be singular in the PROC GLM Output?
http://support.sas.com/kb/22/585.html
The Usage Note discusses PROC GLM, but the same model parameterization is used in PROC SURVEYREG.
I hope this information is helpful.
Thank you very much for your reply! I appreciate it!
Hi, I looked at the link you provided and it states "The estimates are regarded as biased or not uniquely estimable." It is sounds as contradictory to your statement that the 'SURVEYREG is estimating the model correctly" . Am I missing something? Can I use a different type of a parametrization in proc surveyreg to avoid Linear dependencies?
Dive into keynotes, announcements and breakthroughs on demand.
Explore Now →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.