[HP-12C] Angular coefficent from linear regression off by 1
|
05-12-2016, 10:05 PM
Post: #24
|
|||
|
|||
RE: [HP-12C] Angular coefficent from linear regression off by 1
(05-12-2016 06:32 PM)bshoring Wrote:(05-11-2016 05:58 AM)Dieter Wrote: \(m = (\bar y-b)/\bar x\).How would I do that in RPN ? 01: 0 02: g y,r 03: RCL 1 04: × 05: CHS 06: RCL 4 07: + 08: RCL 2 09: ÷ 10: R/S The result is same: 11.09933164 The above equation for the fitted line means that the least squares method fits a line which is goes through the center of "gravity" of the data points. If you know that you'll never forget how simple to calculate slope of that line. Csaba |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)