BookmarkSubscribeRSS Feed
agambacc
Calcite | Level 5

I have a wide SAS dataset that was transposed to contain one row per person.

I am trying to run a regression to look at the impact of rank on Salary over time.

 

So now I have 4 columns for salary (numeric), 4 columns for rank (character and stored as number range1-3).

What analysis should I run for this? I think I am missing something.

 

2 REPLIES 2
PaigeMiller
Diamond | Level 26

This is all too brief a description for us to comment (what are the 4 columns for salary???), plus furthermore I think that this is an issue you need to discuss with your clients in more detail to find out what they want; and if possible, discuss with a statistician at your company.

--
Paige Miller
TomKari
Onyx | Level 15

I agree completely with @PaigeMiller

 

One additional comment is that you mention that your data is transposed into one row per person. Typically, that is the correct structure for data intended for analysis, so for now I suggest that you keep it that way.

 

Tom

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1245 views
  • 0 likes
  • 3 in conversation