SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
ANKH1
Pyrite | Level 9
proc glimmix data=mydata;
class myclass mygroup myid;
model count_response = mycovariate myclass / dist=poisson link=log offset=log_time;
random intercept / subject=myid;
random intercept /
run;

We would like to view the estimates in the original scale by exponentiating them. One way is the following:

data exp_estimates;
set estimates;
exp_estimate = exp(parameter_estimate);
run;

But I was wondering if an statement can be added directly in proc glimmix.

6 REPLIES 6
PaigeMiller
Diamond | Level 26

Estimates of what?

--
Paige Miller
PaigeMiller
Diamond | Level 26

The model coefficients are based upon the appropriate model form for a Poisson model. I don't know what it means to ask for these on "the original scale".

--
Paige Miller
ANKH1
Pyrite | Level 9

estimates are in log form from the poisson. For interpretation purposes, it is easier to interpret the estimates as counts and not log counts.

PaigeMiller
Diamond | Level 26

@ANKH1 wrote:

estimates are in log form from the poisson. For interpretation purposes, it is easier to interpret the estimates as counts and not log counts.


Do you mean "predicted values"?

--
Paige Miller
ANKH1
Pyrite | Level 9
Estimates from the results table called "Solutions for Fixed Effects"

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 1037 views
  • 0 likes
  • 2 in conversation