How would I calculate the relativities basis the estimates? It shouldnt be exp(Estimates)
KSharp linked to an article that shows two different models. I assume you want the first model, which is Y = exp(a + b*X) + eps, where eps ~ N(0,sigma) iid.
title "Generalized Linear Model of Y with log link";
proc genmod data=MyData;
model y = x / dist=normal link=log;
run;
If that is not what you want, please provide more information.
Your most recent question is
> How would I calculate the relativities basis the estimates? It shouldnt be exp(Estimates)
I don't understand the question. If the model is Y = exp(a + b*X) + eps, then the procedure gives you the parameter estimates. They do not need to be transformed. If you prefer an equivalent multiplicative model, you can use the predictor exp(a)*exp(b*x).
The article shows how to transform the predicted values by applying the inverse link function.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.