/* ImmunoAssayExampleFour * * An example program illustrating the use of the ImmunoAssay class * This example reads the assay data from a text file, * compares the fitting of the assay data to a five parameter * logistic equation and a four parameter logistic equation * and prints an analysis of the comparison to a text file. * * See example one for enteringdata from an array * for requesting the concentration for a given sample response * * Mick Flanagan * 22 February 2011 */ import flanagan.physchem.ImmunoAssay; public class ImmunoAssayExampleFour{ public static void main(String[] args){ // Create an instance of ImmunoAssay ImmunoAssay assay = new ImmunoAssay(); // Read the data from a text file using a file chooser window // Select the file named ImmunoAssayData.txt assay.readFromFile(); // Compare fitting to a five parameter and to a four parameter logistic functions // Output file name is entered // default significance level (0.05) is used assay.compare(1, 3, "ImmunoAssayFourOutput.txt"); } }