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

st: RE: broken stick (piecewise linear) regression


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: broken stick (piecewise linear) regression
Date   Tue, 24 May 2005 12:55:09 +0100

. search mkspline 

should help. See both entries. 

Nick 
n.j.cox@durham.ac.uk 

keith Farnsworth
 
> I intend to fit a broken stick model following Bacon and Watts  
> "Estimating the transition between two intersecting straight lines",  
> Biometrika 1971. I have seen code for this to use the S or R 
> package's  
> nls, which I suspect uses maximum likelihood (but not sure) [see  
> http://www.biostat.wustl.edu/archives/html/s-news/2000-04/ 
> msg00215.html].
> 
> I am not an S user, I am a Stata enthusiast!
> However, I found no reference to this kind of model in Stata 
> searches.  
> I hope someone with more experience than me can explain how 
> Stata will  
> implement the Bacon and Watts model.

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