Array

Más
3 meses 4 semanas antes #183581 por acasadei90CRT
Array Publicado por acasadei90CRT
Hello Community,

I'm trying to create a questionnaire where there are two questions:

1) one where you have to rate a product (scale from 1 to 5)

2) second one where you have to rate from 1 to 3 the three most important benefits of the previous products.

In the second question I would like to reduce the number of products based on the selection done in the first question: I would like to have just only the products that have been rated with 3 or more.

Is it possibile to do that?

I attached a file in order to better understand my textual explanation.

Best regards,

Andrea
Adjuntos:

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

LimeSurvey Partners
Más
3 meses 4 semanas antes #183586 por DenisChenu
Respuesta de DenisChenu sobre el tema Array
See relevance equation on sub questions : manual.limesurvey.org/Adding_answers_or_...fic_for_subquestions

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183592 por Joffm
Respuesta de Joffm sobre el tema Array
Hi,
1. first you should swap benefits and products in the second question.
Not only because of consistency but... there is no subquestion relevance on columns.

2. You should change your alphanumerical codes "A1", "A2" to numerical 0,1,2,3...
In the second question you are going to compare

3. Having done this you can set the subquestion relevance in s1001
s1001_SQ001: s1000_SQ001>2
s1001_SQ002: s1000_SQ002>2

With your codes "A1",... you had to enter: s1000_SQ001=="A4" OR s1000_SQ001=="A5" OR s1000_SQ001=="A6"
Furthermore: I am sure you want to calculate some statistics, like mean, t-test, or so.
What do you think is the mean of "A1", A2" and "A4". It is not "A2,33".

Best regards
Joffm


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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183600 por acasadei90CRT
Respuesta de acasadei90CRT sobre el tema Array
Hi Joffm,

I swapped products and benefits in the second question and I also changed the codes (in the first question - edit answer option).

Then I set the relevance equations in the second question but i have probably done some errors because it didn't worked.

I share a picture about the second question's setting.


Thanks in advance,

Andrea
Adjuntos:

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183604 por Joffm
Respuesta de Joffm sobre el tema Array
Hi, Andrea,

s1001_SQ001: s1000_SQ001>2 should mean:

In subquestion SQ001 of question s1001 you enter into the relevance equation s1000_SQ001>2

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
El siguiente usuario dijo gracias: acasadei90CRT

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183606 por acasadei90CRT
Respuesta de acasadei90CRT sobre el tema Array
Yes Joffm,


I had also tried that solution but it didn't work so I thought it wasn't correct.


I attach the file. I launched the survey preview but the second question's rows still also appear independently by the first question's answers.
Adjuntos:

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes - 3 meses 4 semanas antes #183608 por Joffm
Respuesta de Joffm sobre el tema Array
If you call your question "s1000", please use "s1000" in the relevance equation, not "S1000"



Some more words:
Remeber to check in each row that only three benefits are selected with different values.
This is done by subquestion validation.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Adjuntos:
Última Edición: 3 meses 4 semanas antes por Joffm.
El siguiente usuario dijo gracias: DenisChenu, acasadei90CRT

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183611 por acasadei90CRT
Respuesta de acasadei90CRT sobre el tema Array
Thank you Joffm,

Ops, I made a terrible mistake with that "s".

I will try to set the subquestion validation as you suggested to me.

Thank you again for your help.

Andrea

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183613 por Joffm
Respuesta de Joffm sobre el tema Array
Keep calm, Andrea,
that's not a terrible mistake. That's a typo, but unfortunately you will never find yourself.

Similar to my "remeber" in the last post.

Joffm


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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183621 por acasadei90CRT
Respuesta de acasadei90CRT sobre el tema Array
Regarding to the subquestion validation i was trying to use the following logic:

1) Set the sum of the subquestions' answers must be equal to 6 (because there are only three possible value: 1,2,3)

2) There must be only 3 answers for each row, the others must be empty (because they have to choose the three most important benefits among all the possible one).


Is it a good way to do it or there are other better solutions?

Best Regards,

Andrea

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183628 por Joffm
Respuesta de Joffm sobre el tema Array
Yes,
these are the two conditions:
Sum of answers ==6
Count of answers ==3

Joffm


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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183642 por Joffm
Respuesta de Joffm sobre el tema Array
You have also to check uniqueness to avoid "2+2+2"

Joffm


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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes #183651 por acasadei90CRT
Respuesta de acasadei90CRT sobre el tema Array
Hello Joffm,

Thank you very much for your suggest, it is also necessary to add that condition.

What is the code that I can use in order to set this condition on subquestion validation?

I meant:
SUM("subquestionvalue1", "subquestionvalue2", ……)

What is the code for the "subquestionvalue"?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 4 semanas antes - 3 meses 4 semanas antes #183661 por Joffm
Respuesta de Joffm sobre el tema Array
Hi, Andrea,

What is the code for the "subquestionvalue"?

This is not a serious question, is it?

Remember, what you entered in the subquestion relevance of the second question.
Something like "s1000_SQ001>2".
Meaning: The value of the subquestion "SQ001" of question "s1000" is greater then 2.
Here you have your subquestion value.

I thought about the validation a bit more.
Except the validations "sum==3", "count==6", "all unique" you have to check if the question is displayed. So you have to add sommething like the above "s1000_SQ001>2".

long.

So I think about a different design.
Instead of using an array(numbers)" with all the validation, use a ranking question where everything is built-in.

Have a look.

Archivo Adjunto:

Nombre del Archivo: limesurvey...3793.lss
Tamaño del Archivo:36 KB


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Adjuntos:
Última Edición: 3 meses 4 semanas antes por Joffm.
El siguiente usuario dijo gracias: acasadei90CRT

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
3 meses 3 semanas antes #183815 por acasadei90CRT
Respuesta de acasadei90CRT sobre el tema Array
Thank you Joffm.

Sorry for the delay but I tried to adopt your solution to another questionnaire and I have just finished.

I had never used the ranking question but it is perfect for my purposes.

Thanks again and I wish you a great weekend.

Best Regards,

Andrea

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

¡Comenzar ahora!

Simplemente cree una cuenta y comience a usar LimeSurvey hoy mismo.

Registrarse ahora
¡Únase a nuestro boletín informativo!

Iniciar sesión