One-way ANOVA (the power to know) [Software]

posted by d_labes  – Berlin, Germany, 2010-10-07 10:42 (5316 d 20:39 ago) – Posting: # 6014
Views: 3,566

Dear Ravi,

❝ Can any one please provide me the SAS code for performing One way Analysis of Variance with unequal no. of observations per cell.


Proc GLM data=yourdata;
  class your_factor;
  model your_Y_variable = your_factor;
run;quit;


❝ How it will differ in case of equal no. of observations per cell.


Nothing different.

But as Helmut has pointed out this code assumes equal variances within the groups according to your_factor.
Within the classical ANOVA this assumption can't avoided.
Therefore I don't know any variant of the code with Proc GLM to account for unequal variances for more then 2 groups.
In case of two groups only consider Welch t-test (part of the output of Proc ttest dealing with Satterthwaite approximation).

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,670 registered users;
98 visitors (0 registered, 98 guests [including 4 identified bots]).
Forum time: 07:22 CEST (Europe/Vienna)

There are two possible outcomes: if the result confirms the
hypothesis, then you’ve made a measurement. If the result is
contrary to the hypothesis, then you’ve made a discovery.    Enrico Fermi

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5