Skip to content

How to rum Multiple ANOVA and Multiple T-test between the same groups?

4 messages · AbouEl-Makarim Aboueissa, Matthias Kohl, Boris Steipe

#
Dear All: good morning





*Re:* How to rum Multiple ANOVA and Multiple T-test between the same groups.



Your help will be highly appreciated.





*1.*  is there a way to run multiple t-tests on different variables between
the same two groups.





*Data for t-tests:*



The data frame ?dataTtest?  has 5 variables (x1,x2,x3,x4,x5) and one factor
(factor1) with 2 levels (group1, group2).





x1<-rnorm(20,1,1)

x2<-rnorm(20,2,1)

x3<-rnorm(20,3,1)

x4<-rnorm(20,4,1)

x5<-rnorm(20,5,1)

factor1<-rep(c("group1", "group2"), each = 10)

dataTtest<-data.frame(x1,x2,x3,x4,x5,factor1)

dataTtest









*2.* is there a way to run *multiple ANOVA* and multiple comparisons *Tukey
tests* on different variables between the same groups.





*Data for ANOVA tests:*



The data frame ?dataANOVA?  has 6 variables (x1,x2,x3,x4,x5,x6) and one
factor (factor2) with 5 levels (group1, group2, group3, group4, group5).







x1<-rnorm(40,1,1)

x2<-rnorm(40,2,1)

x3<-rnorm(40,3,1)

x4<-rnorm(40,4,1)

x5<-rnorm(40,5,1)

x6<-rnorm(40,6,1)

factor2<-rep(c("group1", "group2", "group3", "group4", "group5"), each = 8)

dataANOVA<-data.frame(x1,x2,x3,x4,x5,x6,factor2)

dataANOVA





with many thanks

abou
______________________


*AbouEl-Makarim Aboueissa, PhD*

*Professor, Statistics and Data Science*
*Graduate Coordinator*

*Department of Mathematics and Statistics*
*University of Southern Maine*
#
Have a look at Bioconductor package genefilter, especially functions 
colttests and colFtests.
Best Matthias

Am 10.02.19 um 10:35 schrieb AbouEl-Makarim Aboueissa:

  
    
#
Dear Prof Kohl:


I am trying to install the "genefilter" package, but I got the following
error message(s). I am not sure which R version should be used for this
package.


*For R.3.5.2:*
Installing package into ?C:/Users/aaboueissa/Documents/R/win-library/3.5?
(as ?lib? is unspecified)
Warning message:
package ?genefilter? is not available (for R version 3.5.2)


*For R.3.3.2:*
Installing package into ?C:/Users/aaboueissa/Documents/R/win-library/3.3?
(as ?lib? is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning message:
package ?Bioconductor? is not available (for R version 3.3.2)


with many thanks
abou
______________________


*AbouEl-Makarim Aboueissa, PhD*

*Professor, Statistics and Data Science*
*Graduate Coordinator*

*Department of Mathematics and Statistics*
*University of Southern Maine*



On Sun, Feb 10, 2019 at 10:52 AM Prof. Dr. Matthias Kohl <
Matthias.Kohl at stamats.de> wrote:

            

  
  
#
You need to spend more time getting clear on the fundamentals, what the Bioconductor project is and why its packages are useful in our domain. Bioconductor packages are not installed with the install.packages() function; that is for packages on CRAN. Instead, you use ...

  install.packages("BiocManager")     # BiocManagere IS hosted on CRAN
  BiocManager::install("genefilter")  # BiocManagerinstalls "genefilter" from bioconductor.org

Now, _do_ read the documentation, and pay special attention to the vignettes!

https://cran.r-project.org/web/packages/BiocManager/index.html
https://bioconductor.org/packages/release/bioc/html/genefilter.html



B.