Skip to content
Prev 10089 / 29559 Next

madifa with qualitative variables

Hello Jeanne,
Indeed, the MADIFA's properties have not been well explored in the case 
of nominal variables... in addition, the current algorithm implemented 
in the function madifa relies on the inversion of the matrix of "used 
covariances", which is not possible in the case where qualitative 
variables are in the data (the matrix is not inversible, explaining the 
error message).
An alternative algorithm to perform the MADIFA is described in

@ARTICLE{,
   author = {Calenge, C. and Basille, M.},
   title = {A general framework for the statistical exploration of the 
ecological niche},
   journal = {Journal of Theoretical Biology},
   year = {2008},
   volume = {252},
   pages = {674-685}
}

and is implemented in the function gnesfa (this method place the ENFA 
and the MADIFA in a more general framework).
Thus, the command:

madifa(toto, pr)

is exactly the same as:

gnesfa(toto, Reference=pr)

though the latter do not rely on matrix inversion.
This solves the technical problem of matrix inversion, but not the 
problem of the meaning of the results, which is an open issue...
HTH,
Best regards,


Cl?ment Calenge