To compile this document requires a complete installation of latex with
assorted special packages as well as the asymptote program which generates
some of the plots.

On the Ubuntu and likely Debian version of Linux the latex can be
installed by the packages
texlive
texlive-latex-recommended
texlive-latex-extra
texlive-games

Asymptote is installed via the
asymptote
package

You also likely should edit the document with a real text editor such
as emacs (installable via the emacs package).  emacs is latex-aware
and will highlight the commands and comments with different colours,
making editing much easier.

The <file>.fig files are created using the free vector drawing program
xfig which is installed via the xfig package.  If you edit an image
you will want to not only save it but export it as "combined PDF/LaTeX
(both parts)".  If you don't modify any fig images you won't need
xfig.

To produce the document requires several runs of latex.  At minimum do
pdflatex <file>.tex (where <file> is the core file, here
intro_stats.tex) Several runs may be required to get references
correct.  If you make changes to the asymptote code within the
document (or you have deleted the support pdf files that were in this
directory) then you have to run the asymptote program after running
pdflatex the first time.  The first pass of pdflatex produces the
asymptote source files, then asymptote compiles this into pictures and
then a final run of pdflatex includes the pictures.

Thus a complete compile requires

pdflatex <file>.tex
asy <file>
pdflatex <file>.tex
The last pdflatex should be 

(Note the asymptote command is actually "asy".  See the compile.sh script
below for automated running of these commands.)

IMPORTANT FILES

intro_stats.tex : This is the root document.  Look here to see how
everything is included/inputted into the document.

compile.sh, compilel.sh, clean.sh, cleanl.sh: On a Linux machine the
scripts compile.sh and compilel.sh can be run to do the compilation
(including multiple runs of latex to ensure the references are
correct).  The "light version" compilel.sh does not recreate the
asymptote diagrams.  The full version (compile.sh) does recreate the
diagrams and will remove existing ones before it starts so if you
don't have asymptote installed, don't use this one.  The clean.sh file
removes most of the non-source material to allow for the creation of a
source tar ball or zip file.  The files left behind can be compiled
using compile.sh .  The cleanl.sh (light cleaning) script does not
remove the asympotote generated files so that the files remaining are
sufficient for generating the intro_stats.pdf file after running
compilel.sh

course_info.tex: The package has been designed for use in several
courses.  To compile the different versions, just edit course_info.tex
Currently there is just a stat_100 course option and an "all" option.
If the latter is selected then all the sections in the document are
included.  (Some of these, such as geometric means, etc. are not in
the current stat_100 document.) The types of tables to use (cumulative
or not) can also be set here, though currently the actual tables
included are the cumulative ones.  One would have to create new
probability tables using the stattables.py python program found in
this directory.  (Read stattables.py for usage and recreate
stattables_inline.tex .)  There may be small gaps in the discussion of
the actual course notes which require fixing if other tables are used.
The name of the course, etc. is also found in course_info.tex

copyright.tex: This document details the copyright information that
appears on page ii of this document.  Read the GNU Free Documentation
License found at the end of the main document to ensure you are
meeting the requirements of the license if you make changes (or print
a large number of copies, etc.)

lectures.sty: This style package is not part of a generic tex install.
Rather it is a collection of package includes, options, and new
commands used to create the current document.  It is a work in
progress and will likely change as improvements are made.

statssymbols.sty: Another custom style package which defines the
statistical symbols used within the text.  Customizations can be made
here if desired though ultimately one should check the appearance in
the document.  Note some of the included bitmaps in the document do
not use the same symbols (capital X is used rather than x, Z instead
of z etc.)  However existing xfig diagrams and asymptote diagrams use
these commands and new figures should use them as well to make
customization easier.

localstats.asy: This is a collection of asymptote routines used in generating
some of the figures.  More such routines should be included here.

intro_stats_formula_sheet.pdf: Note that upon compilation this
separate document containing just the formulas is created.  (This is
included at the back of the main document as well.)  For generating a
separate pdf for just the statistical tables see stattables.py .

As a final note, the GNU Free Documentation License was chosen for
these notes because they ensure that a "transparent copy" (i.e. these
latex files and figs) are made available by anyone who uses this
document downstream so that everyone benefits from future improvements
and that others can really customise the material.  Creative Commons
licenses were considered but it did not seem that any of those had
this rather critical feature.  If I am wrong, please correct me.  Comments
may be directed to robert.petry@uregina.ca .
Please consider adopting similar free licenses for work you create.
