Syed - I don't know if this helps you, but -qreg- (median regression)
minimizes the sum of absolute errors (clearly you can't minimize the sum
of errors).
Al Feiveson
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
sr218@bard.edu
Sent: Thursday, November 30, 2006 11:34 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: Estimating the Thresholds
I was curious as to what function (if there are any) would be
appropriate for estimating the thresholds in a linear regression (as
suggested by Hansen 1996, 2000) by minimizing the sum of errors. I was
thinking of using some spline function, but wasn't sure as to which one.
I've tried searching online, and that doesn't help. I haven't been able
to get in touch with anyone who deals with this either. If anyone has
any words of wisdom ...
Syed Rahman
*
* 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/
*
* 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/