🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.graph-ti
Article #112

looking for a formula.

#112
From: ANDREW CHEYNE
Date: Thu, 12 Jan 1995 02:43
19 lines
1725 bytes
Hello!

    I'm attempting to write a program that will read in a bunch of data 
points, perform a least squares fit to the points, and then draw the best 
fit line. I know the basics behind writing the program, but I'm in need of 
formulas that woud calculate m and b in y=mx+b. I know I should be able to 
figure these out with a little bit of calculus, but the calculus seems to 
lost on me! I also know that I should be able to do this using the Stats 
button on my TI-85, but I want to be able to integrate this program between 
the 85 and my PC. If anyone could mail me the formulas, I'd really 
appreciate it!

Thanks,
Andrew
[=-=-=]_____________________________________________________[=-=-=]
 |||||     Andrew Cheyne             006809c@axe.acadiau.ca  |||||     
  ---       233 Barrax                  Acadia University     ---
 |||||    (902) 542-0195                 Wolfville, NS       |||||
[=-=-=]-----------------------------------------------------[=-=-=]
Technical Details
Message-ID: <006809c.132.2F149736@axe.acadiau.ca>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!dsinc!newsfeed.pitt.edu!uunet!newsflash.concordia.ca!nstn.ns.ca!dragon.acadiau.ca!wmh233.acadiau.ca!006809c

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104512,d0200b7b1651a9a9,start
X-Google-Attributes: gid104512,public
X-Google-ArrivalTime: 1995-01-11 18:43:02 PST
Newsgroups: bit.listserv.graph-ti
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!dsinc!newsfeed.pitt.edu!uunet!newsflash.concordia.ca!nstn.ns.ca!dragon.acadiau.ca!wmh233.acadiau.ca!006809c
From: 006809c@axe.acadiau.ca (ANDREW CHEYNE)
Subject: looking for a formula.
Message-ID: <006809c.132.2F149736@axe.acadiau.ca>
Lines: 19
Sender: news@relay.acadiau.ca
Nntp-Posting-Host: wmh233.acadiau.ca
Organization: Acadia University
Date: Thu, 12 Jan 1995 02:43:02 GMT
Lines: 19