Dear Madam/Sir,

I am new to STATA programming. After searching several posts, I make the following command with the error message.

keep if 5200<=sic<=5999|5000<=sic<=5199|2000<=sic<=3999|10 00<=sic<=1400|
invalid syntax
r(198);

Any advice will be highly appreciated.

Sincerely,
Joon