Dear all,
I have a somewhat basic question, but I don't seem to find a satisfactory answer by browsing literature.
The issue is that I'm getting different results between the results of the model in procD.lm and the pairwise of the groups (morphol.disparity). I only have two groups of individuals, so my rationale is that if my model says that there is an effect of my factor (significant factor), my two groups should have different shapes. However, when I do the morphol.disparity (or manual pairwise through "pairwise" and "test.type = "var"), the results are far from significant. Furthermore, if I analyze the data through PCA decomposition and MANOVA with the resulting PCs, I do find a significant pairwise comparison (and model).
This has happened in both ways (e.g. morphol.disparity finding significant differences while model and PCA-MANOVA do not).
Can someone point me to why is happening this? which is the most "reliable" result or the place where I should look to find an explanation, would be most appreciated :). I paste below the relevant parts of my R script.
Kind regards,
Melina
Mod<-procD.lm(Coords~Size+Mes,
iter = 999, data = gdf)
summary(Mod)
PW<-pairwise(Mod, groups = gdf$Mes)
summary(PW, test.type="var",confidence=0.95)
morphol.disparity(Mod, groups = gdf$Mes, data = gdf, iter = 999)
pca<-gm.prcomp(gpa$coords) #PCA analisis
PCs<-pca$x #guardar los pca scores
Vars<-as.matrix(PCs[,1:39])
Comp1<-manova(Vars~gdf$Mes+gdf$Size)
summary(Comp1)