Dec 222017
 
Generate normal distribution number sequences given N and MEAN. Based on the procedure by Fleshler and Hoffman. BASIC source code included.
File FLESHOFF.ZIP from The Programmer’s Corner in
Category BASIC Language
Generate normal distribution number sequences given N and MEAN. Based on the procedure by Fleshler and Hoffman. BASIC source code included.
File Name File Size Zip Size Zip Type
FLESHOFF.ASC 1974 969 deflated
FLESHOFF.BAS 1672 1097 deflated
FLESHOFF.DOC 1433 722 deflated
TPCREAD.ME 199 165 deflated

Download File FLESHOFF.ZIP Here

Contents of the FLESHOFF.DOC file


Here is a program to generate a series of numbers that approximate a
normal distribution. You input the number of samples to generate and
the mean of the distribution. The code is definitely "no-frills", but
exactly what (in my opinion) BASIC is for.

Sequences of this type are useful when you want to set up an environment
in which an event occurs, ON THE AVERAGE, after a preset interval. The
probability of the occurence of the event at any particular time is,
however, relativily independent of the time since the last occurence of
the event.

The program is based upon the procedure presented by Fleshler and Hoffman
(1962). PLEASE get their reference for a complete description!

---------------------------------------------------------------------

REF: Should be available at any large library

Fleshler, M., and Hoffman, H.S. (1962) A progression for generating
variable interval schedules. Journal of the Experimental Analysis
of Behavior, 5, 529-530.

---------------------------------------------------------------------

Files:
FLESHOFF.BAS - GWBASIC EXECUTABLE SOURCE
FLESHOFF.ASC - GWBASIC SOURCE IN ASCII FORMAT
FLESHOFF.DOC - THIS FILE

As far as I am concerned these files are public domain. If you choose
to distribute them, however, I request that you include all three files
in their original state.

Ray




 December 22, 2017  Add comments

Leave a Reply