Hi.
If I have an array -
array z
x1-x5 y1-y10;
and I want to get rid of the lowest 2 values in x1-x5, and the lowest 2 values of y1-y10, how do I get rid of the values, and not the entire observation/variable? Or conversely, is there a way to just keep a subset of the kth highest values in x1-x5, y1-y10?
Sorry for the bad tables, but -
I have this:
obs x1 x2 x3 x4 x5 y1 y2 y3 ... y10
1 10 9 2 5 3 9 9 0 ... 2
2 0 0 7 10 9 3 10 9 ... 10
...
500 9 5 9 5 9 10 5 6 ... 7
what i want is something like:
obs x1 x2 x3 x4 x5 y1 y2 y3 ... y10
1 10 9 . 5 . 9 9 . ... .
2 . . 7 10 9 . 10 9 ... 10
...
500 9 . 9 . 9 10 . . ... 7
thanks!