Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Margins after restricted cubic spline


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
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
fwolfe@arthritis-research.org

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index