Logic based on all respondent. | XM Community
Skip to main content
Solved

Logic based on all respondent.

  • September 10, 2023
  • 5 replies
  • 66 views

Forum|alt.badge.img+1

I am going to run a behavioral experiment in a lab. Simply speaking, my idea is to let all respondents finished a few questions first, and group them with the medium of score to set the rest of the survey. My question is, how exactly can I do the following within one survey? Thanks!

  1. Wait until all respondents finished a few questions first, and continue,
  2. set a logic with the medium of score  (of all respondents).

Best answer by Nam Nguyen

@TomG Yeah Thank you! That’s probably the case. So it is impossible to automatically past the median easily with something like an embedded data to the branch logic, but can only to set that manually or use an external program right?

@PaulEH Yeah, there’s no prebuild option of calculating them mid-survey and all across the respondents. Webservice is the optimal way to help you solve this.

5 replies

Forum|alt.badge.img+28
  • Level 4 ●●●●
  • 63 replies
  • September 10, 2023

@PaulEH As per my knowledge I would suggest you can go with the second approach by using logic with the medium of score for all the students.Second approach will help you to analysis your calculations for all the respondents at ones. 


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 4 replies
  • September 10, 2023

@PaulEH As per my knowledge I would suggest you can go with the second approach by using logic with the medium of score for all the students.Second approach will help you to analysis your calculations for all the respondents at ones. 

@Shobhit Thx for the comment! But I just don’t know how to set the logic to group people with the medium score among all people, I only know how to set logic with the respondent’s own pervious answer or features. Could you share more details?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • September 10, 2023

@PaulEH,

If I understand your need correctly, you could do something like:

  1. First few questions to get score
  2. Call web service to store each respondent’s score in a database
  3. A block with a text/graphic page telling everyone to wait until instructed to proceed
  4. A web service that gets the median and assigns a group based on the respondent’s score vs the median
  5. Rest of survey

Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 4 replies
  • September 11, 2023

@PaulEH,

If I understand your need correctly, you could do something like:

  1. First few questions to get score
  2. Call web service to store each respondent’s score in a database
  3. A block with a text/graphic page telling everyone to wait until instructed to proceed
  4. A web service that gets the median and assigns a group based on the respondent’s score vs the median
  5. Rest of survey

@TomG Yeah Thank you! That’s probably the case. So it is impossible to automatically past the median easily with something like an embedded data to the branch logic, but can only to set that manually or use an external program right?


Nam Nguyen
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+29
  • QPN Level 8 ●●●●●●●●
  • 1096 replies
  • Answer
  • September 11, 2023

@TomG Yeah Thank you! That’s probably the case. So it is impossible to automatically past the median easily with something like an embedded data to the branch logic, but can only to set that manually or use an external program right?

@PaulEH Yeah, there’s no prebuild option of calculating them mid-survey and all across the respondents. Webservice is the optimal way to help you solve this.