When we said C2-C3 in the first example, that was an arithmetic expression meaning (obviously) the value in column 2 minus the value in column 3. Many other operations are available, and here is a complete list:
Arithmetic expressions can be written out just as they would appear on paper, again with brackets to clarify the order of operations:
c3+c4*6 (c3+c4)*6 (c4*c5)pow3 (c4*c5*c6)pow(1/3)The last example takes the geometric mean of columns 4, 5, and 6. It multiplies them together and then takes the cube root of the product.
c13 pX 3This example would take the value in column 13 to be a chi-squared statistic with three degrees of freedom and computes its probablility, or p value. See the section on the ARITHMETIC command for details of how to use EASISTAT as a set of statistics tables to look up.
Numbers can be written for arithmetic expressions either as ordinary decimal numbers (37, -45.236, 11.4) or using exponential notation, where the mantissa is followed immediately by an E and the power of ten to multiply it by. Thus 3.3e5 is the same as 330000 and 2.7e-4 means 0.00027. The results of the ARITHMETIC command are output in this format where appropriate.