Statalist


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

Re: st: how do I get the knot values and show them (as xlab?) in the graph, using rcspline?


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: how do I get the knot values and show them (as xlab?) in the graph, using rcspline?
Date   Mon, 4 May 2009 13:13:22 +0000 (GMT)

--- On Mon, 4/5/09, jmpsouza wrote:
> I am not able to get explicitly the knot values and to put
> them in the x axis when using rcspline (a .ado written by 
> Nick Cox). For example -rcspline rihoma nd3peso, stub(stub)
> gen(new) sh- gives a nice graph, but does not allow me   
> to know and to plot the knots.

You can specify the -showknots- option. Quoting from the 
helpfile of -rcspline:
"-showknots- specifies that the positions of the knots be 
shown on the graph by vertical lines."

-- Maarten

-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      

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