From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: how to compare the values of a variable at different observations |
Date | Mon, 18 Jul 2005 10:26:25 -0500 |
At 10:55 AM 7/18/2005 -0400, sarah smith wrote:
Hi Sarah. First off, better to start a new thread than to reply to an old one and then change the title. But, if you do reply, at least delete all the material that is irrelevant to your post!Dear STATA users, I wonder how I can compare the values of a variable, say var1, at different observations? (In particular I want to do regressions such as the one below) if var1(at line 2) = var1(at line 10 ) { regress y x in 2/10 } Thanks for suggestions, Sarah
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |