Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

How Do I Produce Relativity Graphs for GLMs in Enterprise Miner?

Reply
New Contributor
Posts: 2

How Do I Produce Relativity Graphs for GLMs in Enterprise Miner?

I'm working on a binomial logit model in Enterprise Miner and, for each variable, I would really like a graph showing the relativities (as a decimal or percent) of each level compared to the base level. Is there anything built into EM to get this type of graph? This is not a simple graph comparing each level's correlation with the binary target or log odds with that of the base level; I want to be sure that the relativities shown are true relativities, i.e. they satisfy the "all other things equal" assumption so that the effects of all other variables are controlled for (or essentially set to the base levels). I've attached an example of what I'm looking for.  Any help will be greatly appreciated.

 

--V.S.

 

 


relativities.png
SAS Super FREQ
Posts: 306

Re: How Do I Produce Relativity Graphs for GLMs in Enterprise Miner?

Relativity plots can be created in the HP GLM node, but only when these criteria are met:

-

    • %let HPDM_HPGLM_RELATIVITY=Y; has been run in the Project Start Code prior to running the node
    • The Link Function is Log (I haven't seen relativity plots when a Logit link function is used, but possibly it is do-able?)
    • A distribution other than Zero-Inflated Poisson or Zero-Inflated Negative Binomial is used
Ask a Question
Discussion stats
  • 1 reply
  • 136 views
  • 0 likes
  • 2 in conversation