BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DonH
Lapis Lazuli | Level 10

I have a client/user who wants me to automate some analytical code done (by someone else) a few years ago. One of the tests that it does is equality of the variance in two groups. The current code uses the Equality ODS output table to get the needed stats (numerator and denominator degrees of freedom, the F statistic and the P-Value).

They've asked me to confirm that the test is Levene's test. I have not been able to find any documentation on what the actual test is. I did see discussion that PROC GLM can be used to get Levene's test.

So I have a two-part question:

- is the TTEST Equality output using Levene's test?
- if not, what test is it using?

TIA, for any input/advice.
DonH

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

PROC TTEST uses a folded F-test to test the equality of variances.

 

You would need PROC GLM to get Levene's test.

--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

PROC TTEST uses a folded F-test to test the equality of variances.

 

You would need PROC GLM to get Levene's test.

--
Paige Miller
DonH
Lapis Lazuli | Level 10

Thx Paige. That make perfect sense. I noticed the output data set made reference to a folded F, but my stat skills are pretty rusty and did not realize what that meant,.

 

Thx again!

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
  • 2560 views
  • 1 like
  • 2 in conversation