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?

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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