BookmarkSubscribeRSS Feed
micromass
Calcite | Level 5

Hello,

 

I am using PROC PRINQUAL to do some analysis on a big database of variables.

Now, since PROC PRINQUAL takes a lot of time to run on the total dataset, I have selected at random 50000 observations to run the procedure on. This generates very good output, in terms of transformations and scores.

 

But now I also need to generate the transformations and the scores for the observations not taken into account in the PROC PRINQUAL.

Now, if I was doing a usual PCA, this would be simple: there is an easy formula

Y_i = c_1 X_1 + ... + c_n X_n

And I could easily compute this with PROC SCORE. But since my variables now have undergone a transformation, it is not clear to me what the corresponding formula would be. Is there any way to get this formula from SAS, or to apply the PRINQUAL formula to the new observations?

3 REPLIES 3
PaigeMiller
Diamond | Level 26

Typically, the approach to apply the model to additional data and obtain the predicted values is to include the additional data in the original data set with missing Y values. Then, PROC PRINQUAL fits the model based upon only the observations that contain non-missing Y values, but predicted Y values are produced for ALL observations.

--
Paige Miller
micromass
Calcite | Level 5

Thanks a lot! I read about passive observations and I tried it before. But the PRINQUAL procedure ran as long as with the additional data.

I think I'm doing something wrong. Could you perhaps give some very short sample code on how to do this?

PaigeMiller
Diamond | Level 26

You show me your code and SASLOG instead of me writing some code.

 

By the way, what is the problem? Did it not work, or did it take too long, or something else? Your description isn't really clear about what the problem is.

--
Paige Miller

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1973 views
  • 0 likes
  • 2 in conversation