BookmarkSubscribeRSS Feed
Emily_s
Calcite | Level 5

Im using proc recommand in sas studio. I want to know how all user's score is shown. 

I have this code. That code can show just 2 person's score which of '10006','15000'.

     predict /label  = "knn"
            method = knn  
            Num    = 5
            users = ("10006","15000");

 

how can i get all user's score?

1 REPLY 1
ballardw
Super User

Provide example data and what the result should look like. There are enough potential definitions of "score" to cause some confusion.

And snippets from the middle of a procedure aren't terribly helpful either as many SAS procedures share common elements and we cannot even tell which one you may be using.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1037 views
  • 0 likes
  • 2 in conversation