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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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