[R] Sample size of longitudinal and skewed data

From: Lao Meng <laomeng.3_at_gmail.com>
Date: Mon, 21 Mar 2011 15:19:45 +0800


Hi all:
I have a question about the sample size calculation.

It's a pilot study,which includes 2 groups(low,high),3 time point(3,6,9 monthes).Each person has 3 results which according to the

3 time points.So it's a longitudinal study.

I want to calculate the minimum sample size from the pilot study, but can't find the solution since the data is highly skewed and

it's a longitudinal study or multi-level model,which can't use common algorithm.

Any suggestions from you are welcome.

The demo data is as follow:

id group time result

a low       3      0
a low      6       0
a low      9      3
b low     3       0
b low     6     0
b low     9     5
c high   3     0

c high 6 10
c high 9 80
d high 3 50
d high 6 65
d high 9 100
... ...

Thanks for your help.

My best.

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 21 Mar 2011 - 07:21:56 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Mar 2011 - 19:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive