- Posts: 77
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
take the first selected options of a multiple question
- Mon2016
- Topic Author
- Offline
- Senior Member
Less
More
1 year 10 months ago #228407
by Mon2016
take the first selected options of a multiple question was created by Mon2016
Hello dear forum,
I tell you what is happening to me in a questionnaire that I am doing and I would really like someone to guide me since I am not an expert in LS.
I have a list of 50 brands that I put in a multiple choice question.
The dilemma now is that I must know which brand they selected first, second and third since that is where the following questions for those first three questions start.
"CREATE HIDDEN VARIABLE FOR A SET OF STORES TO ASK IN THE QUESTIONNAIRE USING THE FIRST 3 SELECTED STORES"
Example
In the question of the 50 marks.
select
mark 10
mark 20
mark 3
mark 35
mark 38
In that order I must take only the first three brands that they selected.
The version I use is: 3.25.10
I also leave you an example in an LSS survey of my survey with these two questions.
Thank you all for helping me.
Greetings
I tell you what is happening to me in a questionnaire that I am doing and I would really like someone to guide me since I am not an expert in LS.
I have a list of 50 brands that I put in a multiple choice question.
The dilemma now is that I must know which brand they selected first, second and third since that is where the following questions for those first three questions start.
"CREATE HIDDEN VARIABLE FOR A SET OF STORES TO ASK IN THE QUESTIONNAIRE USING THE FIRST 3 SELECTED STORES"
Example
In the question of the 50 marks.
select
mark 10
mark 20
mark 3
mark 35
mark 38
In that order I must take only the first three brands that they selected.
The version I use is: 3.25.10
I also leave you an example in an LSS survey of my survey with these two questions.
Thank you all for helping me.
Greetings
Attachments:
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10632
- Thank you received: 3697
1 year 10 months ago #228408
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic take the first selected options of a multiple question
With a 50-item list you will not get the brands selected in any useful order. The respondent will not be able to take in the whole list at once so they will simply select as they scroll down and recognize brands.
I would limit the first question to 3 "favorite" answers and follow with a second question for all other brands to be selected. You can use array-filter-exclusion in the second question.
I would limit the first question to 3 "favorite" answers and follow with a second question for all other brands to be selected. You can use array-filter-exclusion in the second question.
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.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11756
- Thank you received: 2753
1 year 10 months ago #228430
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic take the first selected options of a multiple question
I agree with Tpartner. It was also the first thing that I thought when I read your post.
On such a long list, people will go through the list and check everything they think is relevant and then later might adapt.
On such a long list, people will go through the list and check everything they think is relevant and then later might adapt.
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.
- Mon2016
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
1 year 10 months ago #228436
by Mon2016
Replied by Mon2016 on topic take the first selected options of a multiple question
Yes, Muchas gracias
would be the most feasible
Is there a way to only know the order in which you selected them?
Just for a stat.
A similar dilemma I'm facing is which of those 50 brands.
I must ask for the first three brands that you selected but giving priority to three exclusive brands,
That is, my exclusive brands and the ones I am interested in evaluating are 2, 5, 7 and 9
If in the previous question you selected the following brands:
1
20
30
2
5
40
I must give priority to my brands of interest, so I would take a random brand and ask for brand 2 and 5 which are the brands of interest.
This is possible?
Thanks to both.
would be the most feasible
Is there a way to only know the order in which you selected them?
Just for a stat.
A similar dilemma I'm facing is which of those 50 brands.
I must ask for the first three brands that you selected but giving priority to three exclusive brands,
That is, my exclusive brands and the ones I am interested in evaluating are 2, 5, 7 and 9
If in the previous question you selected the following brands:
1
20
30
2
5
40
I must give priority to my brands of interest, so I would take a random brand and ask for brand 2 and 5 which are the brands of interest.
This is possible?
Thanks to both.
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10632
- Thank you received: 3697
1 year 10 months ago #228437
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic take the first selected options of a multiple question
There is no accurate way to record the selection sequence as respondents can select and deselect options in a multiple-choice type question.
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.
- Mon2016
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
1 year 10 months ago #228449
by Mon2016
Replied by Mon2016 on topic take the first selected options of a multiple question
Ok, now I understand a little more, thank you very much.
Besides.
Is there any way to take my brands of interest as a priority?
I always seek to have those brands under evaluation (if they are selected)
If they select 1 or 2 brands of interest, even if they have marked 20, always take those brands even if they are not in their first three mentions.
Thank you for your patience.
Besides.
Is there any way to take my brands of interest as a priority?
I always seek to have those brands under evaluation (if they are selected)
If they select 1 or 2 brands of interest, even if they have marked 20, always take those brands even if they are not in their first three mentions.
Thank you for your patience.
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12785
- Thank you received: 3940
1 year 10 months ago #228451
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic take the first selected options of a multiple question
You can do this by a few equations.
Create some kind of container where you store the three brands, e.g. a multiple text question
First add key brands within the first three places to this container.
If there are less than three, count the key brands in the rest.
If there are more than the necessary number, remove brands randomly until you have three brands in total.
Add these brands to the container.
If there are still less than three brands count the rest brands within the first three places.
If there are more than the necessary number, remove brands randomly until you have three brands in total.
Add these brands to the container.
Now you have the three brand codes in the subquestions of your container.
Joffm
Create some kind of container where you store the three brands, e.g. a multiple text question
First add key brands within the first three places to this container.
If there are less than three, count the key brands in the rest.
If there are more than the necessary number, remove brands randomly until you have three brands in total.
Add these brands to the container.
If there are still less than three brands count the rest brands within the first three places.
If there are more than the necessary number, remove brands randomly until you have three brands in total.
Add these brands to the container.
Now you have the three brand codes in the subquestions of your container.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12785
- Thank you received: 3940
1 year 10 months ago #228474
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic take the first selected options of a multiple question
How many of these key brands will be there?
Only three? Or more?
Joffm
Only three? Or more?
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- Mon2016
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
1 year 10 months ago #228475
by Mon2016
Replied by Mon2016 on topic take the first selected options of a multiple question
Hi joffm,
That's right, I only need to evaluate only three brands.
Suppose my maras of interest are 1, 3 and 5
And in your selection are
4, 2, 3, 5 and 6
So I will always give priority to 1, 3 and 5
So I will evaluate 3, 5 and a random one that is in one of the first three places.
I hope I was clear.
Greetings,
That's right, I only need to evaluate only three brands.
Suppose my maras of interest are 1, 3 and 5
And in your selection are
4, 2, 3, 5 and 6
So I will always give priority to 1, 3 and 5
So I will evaluate 3, 5 and a random one that is in one of the first three places.
I hope I was clear.
Greetings,
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12785
- Thank you received: 3940
1 year 10 months ago #228476
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic take the first selected options of a multiple question
I know that you want to evaluate three.
The question was: How many brands of interest are there?
Suppose my maras of interest are 1, 3 and 5
Here you again showed three. Are there only three?
The question was: How many brands of interest are there?
Suppose my maras of interest are 1, 3 and 5
Here you again showed three. Are there only three?
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10632
- Thank you received: 3697
1 year 10 months ago - 1 year 10 months ago #228479
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic take the first selected options of a multiple question
I think the point is that, in this example, the survey author is more interested in brands 1, 3 and 5, so those should be prioritized for followup questions above any others that may also have been selected by the respondent.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 1 year 10 months ago by tpartner.
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12785
- Thank you received: 3940
1 year 10 months ago - 1 year 10 months ago #228480
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic take the first selected options of a multiple question
Okay,
three priority brands. This makes it easy.
Though you wrote here
Tomorrow I will send an example, only using some equations.
Here a first view
TOP 3
Other brands
Result
1 and 5 are in, regardless if TOP 3 or not
one "other brand" of the TOP 3 is added to fill the third place.
Joffm
three priority brands. This makes it easy.
Though you wrote here
Here you mention four interesting brands.That is, my exclusive brands and the ones I am interested in evaluating are 2, 5, 7 and 9
Tomorrow I will send an example, only using some equations.
Here a first view
TOP 3
Other brands
Result
1 and 5 are in, regardless if TOP 3 or not
one "other brand" of the TOP 3 is added to fill the third place.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 10 months ago by Joffm.
Please Log in to join the conversation.