Hello alltogether,
I want to run proc factor with a correlation matrix with more then 150 items as input dataset.
Regarding the results of proc factor I need two datasets:
1. outstat=data1
2. ods output orthrotfactpat=data2
I would like to reduce or even better avoid the output of proc factor.
But when using the NOPRINT option I don't get the ods output.
Is there any way to reduce or avoid the ouput of proc factor, but to get the datasets data1 and data2?
This is the syntax I use:
proc factor score data = correlationmatrix (TYPE=CORR) method = PRINCIPAL priors = ONE rotate = PROMAX
nobs = totalNumberObservation nfactors = NumberFactors noprint outstat = data1;
ods output orthrotfactpat = data2;
run;
Thanks for your help!
badikidiki
You can't use NOPRINT with ODS OUTPUT
Remove the NOPRINT option, try this
ods listing select none;
proc factor ...
run;
ods listing select all;
Hello
thanks for your answer.
But I get an error message with your syntax.
ERROR: The LISTING destination is not active; no select/exclude lists are available.
What do I have to do?
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.