Hi, I am currently learning to use stata and for this I use the sysuse auto file.
I wanted to use the command "list" which only shows the variable foreign if the varibale is "Domestic" or on the other hand "Foreign".
I tried to create this:
list foreign if foreign==Foreign
or
list foreign if foreign==Domestic
Both times, I get an error message:
r(111);
What would be the corrent syntax?
Thanks for your support.
I wanted to use the command "list" which only shows the variable foreign if the varibale is "Domestic" or on the other hand "Foreign".
I tried to create this:
list foreign if foreign==Foreign
or
list foreign if foreign==Domestic
Both times, I get an error message:
r(111);
What would be the corrent syntax?
Thanks for your support.

Comment