Question: Question on the paired ttest in multtest package
0
gravatar for Anqi
10.2 years ago by
Anqi40
Anqi40 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"? Much thanks and best regards, Anqi -- [[alternative HTML version deleted]]
multtest • 575 views
ADD COMMENTlink modified 10.2 years ago by James W. MacDonald51k • written 10.2 years ago by Anqi40
Answer: Question on the paired ttest in multtest package
0
gravatar for James W. MacDonald
10.2 years ago by
United States
James W. MacDonald51k wrote:
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 COMMENTlink written 10.2 years ago by James W. MacDonald51k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 373 users visited in the last hour