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:
Linear Regression (LReg) (10.86 KB)










