you can try the below code and we get the below results
The initial table in this listing is the Analysis of Variance Table. The most important line to observe in this table is the “Model.” At the right of this line is the p-value for the overall ANOVA test. It is listed as “Pr > F” and is p = 0.2892. This tests the overall model to determine if there is a difference in means between visits. In this case, since the p-value is large, you can conclude that there no significance difference between visit (medications) ie. visits mean are equal. we fail to reject the null hypothesis.
proc anova data=setup;
class visit;
model count=visit;
run;
... View more