MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Skip to main content
Show menu

Filter formula editor

In this dialog box you can edit the formula for the filter.

Filter formula editor

E.g. if you have a variable named TREATMENT containing codes (0, 1) for the treatment given to patients, you can enter a filter as follows:

Formula:

TREATMENT=0

If TREATMENT is coded using text, e.g. A and B, then values must be placed between quotation marks.

TREATMENT="A"

You can combine different criteria into one filter using the AND() and OR() functions (see Logical functions).

When entering the formula, you can select variables and functions by double-clicking in the respective lists shown in the dialog box.

See also

This site uses cookies to store information on your computer. More info...