BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
nikky
Fluorite | Level 6

I will like to calculate average GPA(numerical variable) for seat locations(categorical variable).

 

How can i set this up in SAS. Am making use of an imported data.

1 ACCEPTED SOLUTION

Accepted Solutions
novinosrin
Tourmaline | Level 20

Hello @nikky  Do you have a imported SAS dataset?

 

If yes, 

1. Have you looked at descriptive stats procedures like proc summary,means etc?

2. If you want SQL, have you looked at functions like mean/avg ?

 

 

View solution in original post

2 REPLIES 2
novinosrin
Tourmaline | Level 20

Hello @nikky  Do you have a imported SAS dataset?

 

If yes, 

1. Have you looked at descriptive stats procedures like proc summary,means etc?

2. If you want SQL, have you looked at functions like mean/avg ?

 

 

ballardw
Super User

What does your existing data look like?

 

Very likely proc summary with seat as CLASS variable (or By variable) will work if you need a data set.

 

Procs Report or Tabulate will create report for people to read.

 

So, which do you need?

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 679 views
  • 1 like
  • 3 in conversation