BookmarkSubscribeRSS Feed
AnalytX
Fluorite | Level 6

Hi everybody,

How can we obtain using PROC MIXED the "Tests of Hypotheses for Mixed Model Analysis of Variance" table like the one which is obtained using PROC GLM (TEST option in RANDOM statement)? We have by default only the "Type 3 Tests of Fixed Effects".

Thanking you in advance for your answers.

Best

3 REPLIES 3
Funda_SAS
SAS Employee

To get variance component estimates use COVTEST option of the PROC MIXED statement: SAS/STAT(R) 13.1 User's Guide

proc mixed data=yourdata covtest;

Note that COVTEST option produces the asymptotic standard errors and Wald Z-tests for the covariance parameter estimates.

Hope this woud be helpful.

Funda

SteveDenham
Jade | Level 19

You cannot get tests like those as GLM depends on partitioning sums of squares and expected mean squares for its tests using random effects.  MIXED uses a (RE)ML method to construct quadratic forms that depend on maximizing the likelihood of the observed values, given the fixed effects of the model and conditional on the random effect estimates. 's response will help if you are interested in the covariance parameter estimates only.  The Wald tests of significance for the parameters are woefully inadequate in most cases due to lack of sample size.  If you have sufficient data, using PROC GLIMMIX with Gauss-Hermitian quadrature methods will improve the accuracy of the estimates and the (still) asymptotic errors.

Steve Denham

AnalytX
Fluorite | Level 6

Thanks a lot Funda and Steve for your answers!

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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