Ravi
★    

India,
2010-10-06 16:17
(5730 d 04:57 ago)

Posting: # 6010
Views: 5,579
 

 One-way AOV (SAS Code) [Software]

Dear All,

Can any one please provide me the SAS code for performing One way Analysis of Variance with unequal no. of observations per cell. How it will differ in case of equal no. of observations per cell.

Waiting for the reply.


Edit: Category and subject line changed. [Helmut]

Thanks & Regards
Ravi Pandey
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2010-10-06 16:50
(5730 d 04:23 ago)

@ Ravi
Posting: # 6011
Views: 4,451
 

 Unequal variances!

Dear Ravi,

I’m not gifted with [image], but it’s important not to assume equal variances (i.e., use Satterthwaite’s degrees of freedom). See also this post.

[image]



Celebrating login #3000 today.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
d_labes
★★★

Berlin, Germany,
2010-10-07 10:42
(5729 d 10:31 ago)

@ Ravi
Posting: # 6014
Views: 4,439
 

 One-way ANOVA (the power to know)

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
UA Flag
Activity
 Admin contact
23,653 posts in 4,991 threads, 1,570 registered users;
101 visitors (0 registered, 101 guests [including 17 identified bots]).
Forum time: 21:14 CEST (Europe/Vienna)

I have never in my life learned anything
from any man who agreed with me.    Dudley Field Malone

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