[R] Simulation study in R for categorical repeated measures data

2013-11-18 Thread Buddhini Gawarammana
Hi everyone, I am interested in doing a study to compare three analyzing methods namely, ANOVA, GEE and multilevel approach for *categorical repeated measures data using a simulation study in R*. I am not an expert in R but I know some preliminaries in R. Therefore I am desperately looking for some

Re: [R] Simulation study in R

2008-04-29 Thread Robert A LaBudde
At 02:40 AM 4/29/2008, Arun Kumar Saha wrote: Here I am in a simulation study where I want to find different values of x and y such that f(x,y)=c (some known constant) w.r.t. x, y >0, y<=x and x<=c1 (another known constant). Can anyone please tell me how to do it efficiently in R. One way I thoug

Re: [R] Simulation study in R

2008-04-29 Thread Arun Kumar Saha
x, y are cont. variable, and f also have to be cont.. And your second suggestion is correct of course, it actually should be |f(x,y) - c| < epsilon Thanks On Tue, Apr 29, 2008 at 12:34 PM, Moshe Olshansky <[EMAIL PROTECTED]> wrote: > Are the pairs (x,y) belong to some lattice or can > change cont

Re: [R] Simulation study in R

2008-04-29 Thread Moshe Olshansky
Are the pairs (x,y) belong to some lattice or can change continuously? Does f assume some discrete values (or is constant on sets of positive measure)? If not then it will be hard to randomly select x and y which satisfy the exact equality (this still can happen since there are finitely many comput

[R] Simulation study in R

2008-04-28 Thread Arun Kumar Saha
Here I am in a simulation study where I want to find different values of x and y such that f(x,y)=c (some known constant) w.r.t. x, y >0, y<=x and x<=c1 (another known constant). Can anyone please tell me how to do it efficiently in R. One way I thought that I will draw different random numbers fro