[R] how to compare two distributions and calculate p value?
@okov|c@@n@m@r|j@ @end|ng |rom gm@||@com
Wed Oct 23 04:24:56 CEST 2019
ok, I would have paired = FALSE option. What other options you would recommend?
On Tue, Oct 22, 2019 at 8:34 PM Bert Gunter <bgunter.4567 using gmail.com> wrote:
> "How would I do say t test considering these two have different number
> of entries?"
> Read and follow ?t.test .
> Bert Gunter
> "The trouble with having an open mind is that people keep coming along and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
> On Tue, Oct 22, 2019 at 6:18 PM Ana Marija <sokovic.anamarija using gmail.com> wrote:
>> I would like to calculate a p value from two distributions, one looks like this:
>> > head(b)
>> gene_id number_of_eqtles_per_gene
>> 1: ENSG00000237683.5 5
>> 2: ENSG00000225972.1 267
>> 3: ENSG00000225630.1 97
>> 4: ENSG00000237973.1 257
>> 5: ENSG00000240409.1 19
>> 6: ENSG00000248527.1 41
>> > dim(b)
>>  31385 2
>> and the other one (call it "a") looks very similar to "b" only has 103 entries.
>> How would I do say t test considering these two have different number
>> of entries?
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help