BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Season
Barite | Level 11

I am trying to build a joint mean and variance model (also called double generalized linear model). This is a model that can simultaneously model the mean and variance of the dependent variable by specifying potentially different predictors for the mean and variance of the dependent variable and then maximize the joint likelihood to achieve goals like accounting for heteroscedasticity. I am not sure on what procedure(s) I should use in SAS to build such models. Any suggestions?

1 ACCEPTED SOLUTION
6 REPLIES 6
Ksharp
Super User

Here is an example for COUNT and BINARY data.

Ksharp_0-1742632716314.png

 

 

Ksharp_1-1742632751667.png

 

Season
Barite | Level 11

Thank you for your rapid help! Unfortunately, this is not I am looking for. The information you provided concerns the model that can simulataneously model two distributions while for the time being, I am looking for a model that can simulataneously model two parameters of a single distribution, namely its mean and variance.

StatDave
SAS Super FREQ

Also, for the ordinary linear regression model, you can use the HETERO statement in PROC QLIM or PROC HPQLIM in SAS/ETS to separately model the variance from the mean model. Various link functions for the variance can be specified. Also available in SAS Viya in PROC CQLIM. See the discussion of heterogeneity in the Details section of the procedure documentation.

Season
Barite | Level 11
Thank you for your additional information! But aren't PROC QLIM and PROC HPQLIM used for modeling limited dependent variables like zero-inflated data? Can they build joint mean and variance models for uncensored data?

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

Discussion stats
  • 6 replies
  • 1488 views
  • 4 likes
  • 4 in conversation