This is in reference to my final project.
Just as in assignment 4, I tried to recode a variable in 3groups with recode command. After that I am trying to do a ttest with the new variable and another continuous variable but I am getting error "more than 2groups found"
"ttest bpsystol, by(diabetes_cat)"
I could run the graph bar with the same variables.
Can't we run a ttest with categorical variable with 3 or more groups?