Script will generate a table of data and a log file of activity.
s class size
p probability of difference
c1m class 1 mean
c1sd class 1 standard deviation
c2m class2 mean
c2sd class2 standard deviation
1. Script will generate a csv output table with 'r' rows and 'c' columns composed of two classes of size 's'. For example if s = 10, then there are 20 columns. Rows will be labeled r1, r2, r3,... and columns labeled c1, c2, c3...
2. For each row the script will calculate the probability that there is a difference in classes. For example, if p = 0.01 there is a 1 percent chance that the classes in a particular row will have different scores.
3. If the classes for a row are found NOT to have different scores, the scores of each member will be calculated randomly according to a normal distribution with parameters c1m and c1sd.
4. If the classes for a row ARE found to have a different score, the scores of classes will be randomly distributed according normal distributions c1m/c1sd and c2m/c2sd. Furthermore, the identity of this row will be written to a separate log file.