Hello.
Please take a look at the proc print screen grab. I'm posting because I have a homework assignment that's asking me to use arrays and do-loops to accomplish the following:
1) identify the date of the largest blood lead level, and
2) create a new variable for this date.
So, for example, since the first subject's highest blood lead level (sample 3 = 1.55) corresponds to 1/14/1990, the variable I want to create would identify 1/14/1990.
Similarly, since the third subject's highest blood lead level (sample 2 = 3.62) corresponds to 06/06/1990, the variable I want to create would identify 06/06/1990.
Does anyone know how I can write a program to do this?
Thanks,
GP
Please take a look at the proc print screen grab. I'm posting because I have a homework assignment that's asking me to use arrays and do-loops to accomplish the following:
1) identify the date of the largest blood lead level, and
2) create a new variable for this date.
So, for example, since the first subject's highest blood lead level (sample 3 = 1.55) corresponds to 1/14/1990, the variable I want to create would identify 1/14/1990.
Similarly, since the third subject's highest blood lead level (sample 2 = 3.62) corresponds to 06/06/1990, the variable I want to create would identify 06/06/1990.
Does anyone know how I can write a program to do this?
Thanks,
GP