" ***************************************************************************** Step 0: Prepare data-file to fit sets of given ratios to their observed frequencies in three classes. For example, one may be interested in fitting genotypic ratios of 1:2:1 based on a single gene action under Hardy-Wienberg Equilibrium to the observed frequencies corresponding to a parental type (say First class), heterogygous type (Second class), and the other parental type (Third class). Another example may be two genes action based classes in the ratios of 12:4:1 (First class: Second class: Third class). The program prints the fitted values, Pearson chisquare values and probability of observing greater chisquare. The texts within the (two matching) double quotes are the comments (ignored by Genstat)to help input the values of the parameters. Some input names would be mandatory as defined in the program. Save this file as text file. You must include the following identifier/abbreviation for the mandatory variables/vectors (factors) and design parameters. Vectors/factors Set : column to represent set of ratios you are fitting ObsFirst: column of observed frequencies for the First class ObsSecond: column of observed frequencies for the Second class ObsThird: column of observed frequencies for the Third class RatioFirst: column of hypothetical ratio (component) for the First class RatioSecond: column of hypothetical ratio (component) for the Second class RatioThird: column of hypothetical ratio (component) for the Third class Preparing the file: There are following 2 places of inputting information from your side. 1. First input: list all the variables in the data file to read; the whole list should be within single quotes. for example: 'Set, ObsFirst,ObsSecond,ObsThird, RatioFirst, RatioSecond, RatioThird' 2. Second input: place the columns of the data exactly in the same order as in the First input (Step 1) Warning: a. Please do not put any column of text values. b. No missing values are allowed. " 'Set, ObsFirst,ObsSecond,ObsThird, RatioFirst, RatioSecond, RatioThird' 1 25 45 30 1 2 1 2 39 16 9 9 6 1 3 26 46 30 1 2 1 4 40 16 8 9 6 1