| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Hockey stick type curve fit |
| From: | yiwu ye <yiwu21111958@yahoo.com> |
| Date: | Sun, 9 Apr 2006 22:20:04 -0700 (PDT) |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fqdm5p7N7gmMfVt6VOkX4ss3aJSWyxRTnePbZBeVP56ESxojn9XwA3otvfMkquvfophFnDvsh7foxZpaXXg3LbaHJOtRGXgXhIWtN6bxDPZVyz279HhMEnxQeGeIELYi0SHul0SuQ5FVI5FLW4vWI+JC0n9ZckxDwWf+udDiTJs= ; |
|
Dear list, I used MASS liberary's optim function to fit a Hockey stick-like curve, i.e. for x below a certain level, y is a linear function of x,but for x above the level, y levels off. I can successfully estimate the three parameters ( one for the critical level, two for the linear regression below the critical level), but cannot use hessian matrix to estimate standard errors for the three parameters. Of course, I can repeat the regression for the y and x below the estimated critical level to estimate parameter standard errors. But, is it possible to estimate the SE for the parameter of the critical level? How to explain it? Thanks for your help Yiwu
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | setting up LARS in S-Plus 7.0, Hunsicker, Lawrence |
|---|---|
| Next by Date: | useR! 2006: April 15, regular registration deadline, Achim Zeileis |
| Previous by Thread: | setting up LARS in S-Plus 7.0, Hunsicker, Lawrence |
| Next by Thread: | useR! 2006: April 15, regular registration deadline, Achim Zeileis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |