Displaying 20 results from an estimated 2000 matches similar to: ""Justify" PCA? -- was: Bartlett's Test of Sphericity"
2011 Jun 17
4
Bartlett's Test of Sphericity
Hello Dear R user,
I want to conduct a Principal components analysis and I need to run two
tests to check whether I can do it or not. I found how to run the KMO
test, however i cannot find an R fonction for the Bartlett's test of
sphericity. Does somebody know if it exists?
Thanks for your help!
Thibault
[[alternative HTML version deleted]]
2009 Dec 01
0
GLM Repeated measures test of assumptions: e.g. test for sphericity e.g. Bartletts and Levenes homogenous variances
Hello and thanks in advance
I am running a glm in R the code is as follows with residual diagnostic code
below
model4<-glm(Biomass~(Treatment+Time+Site)^2, data=bobB,
family=quasi(link="log", variance="mu"))
par(mfrow=c(2,2))
plot(model2)
to test the effect of grazing exclusion of feral horses for a Phd with
following factors:
Treatment - 3 levels which are grazed
2009 Oct 22
2
melting columns
Hello,
I'm using R to run a acoustic analysis software called Seewave. I ask the code to extract a list of variables from my recording, and the program give ONE table for each of these. The tables consist of a two column data.frame with the time in column 1 and the frequency in column 2. However, for my purpose I need only one column with the time first and the frequency second. I tried
2009 Jan 24
1
fonction PLATEAU???
Hello,
I am working on extracting data from sound recording (fee bee song of the black-capped chickadee). I obtained a two column matrix with x=time(s) and y=frequency(khz). The part of the recording that is interesting me is when the frequency is stable. Does somebody ever used a fonction that extract only constant data among a huge list of data (sample= 180000)?
Thanks
Thibault Grava
2004 Jun 23
1
Sphericity test
Hi R-users
Does anybody know if there are functions or packages in R for sphericity
tests like Bartlett's or Mauchly's?
Thanks!
__________________________________________________________
Eng. Agr., M.Sc. Eduardo Dutra de Armas
__________________________________________________________
Centro de Energia Nuclear na Agricultura (CENA/USP)
Laboratório de Ecotoxicologia
Av.Centenário 303,
2003 Dec 05
0
simple sphericity test using bartlett and cov?
Hey,
Is this right for a sphericity test?
x <- mymatrix
mycov <- cov(x)
bartlett.text (array (mycov), myconditions)
2011 Sep 25
1
Handling Missing Data
Here is my problem: I have saved ten variables as an R binary file (using save). Now, when I load the file (using load), I have access to each of the variables individually (as objects), but not to all ten variables as a set. The reason this is important is that I want to clean the data of all cases with missing values before doing my analyses, and I can't see a way to do this without
2009 Sep 30
1
How to calculate KMO?
Hi All,
How do i calculate KMO for a dataset?
*Dataset:---------------------*
m1 m2 m3 m4 m5 m6 m7 m8
1 2 20 20 2 1 4 14 12
2 9 16 3 5 2 5 5 15
3 18 18 18 13 17 9 2 4
4 7 7 2 12 2 11 11 11
5 7 8 5 19 5 2 20 18
6 7 4 7 4 7 9 3 3
7 5 5 5 12 5 13 13 12
8 6 6 4 3 5 17 17 16
9 12 12 4 2 4 4 14 14
10 5 14
2005 Nov 22
1
SPSS-like factor analysis procedure
I've read through many postings about principle component analysis in
the R-help archives, but haven't been able to piece together the
information I need. I'd like to recreate an SPSS-like experience of
factor analysis using R. Here's what SPSS produces:
1. Scatterplots of all possible variable pairs, with regression lines.
xyplot(my.dataframe) is perfect but for the lack of
2005 Dec 07
1
KMO sampling adequacy and SPSS -- partial solution
Dear colleagues,
I've been searching for information on the Kaiser-Meyer-Olkin (KMO)
Measure of Sampling Adequacy (MSA). This statistic is generated in
SPSS and is often used to determine if a dataset is "appropriate" for
factor analysis -- it's true utility seems quite low, but it seems to
come up in stats classes a lot. It did in mine, and a glance through
the R-help
2007 Nov 14
2
Help with Bartlett's test on linear model
Hi all,
I would like to test the homoegeneity of variances between several
linear model for some analysis of covariance. It seems that the
Bartlett's test is a good test to use but I am having problem using with
linear model and I cannot find any examples on the internet. There are
some examples for comparisons of variances but not linear models.
If I take the hellung data set, which is
2003 Dec 13
0
sphericity calculation (more formulas?)
I believe that the following function is a good function for eyeballing
sphericity. But, I can't find functions for tests anywhere (g-g or
h-f). Anyone who wants to can feel free to use it.
It is bad that R does not provide any tests for sphericity AND cannot
do a MANOVA on repeated measures (although lme is an alternative add on
package). One of these solutions must be provided in the
2006 Mar 20
1
does lme repeated measures require sphericity?
I haven't been able to find an answer on this that's direct, only
implied. In several places I have read that when people asked for
sphericity tests they were guided toward lme or mlm models. But,
there is no direct indication that the lme method is not subject to
the sphericity assumption. In fact, it seems like it should be. Its
just a linear model that handles random and
2007 Aug 21
2
Sphericity test in R for repeated measures ANOVA
Hi,
Is there a way to do a sphericity test in R for repeated measures ANOVA
(using aov or lme)? I can't find anything about it in the help.
Thanks
Orou
[[alternative HTML version deleted]]
2012 Jun 04
1
simulation of modified bartlett's test
Hi, I run this code to get the power of the test for modified bartlett's
test..but I'm not really sure that my coding is right..
#normal distribution unequal variance
asim<-5000
pv<-rep(NA,asim)
for(i in 1:asim)
{print(i)
set.seed(i)
n1<-20
n2<-20
n3<-20
mu<-0
sd1<-sqrt(25)
sd2<-sqrt(50)
sd3<-sqrt(100)
g1<-rnorm(n1,mu,sd1)
g2<-rnorm(n2,mu,sd2)
2005 May 10
1
sphericity calculation
Dear Prof. Baron,
thankyou for your pdf paper on using R, at
http://www.psych.upenn.edu/~baron/rpsych.pdf
I am currently interested in the sphericity notes on pp. 45-47.
The equation on p. 46 suggests the following R calculation:
D <- k^2 * ( mean(diag(S)) - mean(S) )^2
while the notes in the pdf indicate the following:
D <- k^2 * ( mean(S) - mean(diag(S)) )^2
Can you please consider
2009 Mar 03
1
repeated measures anova, sphericity, epsilon, etc
I have 3 questions (below).
Background: I am teaching an introductory statistics course in which we are
covering (among other things) repeated measures anova. This time around
teaching it, we are using R for all of our computations. We are starting by
covering the univariate approach to repeated measures anova.
Doing a basic repeated measures anova (univariate approach) using aov()
seems
2009 Nov 09
1
Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)
Hello everyone,
I am trying to do within subjects repeated measures anova followed by the
test of sphericity (sample dataset below).
I am able to get either mixed model or linear model anova and TukeyHSD, but
have no luck with Repeated-Measures Assuming Sphericity or Separate
Sphericity Tests.
I am trying to follow example from "car" package, but it seems that I am not
getting something
2011 Mar 10
1
power for repeated-measures ANOVA lacking sphericity
Is there a function that calculates the power of a
repeated-measure ANOVA design, e.g., 2 groups, 4
within-subject factors, an average 0.40 correlation between
the 4 within factors, etc.
I don't think I can use power.anova.test() because it does
not consider corr=0.40.
I am hoping that someone has already implemented the method
by Muller & Barton (1989, JASA 84: 549-555) on how to
2000 Aug 24
0
Is there a method to calculate Huynh and Feldt adjustments for sphericity violations
Hi,
I'm getting to grips with using R to perform repeat measures
analysis of variance and was wondering is there a potted method to
obtain Huynh and Feldt or other adjustments for sphericity
violations?
Thanks
Dominic
Dr Dominic J Barraclough
Dept Neurobiology and Anatomy,
University of Rochester,
601 Elmwood Av, Box 603,
Rochester
NY 14642
tel (716) 2753627
dominic_barraclough at