Closed TarandeepKang closed 7 months ago
@TarandeepKang Would you still be interested in testing out linear discriminant analysis? If so, could you please send me an email: a.ly@jasp-stats.org
This article is a bit dated but denotes best practice with post hoc MANOVA. I concur with TarandeepKang. This is needed.
Performing multivariate group comparisons following a statistically significant MANOVA.pdf
Hi @rsbalkin and @TarandeepKang ,
Sorry I am just now taking note of this. I think this analysis is already implemented, but part of the machine learning module. Could you take a look and see if this analysis does what you want it to do?
Kind regards Johnny
So, I typically use DFA as a post hoc for MANOVA. SPSS gives me very different output that I cannot replicate in machine learning for JASP.
Take a look.
Rick
Richard S. Balkin, Ph.D., LPC, NCC Editor-in-Chief, International Journal for the Advancement of Counselling Fellow, American Counseling Association Professor & Chair, Coordinator for Educational Research and Design Department of Leadership and Counselor Education School of Education University of Mississippi email: @.***

On Feb 28, 2023, at 5:18 AM, JohnnyDoorn @.***> wrote:
Hi @rsbalkin https://github.com/rsbalkin and @TarandeepKang https://github.com/TarandeepKang ,
Sorry I am just now taking note of this. I think this analysis is already implemented, but part of the machine learning module. Could you take a look and see if this analysis does what you want it to do?
Kind regards Johnny
— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/256#issuecomment-1448003140, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANHERYGJ2TXWM3Y4BRS5MJTWZXNGRANCNFSM4GF6N24Q. You are receiving this because you were mentioned.
Hi @JohnnyDoorn,
I would also like to request the inclusion of the permuted version of this test as I mentioned in #458
The pDFA has a number of advantages over the regular discriminant function analysis. This analysis was designed and proposed by Mundry and Sommer (2007). In the abstract of the paper The authors summarise the advantages of the test thus:
“ The discriminant function analysis (DFA) is a multivariate method that is frequently used in bioacoustic research to examine, for instance, whether calls from different species, contexts, or social groups can be distinguished by their acoustic properties. Most published studies include more than one call per subject into such an analysis. This, in fact, leads to a two-factorial data set that includes the factor ‘subject’ in addition to the factor of interest (e.g. species, context, or social group). The regular version of the DFA, however, does not allow for the analysis of such data sets without violating the assumption of independence. In this paper, we show that analysing factorial data sets using a conventional DFA is a case of pseudoreplication and tends to produce (sometimes grossly) incorrect results. In such a case the discriminability of species, contexts or groups etc. can be drastically overestimated. Furthermore, we provide a permutation-based procedure that copes with such data sets.“
The citation for the paper is: Mundry, R., & Sommer, C. (2007). Discriminant function analysis with nonindependent data: Consequences and an alternative. Animal Behaviour, 74(4), Article 4. https://doi.org/10.1016/j.anbehav.2006.12.028
The author has developed code for SPSS and R, it is not publicly available but can be shared upon request. Happy to contact him for the code if you are interested. Apologies for taking so long to respond, I just checked back on this issue and only now saw that you had posted a question for us in February!
Can be closed, since duplicate of https://github.com/jasp-stats/jasp-issues/issues/458