Re: [R] repeated measures regression

2007-05-23 Thread John Christie
-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

Re: [R] repeated measures regression

2007-05-23 Thread Nordlund, Dan (DSHS/RDA)
-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

Re: [R] repeated measures regression

2007-05-23 Thread Marco B
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

[R] repeated measures regression

2007-05-17 Thread John Christie
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

Re: [R] repeated measures regression

2007-05-17 Thread Bert Gunter
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

[R] repeated measures and recurrent events data

2007-05-02 Thread Luis Guillermo Diaz Monroy
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

Re: [R] Repeated Measures design using lme

2007-04-24 Thread Martin Henry H. Stevens
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

Re: [R] Repeated Measures design using lme

2007-04-14 Thread Kyle.
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

[R] Repeated Measures design using lme

2007-04-08 Thread Scott Norton
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

[R] Repeated-measures: aov(), lme() and lmer()

2007-04-06 Thread Francisco Torreira
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:

[R] repeated measures anova

2007-03-22 Thread kaloytyn
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

Re: [R] repeated measures anova

2007-03-22 Thread Ulrich Flenker
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

[R] Repeated measures logistic regression

2007-02-25 Thread Andy Fugard
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

[R] Repeated measures in Classification and Regresssion Trees

2007-02-23 Thread Andrew Park
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

Re: [R] Repeated measures in Classification and Regresssion Trees

2007-02-23 Thread Bert Gunter
, 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

Re: [R] Repeated measures

2007-01-23 Thread Chuck Cleland
] 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

Re: [R] Repeated measures

2007-01-22 Thread Richard Plant
(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

[R] Repeated measures

2007-01-17 Thread Tom Backer Johnsen
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

Re: [R] Repeated measures

2007-01-17 Thread Chuck Cleland
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 ()

Re: [R] Repeated measures by lme and aov give different results

2006-11-16 Thread Spencer Graves
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

Re: [R] Repeated measures by lme and aov give different results

2006-11-16 Thread Jeff Miller
, 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

Re: [R] Repeated measures by lme and aov give different results

2006-11-16 Thread Andrew Robinson
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

Re: [R] Repeated Measures MANOVA in R

2006-11-09 Thread Chuck Cleland
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

Re: [R] Repeated Measures MANOVA in R

2006-11-09 Thread Michael Friendly
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

Re: [R] Repeated Measures MANOVA in R

2006-11-09 Thread Peter Dalgaard
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

[R] Repeated Measures MANOVA in R

2006-11-08 Thread A. Bolu Ajiboye
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

Re: [R] repeated measures ANOVA

2006-03-02 Thread Christian Gold
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

Re: [R] repeated measures ANOVA

2006-03-02 Thread Peter Dalgaard
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

Re: [R] repeated measures ANOVA

2006-02-28 Thread John Vokey
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,

Re: [R] repeated measures ANOVA

2006-02-28 Thread Gabor Grothendieck
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:

Re: [R] repeated measures ANOVA

2006-02-28 Thread John Maindonald
] 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

Re: [R] repeated measures ANOVA

2006-02-28 Thread John Maindonald
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

[R] repeated measures ANOVA

2006-02-27 Thread Christian Gold
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,

Re: [R] repeated measures ANOVA

2006-02-27 Thread Ioannis Dimakos
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

Re: [R] Repeated measures aov with post hoc tests?

2006-01-12 Thread Fredrik Karlsson
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 ~

Re: [R] Repeated measures aov with post hoc tests?

2006-01-12 Thread Gregory Snow
] 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

[R] Repeated measures aov with post hoc tests?

2006-01-10 Thread Fredrik Karlsson
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

Re: [R] repeated measures with random effects

2005-10-16 Thread Spencer Graves
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

[R] repeated measures with random effects

2005-10-04 Thread juli g. pausas
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

Re: [R] Repeated Measures, groupedData and lme

2005-03-31 Thread Douglas Bates
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

[R] Repeated measures MANOVA

2005-02-25 Thread Bela Bauer
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;

[R] repeated measures with Poisson

2004-12-15 Thread Andrew Higginson
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

Re: [R] Repeated measures

2004-10-07 Thread Sean Davis
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

[R] Repeated measures

2004-10-06 Thread Sean Davis
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

RE: [R] Repeated measures

2004-10-06 Thread F Z
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

[R] repeated measures and covariance structures

2004-09-14 Thread Chris Solomon
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

RE: [R] repeated measures and covariance structures

2004-09-14 Thread Doran, Harold
, 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

Re: [R] repeated measures and covariance structures

2004-09-14 Thread Prof Brian Ripley
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

Re: [R] repeated measures and covariance structures

2004-09-14 Thread Christian Hennig
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

[R] Repeated measures

2004-06-06 Thread Alex Bach
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

[R] Repeated measures

2004-06-06 Thread Alex Bach
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

Re: [R] Repeated measures

2004-06-06 Thread Spencer Graves
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

RE: [R] Repeated measures

2004-06-06 Thread Harold Doran
(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

Re: [R] Repeated measures ANOVA

2004-05-20 Thread Jason Turner
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

[R] Repeated measures ANOVA

2004-05-19 Thread GIDEON WASSERBERG
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

RE: [R] Repeated measures regression

2004-05-05 Thread Lorenz . Gygax
- 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

[R] Repeated measures regression

2004-05-04 Thread knussear
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

[R] repeated measures nonlinear regression

2004-02-16 Thread Wayne Hallstrom
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

Re: [R] repeated measures nonlinear regression

2004-02-16 Thread Douglas Bates
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

[R] repeated measures aov problem

2003-12-17 Thread Nathan Weisz
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

Re: [R] repeated measures aov problem

2003-12-17 Thread Prof Brian Ripley
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

[R] repeated measures anova

2003-07-18 Thread wouter buytaert
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

RE: [R] repeated measures anova

2003-07-18 Thread Pikounis, Bill
: 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

[R] repeated measures ANOVA (was (no subject))

2003-06-18 Thread Ramon Diaz
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

[R] Repeated measures help

2003-03-28 Thread John Reeve
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

Re: [R] Repeated measures help

2003-03-28 Thread Spencer Graves
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

[R] Repeated measures 2-way anova -- robustness question

2003-03-13 Thread Alpert, William
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.

Re: [R] repeated measures: Greenhouse-Geisser correction

2003-01-27 Thread ripley
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