I have been told to run a factor analysis using the stepwisefit function in MATLAB.
Basically, this function helps you fit a model composed of $T$ factors $F=(f_1, ... , f_T)$ each of which have $N$ values with a target vector $y$ with the same length.
I know for a fact that my factors are correlated, and I was wondering if this function was assuming that the factors are uncorrelated or not...
Should I still use this function or, if it's not the case, which function/method should I choose to perform my analysis?
stepwisefit
is stepwise regression analysis $\endgroup$