- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In Proc Logistic we can add 'Units" statement to change the unit of the explanatory variable. Is there any equivalent statement in Proc Genmod procedure?
Instead of one unit change in the covariate "X1" I need 5 units change in "X1".
X1 and X1 are continuous.
Example:
proc genmod data=example DESCENDING;
model epid = x1 x2 female race;
estimate "X1" X1 1 / exp;
run;
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
There is no UNITS statement per se, but you can use the unit of change of the coefficient on the ESTIMATE statement.
estimate "X1-5 unit change" X1 5 / exp;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In that same vein, is there a way to use the ESTIMATE function to output the estimate for a 1 standard deviation change of that independent variable?
For example,
proc genmod data= test;
model bloodpressure= X1 age sex /link=identity dist=normal;
estimate "X1- 1 SD change" X1 1*SD?;
run;
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you need to automate you could simply run a Proc MEANS prior to running LOGISTIC and save the standard deviation to a MACRO variable.