Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: linear interpolation


From   Scott Cunningham <[email protected]>
To   [email protected]
Subject   Re: st: linear interpolation
Date   Tue, 25 Jul 2006 20:19:38 -0400

Rafal,

Forget my last email - I think I figured it out. I'm thinking something along these lines:

. by id: egen age2 = max(age)
. by id: replace age=age2
. drop age2

Thanks to you and Scott for all your help.

scott

*
* 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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index