Delila Program: mkdis

mkdis program

Documentation for the mkdis program is below, with links to related programs in the "see also" section.

{version = 1.02; (* of mkdis.p 1997 March 21}

(* begin module describe.mkdis *)
(*
name
   mkdis: define a distribution

synopsis
   mkdis(distribution: in, mkdisp: in, data: out, output: out)

files
   distribution:  The first line of the file is the x value (integer)
      All remaining lines are y values.  Lines that begin with an
      asterisk '*' are skipped as comments.

   data:  the distribution is expanded.

   mkdisp:  parameters to control the program.  The file must contain the
        following parameters, one per line:

      0. The version number of the program.  This allows the user to be
         warned if an old parameter file is used.

   output: messages to the user

description
   If one is given a distribution, it would be nice to run it through
   the genhis program to get the average.  This program takes
   a distribution of integers and produces the raw data that would
   have generated that distribution.  The raw data can be run through
   genhis.  Genhis will reconstitute the distribution and give
   statistics about it.

examples
   For the distribution input:

   5
   3
   2
   7

   meaning that there are 3 cases of 5, 2 cases of 6 and 7 cases of 7.

   The distribution file is

         5
         5
         5
         6
         6
         7
         7
         7
         7
         7
         7
         7

   The distibution output by genhis is:

    5.00000          3   +++
    6.00000          2   ++
    7.00000          7   +++++++

documentation

see also
   genhis.p

author
   Thomas Dana Schneider

bugs

technical notes
   This is a silly but simple way to solve the problem.
   It is silly because the data are expanded.
   It is simple because this program was a snap to write!

*)
(* end module describe.mkdis *)
{This manual page was created by makman 1.45}


{created by htmlink 1.62}