Hi all -
I have a 4x3 matrix question where respondents enter three numerical values in each of four rows of open text fields and I need to calculate the median value in each row. Qualtrics doesn't appear to include a median math operation and scoring isn't available for this question type.
TomG suggested the below code to someone who needed to calculate a max value and I'd love something similarly simple if it exists. (Unfortunately Math.median doesn't appear to be a thing. :/) Thanks in advance!
var max = Math.max(parseInt("${q://QID16ChoiceTextEntryValue"), parseInt("${q://QID17ChoiceTextEntryValue}"), parseInt("${q://QID18ChoiceTextEntryValue)}"));
Qualtrics.SurveyEngine.setEmbeddedData("max", max);
Calculate median score from matrix-text entry values
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
