04-20-2016 10:30 PM
I have a problem that I would to to do ttest but the log showed me that "The CLASS variable has more than two levels"
proc ttest data=work.two;
title 'TTest 1 - Calculating TTEST for IN_1_AMT AR';
please help for this problem
04-23-2016 07:23 AM
Correct as Rezza has mentioned you need to perform ANOVA test in case you have more than 2 class variables.
Also please see if ur observations are less than 30 or else you need to use Z test <this scenario is applicable only when we you have 2 class variables else ANOVA is the solution>.