[HP12C] Angular coefficent from linear regression off by 1

05122016, 10:05 PM
Post: #24




RE: [HP12C] Angular coefficent from linear regression off by 1
(05122016 06:32 PM)bshoring Wrote:(05112016 05:58 AM)Dieter Wrote: \(m = (\bar yb)/\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: 1 Guest(s)