| From | "Michael S. Hanson" <[email protected]> |
| To | [email protected] |
| Subject | Re: st: RE: Reindex/rebase time series? |
| Date | Fri, 15 Apr 2005 00:35:24 -0400 |
On Apr 14, 2005, at 5:29 PM, Nick Cox wrote:
qui foreach v of var <varlist> {
su `v' if tin(2000q1,2000q4), meanonly
gen `v'2000 = `v' / r(mean)
}
Thanks, Nick, for your prompt and helpful reply -- the answer seems
obvious now that I see it.| © Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |