New Contributor
Posts: 4

# Proc Genmod - Convergence

Dear all,

I have posted this thread in the "SAS procedures" forum which I believe is not the right place for this topic. I am sorry for the confusion. I am posting it here again.

I am learning to use proc genmod. I am running an analysis of quality of life data: around 400 subjects, continuous outcome and scores range from -0.24 to 1.00. The distribution of scores is strongly left skewed. My model include 1 continuous predictor and 5 indicator variables. For this reason OLS assumptions are not met. Raising the 3rd power of the scores would allow meeting regression assumptions. I also linearly transformed the distribution of scores to have only positive values with the following:

QOL1=(QOL+0.25)*100

Following is the Genmod code used for the analysis.

Proc genmod data=[data-set]
class v1 v2 v3 v4 v5
model y= cov1 v1 v2 v3 v4 v5\ dist=norm link=power(3);
run;

the model did not converge. I got the following error messages:

Warning: the specified model did not converge
Error: error in computing the inverse link function

It's odd because if I use fractional powers....the model converge: too bad that fractional powers don't do in my case.

Double odd is the fact that I ran a similar one for another QOL index (range, 0.34 to 1.00), same distributional issues, same power link but with no convergence issues.

L.
SAS Employee
Posts: 310

## Re: Proc Genmod - Convergence

Your GENMOD code probably is not doing what you expect. When you specify a link and DIST=NORMAL, GENMOD still assumes that the response itself (not transformed) is normal and then models g(y) where g(.) is the link function. If you want to transform the response to be normal and then model that
normalized response, do the transformation in a DATA step and then use a procedure (GLM, MIXED, or GENMOD with DIST=NORMAL) that models the transformed response assuming it is normally distributed. An alternative in your case would be to try a nonnormal distribution (maybe gamma) in GENMOD for your QOL1 response.
New Contributor
Posts: 4