demo_em.exe

### The EM Visual Basic demonstration

Here we proivide information on how to use the expectation maximisation (EM) software demonstration.

1. Select the XML data file by using the ListBoxes provided in the upper half of the form.
2. Load the data by clicking the "Load Data" button.
3. Select the type of data that is to be imputed. This is done by selecting from the following CheckBoxes

1. Impute Suspect
2. Impute Errors
3. Previously imputed values

4. Click on the "Set Options" button, and a dialog with the following options will be shown:

1. Maximum number of cycles: This option sets the maximum number of iterations that are to be used by the EM algorithm.
2. Tolerance: This option sets the tolerance that is to be used by the EM algorithm.
3. Variables and Selected variables: All the variables in the data file are shown in the left hand ListBox. The selected variables are shown in the right hand ListBox. Variables can be added to the right hand ListBox by using the mouse to select variables from the the left hand list and then clicking on the button labelled ">>". Variables can be removed from the right hand list by selecting them with the mouse and using the button labelled "<<".
4. Weight Variable: It is possible to specify a weight variable that provides the weight to be used for each record in the data file. This is achieved by using the mouse to select the appropriate variable from the right hand list and then clicking on the button labelled "Weight Variable". If a weights variable is not selected then each record is assumed to have a weight of 1.

5. Click on the button labelled "Load Options" to store the selected data processing options.
6. To process the data click the button labelled "EM"
7. The processed data can be viewed by clicking on the "View Data" button.
8. If more processing is required, then go to step 3.

Platform software homepage