From | Ernest Berkhout <[email protected]> |
To | [email protected], <[email protected]> |
Subject | Re: st: RE: RE: Re: How to speed up loop |
Date | Fri, 17 Sep 2004 13:38:08 +0200 |
At 13:21 17/09/2004, Scott Merryman wrote:
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).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.
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |