Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: quick question about spline


From   Shige Song <ssong@nicco.sscnet.ucla.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: quick question about spline
Date   Wed, 7 Apr 2004 01:02:01 -0700 (PDT)

Dear All,

For example, in a regression model where age is one of the independent
variables. I am not sure the functional form of age so I want to use
age spline in the model. I choose cubic spline using "frencurv, power(3)".
Now I want to test whether there is gender difference in age effect, can I
simplely generate a set of interaction terms between gender and the set of
spline variables or there are something else I need to do? Thanks!

Shige
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index