Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: using lowess to compare groups
From
Austin Nichols <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: using lowess to compare groups
Date
Thu, 28 Nov 2013 10:21:25 -0500
Josephine <[email protected]>:
Consider a regression using a spline in age (help mkspline) and its interaction:
sysuse nlsw88, clear
g w=race==1
mkspline a_ = age, cubic nknots(4)
foreach v of var a_* {
gen w`v'=w*`v'
}
reg wage a_* w wa_*
predict what
sc what age
On Thu, Nov 28, 2013 at 10:07 AM, Mollon, Josephine
<[email protected]> wrote:
> Hi, I am using Stata 10 and want to model the association between age and a continuous variable, but also look at group differences in this association. The groups are symptomatic and control groups. I have used lowess smoothing to create graphs of my data, but don't know how to use lowess to obtain a statistical model.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/