demo_gen_imp.exe

### The DIS Visual Basic demonstration

Here we proivide information on how to use the Donor Imputation System (DIS) software demonstration. Demonstration software is provided. The user selects a distance type and weight (default zero, i.e., not used) for the matching of the target observation to the potential donor observations. The scale factor for each variable can also be set. This allows for regression type matching.
This demonstration calls the data cleaning routine gen_imp with the following values:

- n_match = 10
- match_all = 0
- rand_select (random selection with the seed from the system clock)
- resuse = 0

The demonstration software is used as follows:

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 is shown:

1. Number of variables: This TextBox displays the number of variables in the XML data file.
2. Minimum weight sum: The minimum acceptable sum of weights for matching is entered here.
3. Variables: All the variables in the data file are shown in the left hand ListBox.
4. Variable weight/Distance measure: This is the label for a group of controls which allow the user to specify for each variable:
   - The weight (which has a default value of zero)
   - The distance measure
   - The scale factor (or distance coefficient) R to be used
   These options are set for a given variable by using the mouse to select the variable from the left hand ListBox, and then entering the appropriate values into the controls. The permitted distance measure depends on whether the variable is categorical or continuous. If the variable is categorical then the following distance measures are available:
   - Simple matching
   - Scaled rank
   and if the variable is continuous then the user is given the choice:
   - Euclidean distance
   - Manhattan distance

5. When all the options have been selected click on the button labelled "Load Options" to store them.
6. To process the data click the button labelled "IMPUTE"
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