Recent content by cafu

  1. C

    string values (several male names) to numerical var

    Hi, this is my first question here, i'm learning STATA. I have a string var ("names") and I need to make a list of a group of those names in order to generate a new variable ("sex"). Something like "if name is Andrew, Jake, Michael, then sex=1 of sex=male" (the difference with the example is...