Copying
=======

These files are part of CLOP

CLOP is free software, you can redistribute it and/or modify it under
the terms of the GNU General Public License.

The GNU General Public License does not permit this software to be
redistributed in proprietary programs.

CLOP is distributed in the hope that they will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

testapps
========

These applications test for correctness of the calculations and
algorithms used in the CLOP package.  They are not well documented,
not expected to be used by the general public, and may not even work.

Many of these applications make a prediction for some statistic and
then run a simulation to confirm that the statistic predicts the
behavior of the simulation.

Football test applications
==========================

fb_2fixed.C
   Test calculation of covariance between two fixed picks.
fb_2varbets.C
   Test calculation of covariance between two picks with same perceiveds.
fb_fixedbet.C
   Test calculation of mean & variance for fixed picks.
fb_varbet.C
   Test calculation of mean & variance for varying picks.
fb_varfix.C
   Test calculation of covariance between fixed and varying picks.

Tournament test applications
============================

neighbortest
   Check that the Picks::neighbor() function is working
vartest
   Test calculations of variance for given bet
vartest2
   Test calculations of variance for one opponent score
covartest
   Test calculations of covariance between opponents
covartest2
   Test calculations of covariance between fixed bet and opponent.
covartest3
   Test calculations of covariance between two fixed bets.
covar_experiment
   See how covariance depends on strategy.
h2h_winround
   Test conversion of h2h to winround and back.
opponentview
   Create one tournament, and one set of perceived probabilities.
   Then repeatedly create an outcome and a set of picks, tabulate the score.
pickbyluck
  Creates random tournament, random picks.
  Finds the score, repeats.
strategies
  Compare the expected value of various strategies for picking
  in a fixed tournament.
smoothtest
  Find expected return for some canonical bets in an NCAA randomized
  pool against varying numbers of opponents.
tourneysim
   Create one set of actual and one set of perceived probs.
   Pick an actual set of results, then pick a large number of
   player's picks using the perceived.  Repeat.
ttest
   Simple tests for TourneyPack package
varex
   Example of a tournament where knowing how teams advance
   thorough rounds does not determine the variance.
var_experiment
   See how changes in h2h data affect the variance

