Hi,

I Have repeated IDs of observations. I want to repeat the result of each cell value of a column in the other cells of that column if the ID is same.

For example:

replace var11 = 1 if drug_level4value == "heparin group"

*Then I want to repeat it for the repeated IDs even though the above "if" is not true for other observations of each ID.

More Seyyed Amir Yasin Ahmadi's questions See All
Similar questions and discussions