writeCSVWelchData

fun writeCSVWelchData(out: PrintWriter, numObs: Long = minNumObservationsInReplications)

Writes out the number of observations to the supplied PrintWriter This results in a comma separated value file that has each rows containing each observation for each replication and each replication as columns. The last two columns are avg is the average across the replications and cumAvg. The file is flushed and closed.

The header row is: Rep1, Rep2, ..., RepN, Avg, CumAvg

Parameters

out

the PrintWriter

numObs

how many to write

Throws

if problem writing