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 on April 23, and its replacement, 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 <>
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"



Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
NDB Office  +1 316 263 2125 Ext 0
Research Office +1 316 686 9195

*   For searches and help try:

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