- Posts: 24
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
assessment in muliple choice
- mana
- Topic Author
- Offline
- Junior Member
Less
More
8 years 1 month ago - 8 years 1 month ago #132488
by mana
assessment in muliple choice was created by mana
hi forum
how can i design a multiple choice with assessment ?
second question :
in this question according the count assessment is set
can i use sum(question1_1*assessment , question1_2*assessment, etc) for every choice .
is it true ?
Thanks a lot for any suggestions.
how can i design a multiple choice with assessment ?
state | assessment |
state 1 | 9 |
state 2 | 4 |
state 3 | 0 |
state 4 | -3 |
second question :
in this question according the count assessment is set
state | count ? |
state 1 | |
state 2 | |
state 3 | |
state 4 |
can i use sum(question1_1*assessment , question1_2*assessment, etc) for every choice .
is it true ?
Thanks a lot for any suggestions.
Last edit: 8 years 1 month ago by mana.
The topic has been locked.
- tpartner
- Online
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 1 month ago #132491
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 assessment in muliple choice
I'm sorry, I don't understand what the objective is. What is the second question and what are you trying to do with it?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mana
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
8 years 1 month ago #132494
by mana
Replied by mana on topic assessment in muliple choice
is it possible to allocate assessment value to multiple choice question because i want to sum the answers of multiple question .
second question was answered .
second question was answered .
The topic has been locked.
- tpartner
- Online
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 1 month ago #132498
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 assessment in muliple choice
There are no built in assessments for multiple choice questions. You will need to use Expression Manager to calculate that sum.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mana
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
8 years 1 month ago #132501
by mana
Replied by mana on topic assessment in muliple choice
ok
can you help me about EM ?
im newbie ....
can you help me about EM ?
im newbie ....
The topic has been locked.
- tpartner
- Online
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 1 month ago - 8 years 1 month ago #132511
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 assessment in muliple choice
Assuming (from your example) Q1 is a multiple-choice and you want you assign the following values:
Add an equation type question with the following expression to count a total for Q1:
See Expression Manager Access to Functions - manual.limesurvey.org/Expression_Manager#Access_to_Functions
Sample survey attached:
- SQ001 = 9
- SQ002 = 4
- SQ003 = 0
- SQ004 = -3
Add an equation type question with the following expression to count a total for Q1:
See Expression Manager Access to Functions - manual.limesurvey.org/Expression_Manager#Access_to_Functions
Sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 8 years 1 month ago by tpartner.
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
8 years 1 month ago #132693
by mana
Replied by mana on topic assessment in muliple choice
wow
it's work
thanks for learn and LSS
it's work
thanks for learn and LSS
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
8 years 1 month ago - 8 years 1 month ago #132694
by mana
Replied by mana on topic assessment in muliple choice
Attachments:
Last edit: 8 years 1 month ago by mana.
The topic has been locked.
- tpartner
- Online
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 1 month ago - 8 years 1 month ago #132705
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 assessment in muliple choice
You can use nested sum() functions. Something like this (line-breaks inserted for clarity):
Code:
{sum( sum((S5_1=="1") * 3, (S5_1=="2") * 5, (S5_1=="3") * 6, (S5_1=="4") * 6, (S5_1=="5") * 6), sum((S5_2=="1") * 1, (S5_2=="2") * 2, (S5_2=="3") * 3, (S5_2=="4") * 4, (S5_2=="5") * 5), sum((S5_3=="1") * 0, (S5_3=="2") * 3, (S5_3=="3") * 4, (S5_3=="4") * 5, (S5_3=="5") * 5), sum((S5_4=="1") * 2, (S5_4=="2") * 4, (S5_4=="3") * 4, (S5_4=="4") * 8, (S5_4=="5") * 10) )}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 1 month ago by tpartner.
The following user(s) said Thank You: mana
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
8 years 1 month ago #132706
by mana
Replied by mana on topic assessment in muliple choice
i used this , and its work
is it true ?
thanks for reply
Code:
((S55_1 == "0") * 0 or (S55_1 == "1") * 3 or (S55_1 == "2") * 5 or (S55_1 == "3") * 6) + ((S55_2 == "0") * 0 or (S55_2 == "1") * 0 or (S55_2 == "2") * 2 or (S55_2 == "3") * 3) + ((S55_3 == "0") * 0 or (S55_3 == "1") * 1 or (S55_3 == "2") * 4 or (S55_3 == "3") * 5 )
thanks for reply
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13621
- Thank you received: 2488
8 years 1 month ago #132713
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic assessment in muliple choice
It's OK too.
But sometimes is better nto use sum.
In javacript : + can be "add" or "concat".
For example
"1"+"1" == "11"
1+1 == 2
But sometimes is better nto use sum.
In javacript : + can be "add" or "concat".
For example
"1"+"1" == "11"
1+1 == 2
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner, mana
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
8 years 1 month ago #133074
by mana
Replied by mana on topic assessment in muliple choice
I write a Equation like tony , but in export show me NAN :blink:
what meaning this word
plz see my LSA and help me :woohoo:
my problem in SUM (name of question )
what meaning this word
plz see my LSA and help me :woohoo:
my problem in SUM (name of question )
The topic has been locked.