I have a dataset containing two variables: TE and EE. I use this command to generate 5 quantiles of TE:
then I want to delete all values of EE less than 50 in the 3rd quantile of TE. I use command bellow, but I get this error: ‘=exp not allowed’. What command should I use?
Code:
xtile Q= TE, nq(5)
Code:
drop if Q=3 & EE<50

Comment