Hello everyone,
I have panel data that include firm-years observations for many countries. I want to drop only observations that don't have a market return of -2556.27 but only if the country is "BR" and the year is "2009".
I tries this code but it drops all of the observations in BR and 2009:
drop if (year==2009 & CTRY=="BR" & markRET!=-2556.27)
Thanks in advance
I have panel data that include firm-years observations for many countries. I want to drop only observations that don't have a market return of -2556.27 but only if the country is "BR" and the year is "2009".
I tries this code but it drops all of the observations in BR and 2009:
drop if (year==2009 & CTRY=="BR" & markRET!=-2556.27)
Thanks in advance
Comment