Thank you.
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Ernest Berkhout
> Sent: Friday, September 17, 2004 6:38 AM
> To: [email protected]; [email protected]
> Subject: Re: st: RE: RE: Re: How to speed up loop
>
> At 13:21 17/09/2004, Scott Merryman wrote:
> >Could you please explain how this -gen mage = age[mlineno]- works or
> where I
> >could find it. I realize that square brackets are used for explicit
> >subscripting, but is not clear to me how this working.
>
> For a particular record, the _value_ of the variable mlineno is
> substituted, so that f.i. when mlineno records the value of 2 (mother's
> record is the second in line) the righthandside becomes age[2], meaning
> the
> value of age from the second record (being the mother).
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/