turn on suggestions

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

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Proc genmod - Response variable exponentially dist...

Topic Options

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

09-10-2009 01:07 PM

Hi everyone,

I am currently trying to fit a GLM using proc genmod and my response variable is exponentially distributed. I can't seem to find how to set this up since the exponential distribution is not among the options for dist.

If it is not possible, I would like to ask then if it's possible to fix one of the parameters of a Gamma distribution so that I can fix the response variable distyribution as Gamma(1,mean).

Does anyone have any suggestion about what to do when most of the data (supposedly continuous) has value 0?

Thank you in advance

I am currently trying to fit a GLM using proc genmod and my response variable is exponentially distributed. I can't seem to find how to set this up since the exponential distribution is not among the options for dist.

If it is not possible, I would like to ask then if it's possible to fix one of the parameters of a Gamma distribution so that I can fix the response variable distyribution as Gamma(1,mean).

Does anyone have any suggestion about what to do when most of the data (supposedly continuous) has value 0?

Thank you in advance

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

09-11-2009 04:35 PM

Perhaps you want to use the LIFEREG procedure instead of PROC GENMOD. The LIFEREG procedure allows specification on the MODEL statement that the distribution is exponential.

Dale

Dale

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

09-14-2009 03:30 PM

The exponential distribution is obtained when the scale parameter of the gamma distribution (nu in the GENMOD documentation) is 1. So, you can fit a model to exponential data by simply adding the SCALE=1 and NOSCALE options in the MODEL statement. The NOSCALE option keeps the scale parameter fixed at the SCALE=1 setting and gives you a Lagrange multiplier test of the nu=1 restriction.