I have a file with about 20,000 observations, but the variable A is blank in the vast majority of observations. All other variables have values for every observation.
The first observation provides a value for the variable A. I want to assign all successive observations with blank values the value for variable A.
The unduplicated value of variable A changes from beginning to end of observations.
I am trying to write a loop of some sorts that assigns the non-blank value of variable A to all successive blank values and then increment to the next unduplicated value of variable A for the next group of successive blanks.
Is this possible?
The first observation provides a value for the variable A. I want to assign all successive observations with blank values the value for variable A.
The unduplicated value of variable A changes from beginning to end of observations.
I am trying to write a loop of some sorts that assigns the non-blank value of variable A to all successive blank values and then increment to the next unduplicated value of variable A for the next group of successive blanks.
Is this possible?