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?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1609 views
  • 4 likes
  • 4 in conversation