Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I would like to understand the syntax of inlist2 for future reference
    The source of inlist2 is in the SSC repository: http://fmwww.bc.edu/RePEc/bocode/i/inlist2.ado
    For help on inlist2's syntax type :
    Code:
    view view http://fmwww.bc.edu/RePEc/bocode/i/inlist2.sthlp

    Comment


    • #17
      Originally posted by Francois Durant View Post
      I have tried inlist2 in another problem but it seems to keep only the last string written in the parenthesis with the following syntax. How can I amend? Thanks.

      Code:
      inlist2 country, val( Australia , Austria , Belgium , Canada , Chile , China,P.R.: Mainland , Colombia , Czech Republic , Denmark , Estonia , Euro , Finland , France , Germany , Greece , Hungary , Iceland , Indonesia , Ireland , Israel , Italy , Japan , Korea , Latvia , Luxemburg , Mexico , Netherlands , New Zealand , Norway , Poland , Poland , Russia , Slovak Republic , Slovenia , South Africa , Spain , Sweden , Switzerland , United Kingdom , United States )
      keep if inlist2==1
      Sorry for the late answer, didn't get the notification. It probably has to do with the spaces, If you send me over an example via email I am happy to check. Email is in the help file.

      Comment

      Working...
      X