How To Library
Installation
The first step is to ensure all of the required software is available (see the main page
for more details). If you are lucky your system administrator
will take care of installing SAS and the Fortran compilers for you.
Once that task is done, you can proceed to compiling the CG2 source code.
Don't forget to download the SAS programs and unzip them to a project
directory. The zip file creates three directories: runcg,
runcg_out, and cgpost. The section below provides more details on
using the software.
Using CG2
Now that CG2 is set up, you can finally begin analyzing some data!
However, before actually estimating model parameters, you must
properly structure the input file and calculate the size of the
problem. With the input data ready, the next step is to run CG2
and calculate parameter estimates. The final step is
post-processing the estimates, although this may not be required
depending on the set of parameters you are interested in.
The SAS programs as packaged are setup to use a purely fictional,
synthetic dataset. It is a good idea to run through each HowTo on
the synthetic data first before attempting a problem of your own.
This will give you an opportunity to become familiar with each
stage of the process as well as test your installation.
Typographical convention: We have tried to be consistent throughout in the use of typographical convention:
italics designate a file or directory
type-writer characters are used to designate
- either variables within programs,
- or commands you type at the command prompt
Now to get started:
Pre-process input data
Run CG2
Post-process the CG2 output
If you haven't already downloaded the software, you can find it here.
Return to the main page