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]
st: Margins after restricted cubic spline
From
Fred Wolfe <[email protected]>
To
[email protected]
Subject
st: Margins after restricted cubic spline
Date
Mon, 26 Jul 2010 12:06:03 -0500
Is there any way to get predicted margins (in the original units)
using -margins- with a restrictive cubic spline
mkspline sphaq = haq,cubic displayknots
reg pain sphaq*
I want to be able to get the information in
margins,at(haq=(1 2 3))
but, of course, that doesn't work: "'haq' not found in list of covariates"
Thanks,
Fred
--
Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
NDB Office +1 316 263 2125 Ext 0
Research Office +1 316 686 9195
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/