I have information on 7 treatments, x, and am assessing their effects. If I have the means and standard deviations of the outcome measurement, y, along with the numbers of observations for each treatment, n, how can I calculate the sum of squares for the error and for the treatment effects?
@sasnewbie12 wrote:
I have information on 7 treatments, x, and am assessing their effects. If I have the means and standard deviations of the outcome measurement, y, along with the numbers of observations for each treatment, n, how can I calculate the sum of squares for the error and for the treatment effects?
I would run the data through PROC GLM.
I do not have the data; this is an unusual scenario.
Then you find the ANOVA formulae in some text book (or at Wikipedia) and plug in your means and standard deviations into the formulae.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.