BookmarkSubscribeRSS Feed
yael
Quartz | Level 8

Hello,

 

I am tring to understand the results I got. 

 

My code is:

proc ttest data=sasuser.sasfile010916;
class stage;
format stage firstgroup.;
var ROA1 ROA2 ROA3 ROA4 ROE1 ROE2 ROIC Q LNQ ;
run;

 

I copmare between the mean of group 1 to the mean of the other 3 groups mean together.

The result I got for the variable ROA1: T value = 0.06 Pr = 0.94 while F value is 2.77 pr<0.0001

According to the t value, I understand that there is not difference between group 1 to the other 3 groups together. But what is the meaning of the F value here?

 

Thanks for any clue...

 

Yael

 

2 REPLIES 2
PaigeMiller
Diamond | Level 26

It would help if we could see the results. 

--
Paige Miller
ballardw
Super User

Generally the F test is related to whether your variances are equal. The Ttest is supposed to test if the means differ given that the variances in the two groups are similar. When the variances are not then you maybe shouldn't be using a ttest. A large F value indicates that the variances may not be equal and the p-value is the probabiity they aren't equal given some other assumptions such as normality of the data.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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