Help using Base SAS procedures

how can I assign serial numbers to observations

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 118
Accepted Solution

how can I assign serial numbers to observations

Hello,

In SAS, how can I assign serial numbers to observations organized by group  in a data set. My data set looks like this:

GROUP     OBSNUB

1                    1

1                     2

1                     3

.

.

2                    1

2                    2

2                    3

.

.

3                    1

3                     2

3                     3

3                      4

Thanks


Accepted Solutions
Solution
‎02-28-2014 01:52 PM
Super User
Posts: 19,851

Re: how can I assign serial numbers to observations


All Replies
Solution
‎02-28-2014 01:52 PM
Super User
Posts: 19,851

Re: how can I assign serial numbers to observations

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 1419 views
  • 0 likes
  • 2 in conversation