tag:blogger.com,1999:blog-2722671667390463266.post3637202402882909937..comments2022-03-27T09:26:06.493-07:00Comments on Oh mission: Stata tip: "Mega If" : a simple command to generate long if conditionsShafique Jamalhttp://www.blogger.com/profile/04967937399790643577noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2722671667390463266.post-4735268995696816632015-08-26T18:47:17.197-07:002015-08-26T18:47:17.197-07:00Cool. Wish I had know that earlier - thanks for po...Cool. Wish I had know that earlier - thanks for posting!Shafique Jamalhttps://www.blogger.com/profile/04967937399790643577noreply@blogger.comtag:blogger.com,1999:blog-2722671667390463266.post-19370251812486801262014-09-04T05:42:00.569-07:002014-09-04T05:42:00.569-07:00I think the command inlist does the same thing ?
...I think the command inlist does the same thing ?<br /><br />replace group = 1 if inlist(benefitNumber, 1, 2, 3, 4, 5, 6, 11, 12, 17, 19, 21, 22, 23)<br /><br />?Timathttps://www.blogger.com/profile/11051820275528319712noreply@blogger.com