Re: [R] repeated measures aov with weights

2008-12-17 Thread Prof Brian Ripley
On Wed, 17 Dec 2008, Ingmar Visser wrote: I see, I was afraid for an answer along these lines as my problem now turns into a stat problem (-;Any suggestions on how to analyze such data as given You mean, you were afraid that the help page was correct? Weights can be specified by a 'weigh

Re: [R] repeated measures aov with weights

2008-12-17 Thread Prof Brian Ripley
On Wed, 17 Dec 2008, Ingmar Visser wrote: I see, I was afraid for an answer along these lines as my problem now turns into a stat problem (-;Any suggestions on how to analyze such data as given below with weights AND at the same time taking into account that there are repeated measurements? It

Re: [R] repeated measures aov with weights

2008-12-17 Thread Ingmar Visser
I see, I was afraid for an answer along these lines as my problem now turns into a stat problem (-; Any suggestions on how to analyze such data as given below with weights AND at the same time taking into account that there are repeated measurements? Best, Ingmar On 17 Dec 2008, at 11:02, Pro

Re: [R] repeated measures aov with weights

2008-12-17 Thread Prof Brian Ripley
Weights are not supported: multistratum aov is designed for balanced designs and uses projection for which weighting is inappropriate. On Wed, 17 Dec 2008, Ingmar Visser wrote: Dear R-help, I'm facing a problem with defining a repeated measures anova with weighted data. Here's the code to rep

[R] repeated measures aov with weights

2008-12-17 Thread Ingmar Visser
Dear R-help, I'm facing a problem with defining a repeated measures anova with weighted data. Here's the code to reproduce the problem: # generate some data seed=11 rtrep <- data.frame(rt=rnorm(100),ti=rep(1:5,20),subj=gl (20,5,100),we=runif(100)) # model with within factor for subjects/repea