Questions tagged [manova]

The Multivariate analysis of variance (MANOVA) is a statistical test procedure for comparing multivariate (population) means of several groups.

Multivariate analysis of variance (MANOVA) is a statistical test procedure for comparing multivariate (population) means of several groups. Unlike ANOVA, it uses the variance-covariance between variables in testing the statistical significance of the mean differences.

Details: http://en.wikipedia.org/wiki/Multivariate_analysis_of_variance

91 questions
2
votes
2 answers

Labeling the centroids of a PCoA based on betadisper() multivariate dispersions in R

I've used the function betadisper() in the vegan package to generate multivariate dispersions and plot those data in a PCoA. In this example I'll be looking at the difference between the sexes in a singular species. Load the original data. For our…
etgriffiths
  • 210
  • 2
  • 12
2
votes
1 answer

MANOVA in R - dimnames error

I want to use a MANOVA test in R to check for a statistical difference between a vector of means ("test") and a vector (of equal length) of '1's ("random"). My data is as below: ID openwater closedshrubland barren cropnatural …
Heather
  • 45
  • 1
  • 5
2
votes
1 answer

xtable for MANOVA object obtained with car package

I wonder how to get xtable of MANOVA object obtained with car package. Here is MWE: library(xtable) library(car) MANOVA <- Anova(lm(cbind(Al, Fe, Mg, Ca, Na) ~ Site, data=Pottery)) xtable(MANOVA) Error in UseMethod("xtable") : no applicable…
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
1
vote
2 answers

How to prepare data in R for manova

The data in a text looks like this: Initial Speed Pedal Rotation 10 mph 25 mph 40 mph 55 mph 5 degrees 0.35 0.19 0.14 0.10 8 degrees 0.37 0.28 0.19 0.19 10 degrees …
tora0515
  • 2,479
  • 12
  • 33
  • 40
1
vote
0 answers

R functions for running a two-way repeated measures ANOVA

Hoping to get some guidance for this analysis. I am currently following this guide for running a 2 way RMANOVA. This guide focuses on the car and afex package. I'm having issues with errors on both packages, but my focus is on afex, as that seems to…
1
vote
1 answer

Multi-group differential gene expression for time-series treatment data

This is an example dataset: df = data.frame(genes = c("A", "B", "C", "D", "E"), KO_0min_Rep1 = c(0, 1, 2, 6, 6), KO_0min_Rep2 = c(0, 3, 2, 3, 6), KO_60min_Rep1 = c(0, 0.3, 2, 9.1, 6), …
ip2018
  • 655
  • 1
  • 7
  • 14
1
vote
0 answers

PERMANOVA code error message "Error in XX %*% SCEC : non-conformable arguments"

I have data that encompasses 2 different species, 4 treatments, and 9 variables. I am trying to run a PERMANOVA using the example code from the R code sheet from CRAN. here is what i am referencing:…
kyliec
  • 21
  • 1
  • 3
1
vote
1 answer

non-parametric manova in R

I created a small example data set: value <- rnorm(100, mean = 100, sd = 36) group <- c(rep(c("A", "B", "C"), 33), "C") gender <- c(rep(c("M", "F"), 50)) test <- cbind(value, group, gender) test <- as.data.table(test) I want to see if the mean…
Nneka
  • 1,764
  • 2
  • 15
  • 39
1
vote
1 answer

calculate Mahalanabois distances when have missing values

In R, I am trying to calculate Mahalanobis distances to check if there are outliers in my data set, to test one of the assumptions for a MANOVA. I have missing values in my data set. I originally had tried the mahalanabois function, but that didn't…
Lyn
  • 21
  • 1
1
vote
0 answers

How to fix (?) a 2-way MANOVA output done in r?

I'm trying to run a 2-way MANOVA in r and I'm struggling with the output. My problem is that the output I'm getting is wrong: it doesn't include all the lines it's suppose to under coefficients (such as Stressno or Mgroup3TW:Stressyes) and I don't…
1
vote
1 answer

R: Need example of performing boxM() with two-way (factorial) MANOVA - I'm getting an error

I am trying to run Box's M-test for Homogeneity of Covariance Matrices, for two-way MANOVA. I have conducted searches for an example since yesterday afternoon. I see many examples of using boxM with one-way MANOVA. In every case, if the source…
Kyle
  • 145
  • 7
1
vote
1 answer

summary.manova output shows different p values from the summary.manova stats table and broom tidy()

I noticed that the summary.manova() function in R produces two different p.values. One in a table that is printed in the console and the other in the stats table located in the summary object. What p.values should be reported? The values are…
NicCage
  • 13
  • 3
1
vote
0 answers

How to add a covariate to a between-within design MANCOVA with R?

I want to run a between-within design MANCOVA with R, with two dependent variables (Planned and Unplanned), two between-subject variables (Genre [Male, Female] and Urb [Yes, No]), one within-subject variable (Period [Before, During]), and one…
1
vote
1 answer

How to access to members of a test result in R

I am conducting the Levene's test as well as Shapiro-Wilk test on a large set of data. I am wondering how do I access to particular parts of a result and store them in a CSV file to simplify reporting results. For example, a Levene's test results…
mfaieghi
  • 570
  • 2
  • 9
  • 24
1
vote
0 answers

Create MANOVA tables for publication using R?

I was wondering whether its possible to generate APA/publishable tables for MANOVA in R? There are various packages and methods (e.g. 'sjPlot', 'stargazer', 'apaTables') that seem to do the job for different forms of ANOVA and regression. It may…
Kai P
  • 23
  • 4