Therefore, I would like to drop the whole variable for any variable that has any observation that is outside this range.
Example data:
date | var1001 | var2001 | var3001 | ... |
21937 | 0.9 | 0.8 | 0.7 | |
21938 | 0.8 | 0.7 | 0.6 | |
21939 | 0.6 | 1.4 | 0.9 | |
21940 | 1.0 | 0.2 | 1.0 |
I really can't figure out how to do it, neither in long or wide formats.
Really grateful for any help.
0 Response to Getting rid of entire variables due to single outlier observations
Post a Comment