Index of /build01/SLR

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [   ] Distribution.php 31-Mar-2006 13:23 2.4K [   ] SLR.tar.gz 31-Mar-2006 13:23 30K [   ] SimpleLinearRegressi..> 31-Mar-2006 13:23 7.0K [   ] SimpleLinearRegressi..> 31-Mar-2006 13:23 6.2K [DIR] examples/ 31-Mar-2006 13:23 -
README
------------------------------------------------------------------------

The SLR package implements the Simple Linear Regression analysis.  

It includes an app directory that provides a examples of how to use
the class for web-based data analysis.

INSTALLATION
------------------------------------------------------------------------

To get the app code working you need to have JPGraph installed.

JPGraph can be obtained here:

http://www.aditus.nu/jpgraph/

Once you have installed JPGraph, you then need to modify the config.php
file so that the JPGRAPH constant points to your local installation of 
JPGraph. 

Within the app directory you need to have a "temp" directory that is 
writable to by your webserver. 

If the scripts in the app directory do not run, it is likely because
JPGraph does not have the proper write permissions.  Try to get an 
example JPGraph script working in the app directory to confirm that 
that this component of the application is working properly.  Once 
you have confirmed that this is working correctly, make sure that 
your JPGRAPH definition is correct.

Later on you should look at the SLR constant in the config.php file and
consider moving the SLR classes to a location outside your web root (making
sure to point the SLR constant to the new SLR folder constaining the SLR 
classes).

This code was developed and tested on a Linux box.  Have not verified
that it works on Windows yet - your mileage may vary.  Let me know if 
you have done so.  

TODO
------------------------------------------------------------------------

- Add F test to the reported statistics - note the Distributions class has
  F distribution code that can be used.
- Add a normality test to the reported result (are the x and y variables 
  normally distributed?).
- Create version that can be run securely from the web.
- Look into a database version of this app.

CHANGELOG
------------------------------------------------------------------------

version 1.2 - Last update 04/16/2004 by PM
  + renamed package to SLR as I got tired of long names
  + code repackaged in more logical format
  + added conversion of posted variables to local variables to 
    deal with hosts that don't allow global variables anymore
  + added config.php file where SLR and JPGRAPH constants are defined.

version 1.1 - Last update 29/04/2002 by PM
  + documented at http://www-106.ibm.com/developerworks/web/library/wa-linphp2/ 

version 1.0 - Last update 01/03/2003 by PM
  + documented at http://www-106.ibm.com/developerworks/web/library/wa-linphp/


CONTACT
-------------------------------------------------------------------------
If you have bugs to report, feature requests, fixes, or improvements then  
you can send them to:

Paul Meagher <paul@datavore.com>