Calculate the median
Castor EDC Team
29 Oct, 2020
Sometimes, it is useful to obtain the median of a list of values in Castor to have it as a variable in the data export. Then, we can use that variable in our statistical analysis.
The code below uses a list of values entered in a text field to obtain the median.
Fields used in calculation
field text variable
Currently you are not logged in. To see and try this calculation, please log in.