Statalist


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

st: Lowess regression


From   Honorati Masanja <[email protected]>
To   [email protected]
Subject   st: Lowess regression
Date   Sat, 01 Dec 2007 14:05:16 +0300

Dear Statalisters

I'm running a lowess regress and have the follow code which I'll appreciate your help

forval i=0.2(0.1)0.8 {
lowess lnu5m year, bwidth(`i') gen(alph`i')
}

What I want is to have the variables alph as follows,

if i=0.2 then alph20
if i=0.21 then alph21

Many thanks

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