easystats / parameters

:bar_chart: Computation and processing of models' parameters
https://easystats.github.io/parameters/
GNU General Public License v3.0
421 stars 36 forks source link

Robust factor analysis #225

Open DominiqueMakowski opened 4 years ago

DominiqueMakowski commented 4 years ago

Now that correlation is on CRAN, we could add robust=F option to factor_analysis so that it would be based on a robust correlation method (spearman, percentage bend, sheperd's pi or biweight via robust_method).

mattansb commented 4 years ago

The idea of "robust" is weird - robust measures are measures less affected by changes in data values, which Spearman's corr is because it is on ranked data. But it is not like it gives the same info as Pearson's corr - both test different things. Just like the median isn't a "robust" mean...

All this to day - are we documenting well enough for this?


Also, yes, "robust" PCA/FA sounds like a great idea😜

DominiqueMakowski commented 4 years ago

The idea of "robust" is weird - robust measures are measures less affected by changes in data values, which Spearman's corr is because it is on ranked data. But it is not like it gives the same info as Pearson's corr - both test different things. Just like the median isn't a "robust" mean...

Yes that's very true, although the rank conversion can eventually mitigate for the effect of outliers (let's say you have the same correlated data, spearman and Pearson giving roughly the same results, if you add one big outlier, the Pearson correlation will take off, while Spearman will remain mostly calm ☮️), so in that sense, it is sort of a robust correlation method? but then what does robust even mean... anyway that's eventually a discussion to have on correlation 😁

strengejacke commented 3 years ago

Is this still important for parameters, or something for correlation?