jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
55 stars 29 forks source link

[Feature Request]: Allow users to control the number of iterations and random starts for varimax in PCA and cite algorithm source #2754

Open TarandeepKang opened 3 weeks ago

TarandeepKang commented 3 weeks ago

Description

In the PCA context (only) certain settings are recommended that cannot be recreated in JASP

Purpose

improved PCA with varimax

Use-case

PCA

Is your feature request related to a problem?

currently parameters cannot be adjusted

Is your feature request related to a JASP module?

Factor

Describe the solution you would like

give users more flexibility

Describe alternatives that you have considered

No response

Additional context

From

Weide, A. C., & Beauducel, A. (2019). Varimax Rotation Based on Gradient Projection Is a Feasible Alternative to SPSS. Frontiers in Psychology, 10. https://doi.org/10.3389/fpsyg.2019.00645

"Users of GPR-Varimax should allow for at least 250 iterations, normalize loadings before rotation, and select the best solution from at least 10 random starts to ensure optimal results"

Note: Psych::fa does have similar arguments so it it should be possible to implement this?

Psych fa uses the GPArotation packacge for many of the algorithms so I think it should go in the help file?

Bernaards, C. A., and Jennrich, R. I. (2005). Gradient projection algorithms and software for arbitrary rotation criteria in factor analysis. Educ. Psychol. Meas. 65, 676–696. doi: 10.1177/0013164404272507