Post Reply 
[HP-12C] Angular coefficent from linear regression off by 1
01-19-2019, 05:36 PM
Post: #30
RE: [HP-12C] Angular coefficent from linear regression off by 1
(05-05-2016 07:07 AM)Csaba Tizedes Wrote:  01: 0
02: g y,r
03: x<>y
04: g s
05: ÷
06: ×
07: R/S

This regression slope code is neat !

(05-06-2016 01:11 PM)Dieter Wrote:  The method you suggested is short and elegant. However, it uses the regression coefficient and the two standard deviations, where all three are internally calculated using square roots. That's why this method is prone to slight errors in the last digit, just as the method suggested in the manual.

Manual suggested method, slope = f(1) - f(0), may lose *many* significant digits, due to subtraction cancellation.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [HP-12C] Angular coefficent from linear regression off by 1 - Albert Chan - 01-19-2019 05:36 PM



User(s) browsing this thread: 1 Guest(s)