It's an asymmetric world

Coredumps from Jesus Castagnetto's brain

  • Increase font size
  • Default font size
  • Decrease font size


Linear Regression (LReg)

E-mail Print PDF

Created on: 1998/11/23
Last updated on: 1998/12/16
Version: 1.0
License: GPL
© 1998-2004 Jesus M. Castagnetto (jmcastagnetto at php dot net)

No longer maintained/supported.

This PocketC applet calculates the regression parameters for a set of (x,y) points, using the model: y = a + bx. The data points and the regression line are plotted, and the analysis can be saved to a memo.

The ZIP archive of LReg contains the compiled applet, source code, example data sets, and an extra applet (SwapData) to swap your data points for x=f(y) analysis. See the included "readme.txt" file for more information.

Needs the PocketC compiler or the PocketC run-time and the Mathlib library.

Update: Added a stub so you can call the applet from the main application launcher. Made the applet faster by implementing Ken Jancaitis's suggestions (his analysis is described in the "readme.txt"), which allowed the reduction of the times needed to loop through the data to calculate the parameters. Source changes, inclusion of buttons to analyze a new data set, and to get a quick help. Addition of the zero axis parallel to the x and y axis.

Download: icon Linear Regression (LReg) (10.86 KB)

 

 

Our son is here!

Our son Daniel Ken was born on March 09, 2009 at 14:39 PET (UTC - 5). We are happier than we've ever been in our lives.

Now the real work begins, helping a new life develop into this world.

-- Mom and Dad

My Random Photo

From Airin's Photo Gallery

Use OpenOffice.org
Green Hosting at Dreamhost.com

Visitors map

Anti-Spam Bots!