Post Reply 
[HP-12C] Angular coefficent from linear regression off by 1
05-03-2016, 11:56 AM
Post: #9
RE: [HP-12C] Angular coefficent from linear regression off by 1
(05-02-2016 02:50 PM)Werner Wrote:  Something like this?

Sort of, yes. ;-)

After you posted your code I wanted to add an improved version, but you were faster. Personally, I would prefer the slope returned in X and the y-intercept in Y, but this can be changed easily.

On the other hand your code returns the results the same way as my good old 34C (and maybe other HPs as well). BTW the 34C shows the correct slope: 11,09933164. ;-)

Dieter
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 - Dieter - 05-03-2016 11:56 AM



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