
RPN.BAS

This basic program emulates a reverse-polish notation calculator

such as the Hewlett-Packard Series of calculators.  All possible

functions have not been programmed-in, only the simplest ones have

been entered.  Room for additional functions has been left for

customization by the user since the available meaningful letters

on the keyboard is rapidly used up.





RANDNORM.BAS

This program calculates 10,000 random normal variates (mean 0 and stan-

dard deviation) and checks them.  It uses the random number generator

in IBM BASIC (uniform distribution), which at times seems less uniform

than desirable.  I have not checked the BASIC random generator.  

The function is used in the SUBROUTINE below.





RNDN.BAS

This uses the function above but is in the form of a subroutine.





RANDOM.BAS

This program provides random numbers from 1 to the number the users

provides.  Options for with or without replacement are provided.  

Again, the BASIC generator seems a bit non-random, but seems to work

better when a seed is provided.





RANDOM10.BAS

Another integer random number provider... this gives 10 numbers at a

time... better for BINGO?





JDATE.BAS

This program converts the date (mm/dd/yy) or (mm-dd-yy) to a consecutive

numerical date starting with January 1 as number 1.  Useful for plotting

up data on an X-Y plot, etc.






PDATE.BAS

This program does the reverse of the above... converts consecutive date

(also known as JULIAN date) to (mm-dd-yy).





REGRESS.BAS

A simple regression subroutine that provides options for other simple

statistics as well.





SUNRISE.BAS

If you want to know about when the sun will rise next month or today,  

this program figures it for you.  It does not correct for mountains or

slopes, so for any particular point on the earth, it can be a few minutes

off.  It also does not account for differences in longitude.  It assumes

that you live in the center of your time zone.





DRIFT.BAS

This is a simple genetics program that demonstrates one problem associated

with small inbred populations... by sheer chance, genes can be eliminated

and the population can become uniform (homozygous) with respect to a single

gene.  The implication is that non-adaptive, characteristics can dominate

the population by chance alone.  Not too useful a program if you don't

care about small, inbred populations.





ACCORMAT.BAS

For the statistical at heart, this program takes a set of variables and

creates a correlation matrix.  For large datasets, it really should be

compiled to save time.





AALC.BAS

To take the correlation matrix one step further, this program uses the 

matrix to create an "average linkage cluster" dendrogram.  In other words,

it groups the variables by how closely they resemble each other.  The

program does not draw the relationship "tree", but provides the successive

groupings with the increasing linkage distances noted.  Not too useful 

for most people, but an interesting technique.








PLOT.BAS

This program takes columns of data and plots up to 5 overlapping graphs

of the data.  It can use sorted or unsorted data and has room for 

X and Y axis labels.  It is self-explanantory in operation.







                                            Deane Wang
                                            Greeley Lab
					    370 Prospect ST.
					    New Haven, CT 06511

