BookmarkSubscribeRSS Feed
deleted_user
Not applicable
All,
I am trying to perform a regression analysis with spatially repeated data, i.e., multiple samples collected from multiple sites. I have been trying to do this in the proc mixed framework so that I am calculating the appropriate standard errors and probability statistics, but I am unsure if a regression model with a random statement (the site term) is correct? I get different parameter estimates than in the straight regression analysis and this give me pause.

Any thoughts?
4 REPLIES 4
deleted_user
Not applicable
Hi Gillett,

When you use PROC MIXED for hierarchical regression model, the parameters are estimated by using Residual Maximum Likelihood method by default. If I understood your question correctly, you are trying to use Random statement in proc mixed and the output from this model is different from individual regression model which uses OLS method for estimating the parameters. Moreover OLS method assumes errors are independent and hence there is no point in comparing the two different model outputs. For more details, you can refer SAS help & SAS documentation on PROC MIXED. I hope this would be helpful to you.

Regards,
Suresh.
deleted_user
Not applicable
Thanks for the reply. I went back in and was looking at how the estimates are calculated in the mixed vs. fixed linear models and it makes sense, as you noted, that the parameter estimates for the model are different. I was also having a problem convincing myself that the proc mixed framework was appropriate for regression, as all of the examples and literature I've been working with (Littell et al. for mixed and linear models) have strictly dealt with ANOVA/ANCOVA type analyses. I have come around to thinking that using the mixed model is indeed best for dealing with the way these data were collected.
deleted_user
Not applicable
option solution or s gives the regression coefficients in proc mixed.

does anyone has any suggestion can we do mixed effect stepwise regression with proc mixed or any other procedure
Doc_Duke
Rhodochrosite | Level 12
I do it manually for backward elimination. It's old fashioned, but it works.

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 Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 778 views
  • 0 likes
  • 2 in conversation