Variable properties

In this dialog box you can define the variable properties (formula, variable label and value labels).

More on MedCalc variables.

Variable properties

To obtain this dialog box, select Edit variables list in the Tools menu, and next select the variable you wish you modify and click the Properties button.

Variable

First the variable is displayed, or the formula in case of a derived variable. E.g. if you have a variable named HEIGHT containing the height of patients in meters, and you have another variable WEIGHT containing the weight of patients in kilograms, then you can complete the dialog box as follows to obtain a new variable containing the Body Mass Index.

WEIGHT/POWER(HEIGHT,2)

Click the Variable properties button to call the Variable formula editor for easy editing of the formula.

Label

Next you can give a descriptive label to the variable. This label will be displayed in reports and graphs.

For example:

Body Mass Index

Value labels

You can assign labels to particular values of the variable. These labels will be used for example to identify subgroups in graphs.

Click in the cells in the columns "Value" and "Label" to start to enter data and labels.

Click the Up and Down arrow buttons to move selected rows up or down.

Click Scan data to scan the data and to populate the list with existing values.

You can also delete selected rows from the list by clicking the Delete button.

See also