-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Christie
Sent: Thursday, May 17, 2007 10:06 AM
To: R-help@stat.math.ethz.ch
Subject: [R] repeated measures regression
How does one go about doing a repeated measure regression? The
documentation I have
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Christie
Sent: Wednesday, May 23, 2007 6:09 PM
To: Bert Gunter
Cc: R-help@stat.math.ethz.ch
Subject: Re: [R] repeated measures regression
Hmmm, been away and got this... I appreciate
Hi John,
I have collected a few methods for doing this in a very empyrical
fashion. I've asked a few questions on r-help about them, and got
mixed responses. You can find the archived thread at:
http://tolstoy.newcastle.edu.au/R/e2/help/07/05/16660.html
The responses and linked resources might
How does one go about doing a repeated measure regression? The
documentation I have on it (Lorch Myers 1990) says to use linear /
(subj x linear) to get your F. However, if I put subject into glm or
lm I can't get back a straight error term because it assumes
(rightly) that subject is a
also be found on CRAN.
Bert Gunter
Genentech Nonclinical Statistics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Christie
Sent: Thursday, May 17, 2007 10:06 AM
To: R-help@stat.math.ethz.ch
Subject: [R] repeated measures regression
How does one go
Hello,
I need a data set on repeated measures and recurrent events data which had been
registered on the same subject. This is very important to my thesis work.
Thanks a lot,
Luis Guillermo Díaz Monroy
Profesor Asociado
Universidad Nacional de Colombia
Have you seen Pinheiro and Bates (2000) that lays out the nlme
package? It is very helpful.
Hank
On Apr 14, 2007, at 8:02 PM, Kyle. wrote:
You probably can do this with lme function, but I don't know that for
sure. aov (included in the stats package), with a call to the
Error function how I
You probably can do this with lme function, but I don't know that for
sure. aov (included in the stats package), with a call to the
Error function how I generally analyze data obtained from a
repeated measure design. For a very good description of how Error
and aov work together, you
Hi,
I have what I believe is a repeated-measures dataset that I'm trying to analyze
using lme(). This is *not* homework, but an exercise in my trying to
self-teach myself repeated-measure ANOVA for other *real* datasets that I have
and that are extremely similar to the following design.
I'm
Hello,
Can anyone confirm if these 3 function calls are equivalent? I would
like to test for treatment effects in a repeated-measures design. The
design is balanced:
# 1:
aov(y~subject+treatment)
# 2:
aov(y~treatment+Error(subject))
# 3:
lme(y~treatment, random= ~1|subject)
# 4:
Hello,
is there a function for repeated measures anova? Have searched for some
time and not found. Thank you very much for an answer.
Regards,
Katja Löytynoja
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
On Thu, 22 Mar 2007 [EMAIL PROTECTED] wrote:
Hello,
is there a function for repeated measures anova? Have searched for some
time and not found. Thank you very much for an answer.
Regards,
Katja Löytynoja
Katja,
this can be done by adding an Error() term. Section 6.10
(Use Error() for
Dear all,
I'm struggling to find the best (set of?) function(s) to do repeated
measures logistic regression on some data from a psychology experiment.
An artificial version of the data I've got is as follows. Firstly,
each participant filled in a questionnaire, the result of which is a
Dear R members,
I have been trying to find out whether one can use multivariate
regression trees (for example mvpart) to analyze repeated measures data.
As a non-parametric technique, CART is insensitive to most of the
assumptions of parametric regression, but repeated measures data raises
the
,
Bert Gunter
Genentech Nonclinical Statistics
South San Francisco, CA 94404
650-467-7374
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Park
Sent: Friday, February 23, 2007 7:51 AM
To: r-help@stat.math.ethz.ch
Subject: [R] Repeated measures
]
tolerance.F.male
[1] 0.607137
tolerance.df - as.matrix(tolerance.list[1])
tolerance.p.male - 1 -
pf(tolerance.F.male,tolerance.df[1,1],tolerance.df[3,1])
tolerance.p.male
[1] 0.4488394
Message: 68
Date: Wed, 17 Jan 2007 05:45:01 -0500
From: Chuck Cleland [EMAIL PROTECTED]
Subject: Re: [R] Repeated
(tolerance.F.male,tolerance.df[1,1],tolerance.df[3,1])
tolerance.p.male
[1] 0.4488394
Message: 68
Date: Wed, 17 Jan 2007 05:45:01 -0500
From: Chuck Cleland [EMAIL PROTECTED]
Subject: Re: [R] Repeated measures
To: Tom Backer Johnsen [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Message-ID: [EMAIL
I am having a hard time understanding how to perform a repeated
measures type of ANOVA with R. When reading the document found here:
http://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_repms.html
I find that there is a reference to a function make.rm () that is
supposed to rearrange a
Tom Backer Johnsen wrote:
I am having a hard time understanding how to perform a repeated
measures type of ANOVA with R. When reading the document found here:
http://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_repms.html
I find that there is a reference to a function make.rm ()
RSiteSearch(lme and aov) returned 350 hits for me just now. I'm
sure that many are not relevant to your question, but I believe some
are. Beyond this, there is now and R Wiki, accessible via
www.r-project.org - Documentation: Wiki (or directly as
, November 16, 2006 4:14 PM
To: Vicki Allison
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Repeated measures by lme and aov give different results
RSiteSearch(lme and aov) returned 350 hits for me just now. I'm
sure that many are not relevant to your question, but I believe some
Vicki,
take a look at P. 47 of the book by Pinheiro and Bates, if you have a copy
(if not, get one!) They show the analysis of a split-plot design using
lme there.
Here, both aov and lme are estimating two levels of variation. The key
difference is that with aov the Ring-level variation is not
A. Bolu Ajiboye wrote:
Can R do a repeated measures MANOVA and tell what dimensionality the
statistical variance occupies?
I have been using MATLAB and SPSS to do my statistics. MATLAB can do ANOVAs
and MANOVAs. When it performs a MANOVA, it returns a
parameter d that estimates the
I have an in press paper on HE plots,
http://www.math.yorku.ca/SCS/Papers/heplots.pdf
that describes methods to visualize the dimensionality of effects
in MLMs. The implementation is in SAS, but there's a link to
a rudimentary R function in the paper.
-Michael
A. Bolu Ajiboye wrote:
Can R do a
Chuck Cleland [EMAIL PROTECTED] writes:
A. Bolu Ajiboye wrote:
Can R do a repeated measures MANOVA and tell what dimensionality the
statistical variance occupies?
I have been using MATLAB and SPSS to do my statistics. MATLAB can do
ANOVAs and MANOVAs. When it performs a MANOVA, it
Can R do a repeated measures MANOVA and tell what dimensionality the
statistical variance occupies?
I have been using MATLAB and SPSS to do my statistics. MATLAB can do ANOVAs
and MANOVAs. When it performs a MANOVA, it returns a
parameter d that estimates the dimensionality in which the means
A big thank you to all those of you who helped me with this problem. I really
appreciated your advice!
Cheers,
Christian
--
Dr. Christian Gold, PhD
http://www.hisf.no/~chrisgol
__
R-help@stat.math.ethz.ch mailing list
Christian Gold [EMAIL PROTECTED] writes:
A big thank you to all those of you who helped me with this problem. I really
appreciated your advice!
I don't think anyone pointed you towards the anova.mlm features; you
might find them quite close to what SPSS does. For now, the easiest
way to learn
Christian,
You need, first to factor() your factors in the data frame P.PA,
and then denote the error-terms in aov correctly, as follows:
group - rep(rep(1:2, c(5,5)), 3)
time - rep(1:3, rep(10,3))
subject - rep(1:10, 3)
p.pa - c(92, 44, 49, 52, 41, 34, 32, 65, 47, 58, 94, 82, 48,
Or use gl which directly forms a factor:
group - gl(2, 5, 30)
time - gl(3, 10)
subject - gl(10, 1, 30)
On 2/28/06, John Vokey [EMAIL PROTECTED] wrote:
Christian,
You need, first to factor() your factors in the data frame P.PA,
and then denote the error-terms in aov correctly, as follows:
] repeated measures ANOVA
Dear list members:
I have the following data:
group - rep(rep(1:2, c(5,5)), 3)
time - rep(1:3, rep(10,3))
subject - rep(1:10, 3)
p.pa - c(92, 44, 49, 52, 41, 34, 32, 65, 47, 58, 94, 82, 48, 60, 47,
46, 41, 73, 60, 69, 95, 53, 44, 66, 62, 46, 53, 73, 84, 79)
P.PA
There was a mistake in my earlier note, that I should correct:
(Or you can estimate the interaction, and no degrees of freedom are
left for either the time or time:group random effect). All you
can talk
^^^
about is the average and the difference of the
Dear list members:
I have the following data:
group - rep(rep(1:2, c(5,5)), 3)
time - rep(1:3, rep(10,3))
subject - rep(1:10, 3)
p.pa - c(92, 44, 49, 52, 41, 34, 32, 65, 47, 58, 94, 82, 48, 60, 47,
46, 41, 73, 60, 69, 95, 53, 44, 66, 62, 46, 53, 73, 84, 79)
P.PA - data.frame(subject, group, time,
Christian,
One thing that may help with the data you provide is to make sure that
group, time, and subject are indeed factors.
group - factor(group)
time - factor(time)
subject - factor(subject)
Running your analyses in both SPSS 13.0 and R.2.2.1 (the R sessions were
ran in win xp and
Dear list,
I posted the message below a cople of days ago, and have not been able
to find any solution to this. I do really want some help.
/Fredrik
On 1/10/06, Fredrik Karlsson [EMAIL PROTECTED] wrote:
Dear list,
I would like to perform an analysis on the following model:
aov(ampratio ~
] On Behalf Of
Fredrik Karlsson
Sent: Thursday, January 12, 2006 3:24 AM
To: r-help@stat.math.ethz.ch
Subject: Re: [R] Repeated measures aov with post hoc tests?
Dear list,
I posted the message below a cople of days ago, and have not
been able to find any solution to this. I do really want
Dear list,
I would like to perform an analysis on the following model:
aov(ampratio ~ Type * Place * agemF + Error(speakerid/Place) ,data=aspvotwork)
using the approach from http://www.psych.upenn.edu/~baron/rpsych/rpsych.html .
Now, I got the test results, wich indicate a significant
Have you tried 'RSiteSearch(repeated measures with random
effects)'? I just got 74 hits, some of which might interest you.
Also, have you reviewed Pinheiro and Bates (2000) Mixed-Effects
Models in S and S-Plus (Springer)? This book, the lme function in
library(nlme) and
Dear all,
I'm interested in analysing a reapeated measure desing where plant
height (H) was measured 3 times (Time). The experimental design
include 2 fixed factor (say A and B) in which A is nested in B, and a
random factor (C, the plot), using the aov().
So my first idea would be something
emma pilgrim (IGER-NW) wrote:
Hello
I am trying to fit a REML to some soil mineral data which has been
collected over the time period 1999 - 2004. I want to know if the 19
different treatments imposed, differ in terms of their soil mineral
content. A tree model of the data has shown differences
Hi,
sorry to bother you again, but I can't figure it out myself and I also
can't find any in-depth documentation about it...
Consider the following SAS code (A1II2... contain the measurements for
40 subjects):
proc glm;
model
A1II2
A1IN2
A1NI2
A1NN2
= /nouni;
repeated CONTEXT 2, TARGET_SATZ 2;
I'm pretty new to R and I have a stats problem that's got me baffled. I'm
trying to carry out a repeated measures test on Poission distributed data,
where half the subjects in each block (4 blocks) were treated, and half were
controls. Measurements were carried out before and after the
Road
Oxford OX1 3RB
UK
Tel. 01865 275000
--
Message: 11
Date: Wed, 6 Oct 2004 08:07:38 -0400
From: Sean Davis [EMAIL PROTECTED]
Subject: [R] Repeated measures
To: r-help [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed
I have a data set in which I have 5000 repeated measures on 6 subjects
over time (varying intervals, but measurements for all individuals are
at the same times). There are two states, a resting state (the
majority of the time), and a perturbed state. I have a continuous
measurement at each
by Pinheiro and Bates Mixed-Effects Models in S and S-Plus describes
several examples of RM analysis using their package.
Good luck!
Francisco
From: Sean Davis [EMAIL PROTECTED]
To: r-help [EMAIL PROTECTED]
Subject: [R] Repeated measures
Date: Wed, 6 Oct 2004 08:07:38 -0400
I have a data set in which
Hello-
I'm trying to do some repeated measures ANOVAs. In the past, using SAS,
I have used the framework outlined in Littell et al.'s SAS System for
Mixed Models, using the REPEATED statement in PROC MIXED to model
variation across time within an experimental unit. SAS allows you to
specify
, September 14, 2004 12:07 PM
To: [EMAIL PROTECTED]
Subject: [R] repeated measures and covariance structures
Hello-
I'm trying to do some repeated measures ANOVAs. In the past, using SAS,
I have used the framework outlined in Littell et al.'s SAS System for
Mixed Models, using the REPEATED statement
On Tue, 14 Sep 2004, Chris Solomon wrote:
Hello-
I'm trying to do some repeated measures ANOVAs. In the past, using SAS,
I have used the framework outlined in Littell et al.'s SAS System for
Mixed Models, using the REPEATED statement in PROC MIXED to model
variation across time within an
Hello Chris,
as far as I know from the Pinheiro and Bates book Mixed-Effects Models in S
and S-PLUS, the autoregressive parameter has to be specified only as
initial value for the estimation. That is, the parameter will be estimated,
but the result may depend on the prespecified value. You do not
Dear R-gurus,
I am pretty much new on R.
I am trying to to do a repeated analysis of a linear mixed model with
R, and I consistently fail...
The problem is: Cow is the random factor, treatment is the fixed
factor. The dependent variable is milk yield, which is measured several
times
Dear R-gurus,
I am pretty much new on R.
I am trying to to do a repeated analysis of a linear mixed model with
R, and I consistently fail...
The problem is: Cow is the random factor, treatment is the fixed
factor. The dependent variable is milk yield, which is measured several
times
1. You didn't say which manual you were reading on lme, if
you have not consulted Pinheiro and Bates (2000) Mixed-Effects Models in
S and S-Plus (Springer), I suggest you do so. The issues are discussed
in greater depth with many examples. I found this book well worth the
time and
(model.lme,model2.lme)
Harold
-Original Message-
From: [EMAIL PROTECTED] on behalf of Spencer Graves
Sent: Sun 6/6/2004 12:21 PM
To: Alex Bach
Cc: [EMAIL PROTECTED]
Subject: Re: [R] Repeated measures
1
On Wed, May 19, 2004 at 11:11:46PM -0600, GIDEON WASSERBERG wrote:
Dear friends
I am not sure that I am conducting this analysis correctly.
I would really appreciate if someone can verify what I've done.
I conducted repeated measures ANOVA for some bugs data.
These bugs were measured
Dear friends
I am not sure that I am conducting this analysis correctly. I would really appreciate
if someone can verify what I've done.
I conducted repeated measures ANOVA for some bugs data. These bugs were measured
repeatedly over 32 weeks at the same trapping plots. I want to test a
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of knussear
Sent: Wednesday, May 05, 2004 5:59 AM
To: [EMAIL PROTECTED]
Subject: [R] Repeated measures regression
Hi List,
Just wondering if there is such a thing as repeated measures
regression, and if so, can R do it?
I have
Hi List,
Just wondering if there is such a thing as repeated measures
regression, and if so, can R do it?
I have repeated measurements of 10 individuals over a 45 day period,
and I would like to regress their daily activity time against a daily
environmental temperature. If I do so using
Hi,
I found this email on the R website. I am trying to figure out how to
analyse a data set that I believe will need to be run through a procedure
involving repeated measures, regression and mixed models.
The data is of insect populations (dependent variable - either 0/1=binomial,
or as
Wayne Hallstrom [EMAIL PROTECTED] writes:
I found this email on the R website. I am trying to figure out how
to analyse a data set that I believe will need to be run through a
procedure involving repeated measures, regression and mixed models.
The data is of insect populations (dependent
Hi all,
I have a strange problem and rigth now I can't figure out a
solution.
Trying to calculate an ANOVA with one between subject factor (group)
and one within (hemisphere). My dependent variable is source
localization (data). My N = 25.
My data.frame looks like this:
ML.dist.stack
You have an NA in your data, it says. That makes the design unbalanced
(it it is not already unbalanced by having 50 obs with a 2x2
classification: I can't see the pattern from your extract but guess 25
subjects don't divide into two equal groups).
That you get the same effects in both strata
Hello,
what is the best way to do an ANOVA on two-factor experiments with
repeated measures on one of the factors (e.g. time) in R, (with
Greenhouse-Geisser Epsilon or Huynh-Feldt Epsilon calculation, if
possible (as described in Ott and Longnecker, 2001. Statistical Methods
and Data Analysis 5th
: Friday, July 18, 2003 6:34 AM
To: [EMAIL PROTECTED]
Subject: [R] repeated measures anova
Hello,
what is the best way to do an ANOVA on two-factor experiments with
repeated measures on one of the factors (e.g. time) in R, (with
Greenhouse-Geisser Epsilon or Huynh-Feldt Epsilon calculation
Dear Jessie,
Why don't you try to use already written functions? Probably lme (in package
nlme) would be what you need. lme comes with documentation, and there is a
whole book devoted to it.
Best,
Ramón
P.S. It is helpful if you use the Subject line, so that people now what your
message is
Hello R Folks,
Would someone mind posting a simple example of a repeated measures analysis
using lme? I'm trying to duplicate the analyses in Chapter 3 of the SAS
System for Mixed Models manual, in particular those on p. 88-102 and
involving different correlation structures. The data have the
Did you look at Pinhiero and Bates (2000) Mixed Effects Models in S and
S-Plus (Springer)?
I've been able to do several things with lme using this book that I
could not figure out without it; lme is state of the art but not easy
to use. It is a space shuttle, not a bottle rocket.
Spencer
I'm a journalist, wondering what questions to ask about a study that
contrasted the impact on serum cholesterol of two drugs. This was a
40 dog study: 5 treatment blocks of 4 dogs each, randomized to: a
control block, two blocks at different doses of drug1 and two at
corresponding doses of drug2.
That's a kludge. You can analyse such models in a principled way using
either summary.manova or lme, both of which model the correlation in the
`repeated measures' rather than wish it away.
Could you try to use a more informative subject? Although I knew what the
correction was, I have never
68 matches
Mail list logo