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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.