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