Hello, I would like to know if anyone out there is able to help me write the SAS code for the following task: Here is the scenario: (a) My data has 3 variables x,y & z (b) All of my y fields are populated but only some of the x and z fields are populated. As long as an x field has a value, the z field also has to have a value. (c) Some of the values in the y field are the same which means that their x and y values will always be the same as well. HERE'S HOW MY DATA LOOKS... x y z . 1 . 6 1 9 6 1 9 . 1 9 . 1 9 8 2 7 8 2 7 . 2 . . 2 . . 2 . . 3 . . 3 . . 3 . 5 3 4 HERE'S MY QUESTION: How do I write a code so that I do not need to manually input all the missing x and z values in my dataset given that all of my y's are populated and I have values for some of their x and z's??? Hope someone out there can help me... Thanks, dede1 ps - I'm using v9.4
... View more