Have: UID v1 v2 v3 v4 1 0 0.01 0.1 1 1 1 0.01 . 1 1 10 0.01 . 1 2 0 0.01 1 0 2 1 0.01 . 0 2 10 0.01 . 0 want: UID v1 v2 v3 v4 1 0 0.01 0.1 1 1 1 0.01 . 1 1 10 0.01 . 1 1 0 0.01 0.1 0 1 1 0.01 . 0 1 10 0.01 . 0 1 0 0.01 0.2 1 1 1 0.01 . 1 1 10 0.01 . 1 1 0 0.01 0.2 0 1 1 0.01 . 0 1 10 0.01 . 0 2 0 0.01 1 0 2 1 0.01 . 0 2 10 0.01 . 0 2 0 0.01 1 1 2 1 0.01 . 1 2 10 0.01 . 1 2 0 0.01 2 0 2 1 0.01 . 0 2 10 0.01 . 0 2 0 0.01 2 1 2 1 0.01 . 1 2 10 0.01 . 1 So. V4 need to be modified for each value of v3 (as you see in the input first 3 observations of ID 1 change from 1 to 0 and then V3 need to be incremented 10 times its original value per ID. so, v3=0.1,0.2,0.3........1 per ID. Any help to achieve this in SAS? Thanks
... View more