TiagoOlivoto / metan

Package for multi-environment trial analysis
https://tiagoolivoto.github.io/metan/
GNU General Public License v3.0
35 stars 17 forks source link

AMMI Analysis #17

Closed HaroldCh14 closed 2 years ago

HaroldCh14 commented 2 years ago

I make my AMMI analysis with metan but the results don´t coincide with agricolae and with the program in SAS. The PC are negative when should be positive and vice versa.

I don´t know what is happening, could be my mistake on the code?

Grettings, i hope your answer.

TiagoOlivoto commented 2 years ago

Dear @HaroldCh14, I have observed such behavior sometimes. This seems to be related to the singular value decomposition method (https://stackoverflow.com/questions/31268493/different-result-from-sas-iml-and-r-in-svd-decomposition). However, the interpretation of results will not change. If you look at the biplot, the relationship between genotypes/environments will remain the same.

Since there is no clear bug, I will close this now. Please, feel free to email me if you need more information Best regards

HaroldCh14 commented 2 years ago

@TiagoOlivoto Thank you so much for your answer.

Best regards from Colombia.