What is a Formula variable?
Put your algebra skills to the test! A Formula variable is a custom variable type that allows you to carry out calculations on other variables. Put your algebra skills to the test! With the Formula variable, you can
...
- Navigate to Manage Study --> Variables
- Click '+ New Variable'.
- Give the variable a friendly name.
- Tip! Choose something that you will remember when you are building the variable into target modifications or participant messaging and incidents.
- Tip! Choose something that you will remember when you are building the variable into target modifications or participant messaging and incidents.
- Select the arm. If the formula variable is calculating based on other arm-specific variables, you must select that arm. Otherwise the variable will not be available to use for the formula calculation.
- Next select the variable type. For this example, we want to select Formula.
- Once you select Formula, the formula field will display. You can use the following operators, +, -, *, or / create equations using any of the following supported characters. The formula variable supports order of operations!
- Supported characters:
- addition: +
- subtraction/negation: -
- division: /
- multiplication: *
- parentheses: ( )
- powers: ^ (e.g., 2^3)
- Supported characters:
- To create your formula, copy the variables exactly as listed and add any operators.
- Adjust rounding criteria, if needed.
- Click 'Save Variable'
- Your new variable will be listed on the Variables overview page.
...
Creating ramp-up periods from baseline value to target value:
See Target Value Variable for step by step instructions!
Allowing participants to choose their own goal:
See Enrollment Run-in In Variable for step by step instructions!
...