Extracting Principal Components via code
Posted: Fri Mar 10, 2017 12:58 am
Hi,
I use the below code to get the principal components which satisfy the condition of min eigen to not fall below 1:
freeze(tab) all.pcomp(cov=cov, mineigen=1, eigval=eval, eigvec=evec)
Now, I want the code to determine how many principal components are extracted with this criterion. Is there a way to do it via code, rather than analysing the table per se?
I use the below code to get the principal components which satisfy the condition of min eigen to not fall below 1:
freeze(tab) all.pcomp(cov=cov, mineigen=1, eigval=eval, eigvec=evec)
Now, I want the code to determine how many principal components are extracted with this criterion. Is there a way to do it via code, rather than analysing the table per se?