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: Call for Content

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 647 views
  • 1 like
  • 3 in conversation