BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mthorne
Obsidian | Level 7

How would you back transform values that were a result of dist=beta link=logit?

 

ods graphics on;
proc glimmix data=nocheck method=laplace plots=studentpanel; by site;
class site trt rep;
model d3 = trt / dist=beta link=logit;
random intercept / subject=rep;
store equirate;
run;
ods graphics off;
1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

There are two scales for predictions in generalized linear models: the data scale and the linear scale. The ILINK function tells you how to transform betwen the scales.

If you use the LOGIT function for the link, then the inverse-link function is the LOGISTIC function. For details and further discussion, see "Predicted values in generalized linear models: The ILINK option in SAS."

 

View solution in original post

3 REPLIES 3
ballardw
Super User

You might specify which values.

 

Depending there are places where there are options like ILINK that computes items in terms of the data and not the link function.

Rick_SAS
SAS Super FREQ

There are two scales for predictions in generalized linear models: the data scale and the linear scale. The ILINK function tells you how to transform betwen the scales.

If you use the LOGIT function for the link, then the inverse-link function is the LOGISTIC function. For details and further discussion, see "Predicted values in generalized linear models: The ILINK option in SAS."

 

mthorne
Obsidian | Level 7

Thanks for the link to the document on Ilink options!

 

So, according to the document, the inverse of the logit is described as follows:

 

The inverse of the logit function is called the logistic function:
g-1(η) = logistic(η) = 1 / (1 + exp(-η))

 

So, using this, to back transform the estimate in Excel, I would use the following equation?: 

 

=1/((1+EXP(-estimate)))

 

This seems to make sense as the back transformed values are very similar to the raw means.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1591 views
  • 2 likes
  • 3 in conversation