I want to drop the top 1 percentile with regards to only the positive observations, I am new to STATA so this might too simple for this forum. I could not find an answer on the forum so:
set seed 630550
drop if hour89mo > 55000
summarize if hour89mo > 0
keep if inrange( hour89mo , r(p1) , r(p99)) however this syntax does not keep the values which are zero
Thanks in advance
set seed 630550
drop if hour89mo > 55000
summarize if hour89mo > 0
keep if inrange( hour89mo , r(p1) , r(p99)) however this syntax does not keep the values which are zero
Thanks in advance
Comment