Contents of the AMVAC.DOC file
AMVAC is a program that allows you to fit a curve to a set of data
points defining a dependent variable that is a linear combination of
nonlinear functions of one or more independent variables. For example,
say you have 4 variables: 1 dependent variable (X1) and 3 independent
variables (X2,X3,X4). An example of such a curve-fit would be the
In FORTRAN this function might be written:
AMVAC will pick the functions for you (select: automatic) or let you
pick them (select: manual).
To run AMVAC just enter "AMVAC" (without the quotes). It's all
interactive. AMVAC can read data in free-format from a file (up to 9
columns of data or 128 characters per line whichever is smaller). You
can also enter the data from the keyboard.
You can edit the data. That is, list it and change values. Then when
you have verified it, AMVAC will ask you if you want automatic selection
of functions. You can try this and see what you get. It really should
be sort of self-explanatory.
You can see the form of the curve-fit by responding "Y" (without the
quotes) when asked. What AMVAC will list is the actual FORTRAN code,
just like you would put into a program to use the curve-fit. It may
look a little strange, but it will work just fine.
You can check to see how the curve-fit does by responding "Y" (without
the quotes) when asked to check agreement.
You can evaluate the curve-fit at as many locations as you want (just
enter a blank line or "NO" to quit evaluating).
You can perform several curve-fits on the same data without entering it
again. Just wait until the end and it will ask you "another fit on the
To run the example that is included give AMVAC the file name "AMVAC.DAT"
and tell it to read 9 columns of data. Then try automatic correlation
of X2 as a function of X1. Then try automatic correlation of X2 as a
function of X3-X9.
P.S. AMVAC will work even without a math coprocessor; but I doubt that
you will have the patience for it to get through a single case.
Dudley J. Benton
TVA Engineering Lab
P.O. Drawer E
Norris, TN 37828