BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
rfriesdo
Calcite | Level 5
Hi there, I am a SAS novice running a mixed model using PROC glimmix, to analyze longitudinal count data (Poisson distribution, autoregressive covariance structure), and would like to produce fixed effect estimates for the continuous predictors in my model. I am working with the following code:
proc glimmix data = activedata;

class id time;

model DV = time var1 var2 var3/ dist=POISSON;

random _residual_;

random intercept var1 var2  / subject=id type=un;

random time / subject=id type=ar(1)  residual;

run;

This code runs without error and produces the expected "Type III tests of Fixed Effects" table (which gives F- and p-values), but I also need to estimate coefficients, standard errors, t- (or Wald), and p-values, as usually produced in the "Solutions for Fixed Effects" table. Any help for code that would help to produce these estimates (or why I will/should not be able to produce them) would be greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

Add option SOLUTION to the MODEL statement to get the estimates.

PG

View solution in original post

2 REPLIES 2
PGStats
Opal | Level 21

Add option SOLUTION to the MODEL statement to get the estimates.

PG
rfriesdo
Calcite | Level 5
PGSTATS, thank you for this answer! I had previously tried the “solution” option in the model statement but it did not work. I may have had an extra / in there. It seems to be working now though 🙂

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 2 replies
  • 1373 views
  • 3 likes
  • 2 in conversation