Giving feedback based on previous choices

More
1 week 1 day ago #215648 by mbenakay
Hi, I searched in the forum but I couldn't find the answer that I was looking for. In my survey I separate the people into RED and BLUE groups based on their answer to the "Pop music" subquestion in an array question . Afterwards they also have to select the group of their partner for different tasks. I want to give them feedback after their choices.
 
For example if they answer (1) Strongly Dislike, (2) and (3) they will be in RED group and if they answer (4), (5) or (6), they will be in BLUE group. To give the first feedback after that question, I wanted to use join() function with if(QCODE_SQ001==A1) but it didn't work. Then I created 2 different text display questions for RED and BLUE and used relevance equation (( music_SQ001.NAOK  == "A1" or  music_SQ001.NAOK  == "A2" or  music_SQ001.NAOK  == "A3")). Is there any other way to give feedback?

Moreover, after that question they also choose the group of their partner and then an allocation.
 

In the end, I want to give a feedback based on 3 different questions in an ex-post question such as " You were in the RED group. You chose a RED partner. You chose an allocation of (100,400). Can you explain your decision? "

Is it possible to do that? 
Attachments:

Please Log in to join the conversation.

More
1 week 1 day ago #215649 by holch
This is a little confusing. Why don't you provide us with an LSS file of the problem? Copy your survey, delete everything that is not relevant and export it as LSS file and attach it here to your post.

In general I would say you should use numeric values for th answer codes and not "A1", etc. This makes things a lot easier. You do not have to use AND, but rather just use ">" or "<" in relevance equations that refer to the answer given in the question.

I am not quite sure how and where the "join" function comes into play here.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 week 1 day ago #215650 by tpartner
Yes, as Holch says, use numerics for the array question answer codes.

Then your feedback would be something like:

"You were in the {if(music_SQ001.NAOK lt 4, 'RED', 'BLUE')} group. You chose a {if(music2_SQ001.NAOK lt 4, 'RED', 'BLUE')} partner. You chose an allocation of {allocation.shown}. Can you explain your decision?"

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
4 days 19 hours ago #215783 by mbenakay
Thank you for your answers. I changed the answer codes to numerics. When I use the if( music_SQ001.NAOK  < 4, 'RED', 'BLUE'), it only works when the question is a text display one. When I try to use it in a list(radio) question it's not working. I attached the lss file of the survey. 

 

File Attachment:

File Name: limesurvey...4424.lss
File Size:20 KB


The survey is a little bit complicated. Participants are separated into two groups as RED and BLUE. Then, they answer 5 decision-making tasks which are Equal Allocation, Dictator Game, Ultimatum Game, Prisoner's Dilemma. To summarize:

First, the participants answer the music question. Based on their answer only to the Pop question, they got separated into RED and BLUE groups. Therefore, I would like to give the first feedback based on an array subquestion's answer such as if they answer 1,2 or 3 to Pop subquestion, they will be in the RED group. If they answer 4,5 or 6 they will be in BLUE group. 

Afterwards they answer 5 different tasks where they have to choose the group of their partner then also an allocation. For this feedback, I would like to call back their answer such as "You chose a partner from "RED/BLUE" group. Which allocation you would like to choose?".

At the end, after all the tasks are finished, they are asked to explain their choices in the tasks by answering a list question. For this feedback, I would like to call back all their answers plus the group membership information based on Pop question such as "You were in RED/BLUE group. In the Ultimatum Task, you chose a RED/BLUE partner. You chose the allocation (....). Why did you make that decision?"



 
Attachments:

Please Log in to join the conversation.

More
4 days 16 hours ago #215793 by Joffm
Without seeing your survey:
this will not work in list(radio), because there are no subquestions.
You always have to consider what you want to compareA list(radio) has only one answer; so here it is {if(Q1<4,"blue","red")}
And again it is different in questions of type "dual scale" and array(numbers).

Read the manual about "access to variables"

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
4 days 16 hours ago - 4 days 15 hours ago #215794 by Joffm
Your survey:
Where is the list/radio)?

But I do not see a problem in your survey
 

1. You shouldn't use the "join"-function, but the "list"-function. Here you automatically get a comma as delimiter.

2. Use this (as you see with numerical codes)
Music ( {list(if(Q1_SQ001=="Y",Q1_SQ001.question,""),if(Q1_SQ002=="Y",Q1_SQ002.question,""),if(Q1_SQ003=="Y",Q1_SQ003.question,""))} )
Movies ( {list(if(Q2_SQ001==1,Q2_SQ001.question,""),if(Q2_SQ002==1,Q2_SQ002.question,""),if(Q2_SQ003==1,Q2_SQ003.question,""))} )

and you get (different theme)
 

Now, what is your problem exactly?

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 4 days 15 hours ago by Joffm.

Please Log in to join the conversation.

More
3 days 18 hours ago #215858 by mbenakay
My problem is that when I try to give them feedback text inside a list(radio) question, it doesn't work.

All the tasks (Dictator, Ultimatum, Prisoner's) are in list(radio) form. Participants choose the group of their partner and also allocation in list questions. When I'm showing them the list question and asking them to choose an allocation, I would also like to remind them their previous choice in the same question. For example for Ultimatum Task, it would be "You were from the if(music_SQ001.NAOK < 4, 'RED', 'BLUE') group. You are matched with someone from if(ultimatumgroup.NAOK == "1", 'RED', 'BLUE') group. How would you like to divide the amount?".

As the code didn't work, I created different RED, BLUE questions for each of the tasks and used conditions to link them. However, I would like to use a code instead to call back their previous answers. Because at the end, I'm planning to give them feedback on all of their previous answers and I can't create separate questions for all of them.

Please Log in to join the conversation.

More
3 days 14 hours ago #215891 by Joffm
As I said before: Your sample survey doesn't contain any list(radio) question.
Suddenly appears a question called "ultimatumgroup".

As the code didn't work

never is a good description.

You'd really should send a lss export that contains the real scenario to show why "it didn't work".

Joffm

And if this is what you entered in your question

"You were from the if(music_SQ001.NAOK < 4, 'RED', 'BLUE') group. You are matched with someone from if(ultimatumgroup.NAOK == "1", 'RED', 'BLUE') group. How would you like to divide the amount?".

the curly brackets are missing.
 


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now