JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for ALLSTAT Archives


ALLSTAT Archives

ALLSTAT Archives


allstat@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ALLSTAT Home

ALLSTAT Home

ALLSTAT  December 2008

ALLSTAT December 2008

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Anova problem -summary

From:

"Goda, David F" <[log in to unmask]>

Reply-To:

Goda, David F

Date:

Tue, 16 Dec 2008 09:31:59 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (138 lines)

We are most grateful to Matt Coates, Isaac Dialsingh, Carl Donovan,
Richard Gerlach, Kriss Harris, Gareth Janacek, Rajeev Kumar, Chris
Lloyd, Zoann Nugent, Paul Swank, Ben Torsney and Michael Tsagris for
helpful replies, which have given the student plenty to think about over
the Christmas break.  The original question is copied below, followed by
an edited version of the replies (mainly omitting repeated mention of
Kruskal-Wallis).

Thanks and best wishes   DFG
__________________

> I'll be grateful for hints on the following, which has arisen in the
> course of a student project using real data from her industrial
> placement.  The samples are large and the distributions reasonably
> normal.
> 
> She wants to test differences between the means of several groups, but
> the group SDs vary considerably  - much more than the means and
> without any clear pattern, along the following (simplified) lines:
> 
> A	mean 10.2	SD 2.0
> B	mean 11.5	SD 0.4
> C	mean 10.4	SD 0.6
> D	mean 10.9	SD 4.5
> E	mean 10.7	SD 3.0
> 
> Obviously she cannot use standard ANOVA, which requires equal
> variances, nor is any transformation available to stabilise the
> variances. 
__________________

A general linear mixed model will allow modeling different variance for
different groups.
------
For large samples, you can just use weight least squares. To do this,
set the model up as a generalised linear model i.e. with dummies for the
6 groups, and take the weights to be the inverse sample variances. There
is an issue with the degrees of freedom of the T-test, but for large
samples the df will be large anyway, and T is close to normal.
------
Have you got SAS? If so this can be done easily in Proc Mixed.
------
What about doing pairwise two-sample t-tests without assuming equal
variances (default in minitab) and with a bonferroni or other
correction?
------
I assume you do use SPSS. First she can use non parametric test
(Kruskal-Wallis). Second she can use the Brown-Forsythe or the Welch
test, which are robust to deviations from the homoscedasticity
assumptions. These two tests come with follow-up tests as well. Check
the attached file also. Keep in mind that it is not a big problem.
------
The Welch variant is commonly used in this case (and is often an option
in an analysis package) - or you might consider some sort of bootstrap.
------
A slightly adhoc or perhaps preliminary analysis is as follows: 

Under the null of no differences (constant mean across groups) each 

xbar(i) ~ N(mu, sigma^2(i))

Estimate mu as the weighted average of each group's sample mean
(weighted by sample size in each group). Estimate sigma^2(i) by the
sample variance in each group (square the SDs you gave below). Then,
under normality, 

SUM(i=1,5)  (xbar(i) - mu)^2/sigma^2(i)   ~  Chi-squared(with 4 degrees
of freedom)

since mu was estimated using the 5 sample means.

Of course technically the df of 4 might be adjusted slightly more, since
all sample means are estimates, but if you have large sample sizes in
each group and normality, then this result should hold I guess. 

Either way, I doubt you'll find significant differences based on the
numbers you show below. 

If you want to get more technical and less artistic or adhoc :) you
could fit a hierarchical model that assumed Y(i,j) ~ N(mu(i),
sigma^2(i)) where i represents each group and j represents each
individual observation in group i. I have code to run a Bayesian MCMC
analysis of this model that can return posterior probabilities for
certain relevant hypotheses (that you may have formed before seeing the
data :)). But I'm sure some software must run a frequentist analysis of
this hierarchical model if that's what you wish for.
------
Try a nonparametric test for rquality of medians. 
------
Have you thought of using a non-parametric test such as Kruskal-Wallis
ANOVA or a Median Test?  

If the variability is itself of interest, you could test for differences
in in variance using Bartlett's test or something similar.

Just one other thought ... Is it possible that there are other factors
varying within the groups that might be causing the different variances?
If so, adjusting for these might just take away the problem.
------
As per my knowledge If the variance are unequal, the F-test for equality
of mean for fixed fixed is only slightly effected if the sample size of
all groups are equal. If the sample size among groups are equal than
F-test can be used and after that for post hoc pairwise comparison you
can apply the unequal variance test like Tamhame's, Dunnett's, Gamer
Howell. These test are available at the SPSS-13.


> -----------------------------
> David Goda
> SCIT, Univ. of Wolverhampton        Phone (01902)321444
> Wulfruna Street                            Email [log in to unmask]
> Wolverhampton  WV1 1SB
> 
> This email, together with any attachment, is for the exclusive and
> confidential use of the addressee(s) and may contain legally
> privileged information.  Any use, disclosure or reproduction without
> the sender's explicit consent is unauthorised and may be unlawful.
> 
> Any e-mail including its content and any attachments may be monitored
> and used by The University of Wolverhampton for reasons of security
> and for monitoring internal compliance with the University's policy on
> internet use. E-mail blocking software may also be used.  The
> University cannot guarantee that this message or any attachment is
> virus free or has not been intercepted and amended.
> 
> If you believe you have received this message in error please notify
> the sender by email, telephone or fax and destroy the message and any
> copies.
> 
> 
> 
>  
> 

-- 
Scanned by iCritical.

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager