Chi Zhang,
The first issue is a data coding issue. If you look at gdf$ID and gdf$groups, there is near perfect redundancy there. That is, the IDs are a combination of ‘groups’ and some other ID components (D2, N3, N5, N6, N7, Z1). However, with the exception of N3, all of the latter are found in only 1 group. This redundancy is why you are not obtaining multiple factors in the model, as there are not really 2 factors as you have coded them.
As for the negative Z-score, your interpretation of these is incorrect. They are not SS, and thus do not have to be positive. Instead, they represents the location of the observed test statistic on its normalized RRPP permutation distribution (see help file of procD.lm and lm.rrpp where this is described). Having a negative Z-score simply means that the observed value is less than expected relative to the mean of that permutation distribution. That implies that the effect for that term in the model is not overly explanatory, and would correspond with a nonsignificant p-value as you have for the replica term.
Dean
Dr. Dean C. Adams
Distinguished Professor of Evolutionary Biology
Department of Ecology, Evolution, and Organismal Biology
Iowa State University
https://faculty.sites.iastate.edu/dcadams/
phone: 515-294-3834
--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
geomorph-r-pack...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/geomorph-r-package/3ff46cdb-f84f-4496-9a48-7632eb47bdd1n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/CO6PR04MB8427DC6316B43B5BA42C2B1AA2A32%40CO6PR04MB8427.namprd04.prod.outlook.com.
Chi,
Your objective is not entirely clear to me. Do you mean you want to know whether the variation among replicates for each individual is greater in one group versus the other? Do you mean the variation among individuals within replicates? Or some other notion of variation? A precise definition of the problem is usually quite helpful to sorting out what one wishes to do.
For instance, differences among groups is often referred to as ‘variation’ among groups. That is an ANOVA type question, which in the multivariate world is a question evaluating the ‘location’ of group means in the multivariate space (are the group means close
to one another or far away, relative to within-group variability).
By contrast, one could ask a question of differing variation within groups, which is whether one group displays greater variation as compared with another (regardless of the group mean location). That is a question about the size of the cloud of variation, typically handled by a disparity analysis (disparity is a measure of within-group variation).
Your question “I want to compare the amount of individual variations within two "groups"” could also imply something else: that you wish to measure individual disparity, and then determine whether the disparity of these disparities differs in group 1 and 2.
As you can see, how the word variation is used matters a great deal for how one might suggest an analysis procedure. I am a bit unclear as to where you wish your analysis to go. Perhaps others in the group can chime in for enlightenment.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/CAOnqUe-OP64Fmt%2Bpz2KtzO5Sqt8e3Trnigo7GFDCmYhEF-pyrQ%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/CAOnqUe-OP64Fmt%2Bpz2KtzO5Sqt8e3Trnigo7GFDCmYhEF-pyrQ%40mail.gmail.com.
Got it. See Mike’s email, as his further explains the test design challenges with what you had originally attempted.
Good luck!
Dean
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/7642e521-8091-46b4-900e-a4cee16681b2n%40googlegroups.com.