Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Covariance Estimates when Fitting Generalized Linear Mixed Model

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 08-20-2018 02:43 PM
(1532 views)

I noticed there are something wrong with covariance estimates when fitting Generalized Linear Mixed Model, as it is shown below:

The model is a multinomial generalized mixed model, where the outcome is a 4-level categorical variable and all the predictors are continuous.

The SAS codes are as attached.

Can you suggest any way to fix the problem?

Thank you!

5 REPLIES 5

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

What is wrong with the results?

--

Paige Miller

Paige Miller

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

One estimate is 0, the other one is extremely small. And their standard error are both missing.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

What makes a zero wrong? Those could be (and probably are) the correct calculations.

--

Paige Miller

Paige Miller

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Hi Paige,

The model I am trying to fit is a categorical mixed model, where the outcome is a 4-level categorical variable. **This means there should only be 3 rows of estimate in the covariance output, but there are 4 rows instead, which is not what I expected since one level should be used as reference. **

I have attached the modified syntax if you are interested to run. The data is attached in the next post.

Best,

Bin

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

@binfang wrote:

This means there should only be 3 rows of estimate in the covariance output, but there are 4 rows instead, which is not what I expected since one level should be used as reference.

I don't think this is correct, I think there are covariance estimates for every level of your 4-level categorical variable. But honestly, it has been a very long time since I did PROC GLIMMIX with DIST=MULTINOMIAL. Maybe someone knows.

--

Paige Miller

Paige Miller

Are you ready for the spotlight? We're accepting content ideas for **SAS Innovate 2025** to be held May 6-9 in Orlando, FL. The call is **open **until September 25. Read more here about **why** you should contribute and **what is in it** for you!

What is ANOVA?

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.