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?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: