BookmarkSubscribeRSS Feed
Kastchei
Pyrite | Level 9

Is it possible to produce likelihood ratio test (LRT) statistics for the pairwise comparisons with the LSMeans statement rather than Wald statistics?

My model has two variables, one has 3 levels and the other only 2.  I noticed that analysis of the variable with only 2 levels resulted in differing conclusions.  Using the Type 3 LRT, the p-value is 0.0355.  Using the LSMeans Wald (or the Type 3 Wald), I only get 0.1250.  Clearly, the LRT is a bit more powerful in this circumstance, and I can just use that p-value.  That makes me worry about my other variable though, the one with 3 levels.  To do my pairwise comparisons, it looks like GENMOD can only do a Wald test.  Is it possible to get a LRT?  I'd like the extra power.

Thanks!

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
  • 0 replies
  • 1244 views
  • 0 likes
  • 1 in conversation