Question on the paired ttest in multtest package
1
0
Entering edit mode
Anqi ▴ 40
@anqi-3575
Last seen 9.6 years ago
Dear Bioconductor developers, I am using multtest package to do some analysis. I am using the function mt.maxT/mt.minP to do some paired t-test. I email to ask how does the function recognize "paires" out of a classlabel like c(0,1,0,1,0,1,0,1,0,1,....,0,1). Does the package pair the first "0" with the first "1"? Much thanks and best regards, Anqi -- [[alternative HTML version deleted]]
multtest multtest • 1000 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 7 hours ago
United States
Hi Anqi, Anqi wrote: > Dear Bioconductor developers, > I am using multtest package to do some analysis. > I am using the function mt.maxT/mt.minP to do some paired t-test. > I email to ask how does the function recognize "paires" out of a classlabel like c(0,1,0,1,0,1,0,1,0,1,....,0,1). > Does the package pair the first "0" with the first "1"? Yes. You can sort of deduce this from the help page. So if you look at the help for mt.maxT you can see that the help for the classlabel argument states that 'The observations are ordered by block, and within each block, they are labeled using the integers 0 to k-1. ' In addition, there is an example # Permutation adjusted p-values for maxT procedure with paired t-statistics classlabel<-rep(c(0,1),19) mt.maxT(smallgd,classlabel,test="pairt") Best, Jim > > Much thanks and best regards, > Anqi > > > -- > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- James W. MacDonald, M.S. Biostatistician Douglas Lab University of Michigan Department of Human Genetics 5912 Buhl 1241 E. Catherine St. Ann Arbor MI 48109-5618 734-615-7826
ADD COMMENT

Login before adding your answer.

Traffic: 566 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6