[R] simulate null hypothesis

From: Weiwei Shi <helprhelp_at_gmail.com>
Date: Thu, 14 Jun 2007 11:02:43 -0400


Hi, there:

This is a bit off-topic but I try to do it in R so I put it here:

I have 31 samples from a population of genes, and each sample contains a pair of gene lists, with different lengths and the intersection between the two lists also varies. I want to test my hypothesis by creating a null hypothesis for this population. Since the distribution for the length and the distribution for the intersection size do not follow any known distribution, I think I need to use sample with replacement to simulate those "parameters". And use the parameters to permutate genes; but I am not very sure if it is alll right.

BTW, is there any general package or I just need "sample()" to do that? (just tried to make my question on-topic:)

thanks,

-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.


"Did you always know?"
"No, I did not. But I believed..."
---Matrix III ______________________________________________ R-help_at_stat.math.ethz.ch 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 Thu 14 Jun 2007 - 15:39:42 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 Thu 14 Jun 2007 - 16:31:56 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.