Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte(block x1) 1 1 1 1 1 2 1 2 1 2 1 . 2 3 2 3 2 3 2 3 2 4 2 4 2 . 3 5 3 5 3 5 3 6 3 6 3 6 3 . end
If there is a tie for the most frequent value, it is replaced with the highest value of x1. The result should be this:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte(block x1) 1 1 1 1 1 2 1 2 1 2 1 2 2 3 2 3 2 3 2 3 2 4 2 4 2 3 3 5 3 5 3 5 3 6 3 6 3 6 3 6 end
0 Response to Interpolation on null values with the most frequent value
Post a Comment