Using Logic for Calculations

From Lifeguide Wiki
Jump to navigation Jump to search

Logic for setting up scores in your intervention

Logic commands can be used to score the responses that end-users give to interactions. This is particularly useful for scoring questionnaire items or if your intervention includes a quiz.

The simplest interaction to use is the numeric value interactions as responses are already given a numeric value. However responses to single and multiple choice interactions can also be set with a numeric value.

This logic uses the key command set and any of the mathematical commands (sum, /, *, <, >, =).

Example 1: Scoring numeric value interactions

Example 2: Scoring multiple choice, single choice and numeric value interactions