[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: replace values of all members of a group with the values of one
I need to add sth!
/* generating a variable holding the date from the appointment with
def_inrange==1. This won't work for groups where def_inrange takes
a missing value.
Added: an if-condition to make sure that the command does not produce
wrong results for groups with all def_inranges==0!
bysort donor_id (def_inrange): gen test=date[_N] if def_inrange[_N]==1
* For searches and help try: