This Statistical Program Calculates all componets of a simple regression
(Sums of Squares, betas, t statictics, CI's) also sets STAT graph ranges


Program:  RandDsgn
Author:  Dan Watkins (Goodman@brahms.udel.edu)
Size:  1890 bytes

This program is written only for SIMPLE regressions
The main part of this program calculates:
Xbar (means)
Ybar (means)
Sums of Squares:  SSxy, SSxx, SSyy, SSE (error)
Beta0 (slope intercept), Beta1 (Slope)
Standard devaition, Variance
Correlation Coefficient,  Coefficient of Determination
t calc, and degrees of freedom for t critical (need a table to do
    Hypothesis test)
Then you can calculate a Confidence Interval for Beta1 or Y.
    (you have to input t alpha/2) 1=yes 0=no (when asked)


There are two ways to use this part of the program:

1.  You enter the data list into the TI-85 STAT editor (xStat & yStat) 
    then hit the calc menu and chooze Linear Regression.
    A.  Then you run "SimLReg" and choose "YES" that the data is in the
        STAT mem.  The rest is basiclly outputs.

2.  You choose "NO" that the data is not in the STAT mem.
    A.  This takes you to a sub menu that asks "Sums or Sums of Squares"
        
        IF you choose "Sums" you will be prompted to enter:
        Sums of X, Y, X^2, Y^2, XY, and n (#of observations). 
        After these are entered you will recieve the outputs.

        IF you choose Sums of Squares,  you will be prompted to enter:
        Xbar (mean), Ybar, SSxy, SSxx, SSyy, and n.  Your outputs will
        start with the beta's.
 
The other parts of this program is an "Equation Menu"...if you hit this
you will be given a submenu of all the individual equations...once you
chooze an equation you will be prompted to go to Solver.  When you go
to solver...the equation will be there for you.  (the variables in the
equations are dependent...so you can run a low level equation...then
chooze a higher level equation (that was dependent on the first) and
the variable will carry over!!!).

The Last part of the program (from the main menu) merely sets the
graph ranges to the data in xStat and yStat.

If you have any questions mail me at:  Goodman@Brahms.udel.edu
