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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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