Ravi
★    

India,
2010-10-06 16:17
(5312 d 16:29 ago)

Posting: # 6010
Views: 4,478
 

 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
(5312 d 15:55 ago)

@ Ravi
Posting: # 6011
Views: 3,521
 

 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
(5311 d 22:03 ago)

@ Ravi
Posting: # 6014
Views: 3,558
 

 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,424 posts in 4,927 threads, 1,671 registered users;
25 visitors (0 registered, 25 guests [including 7 identified bots]).
Forum time: 08:46 CEST (Europe/Vienna)

The difference between a surrogate and a true endpoint
is like the difference between a cheque and cash.
You can get the cheque earlier but then,
of course, it might bounce.    Stephen Senn

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