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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.