- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Value to no answered questions
- giankuka
- Topic Author
- Offline
- New Member
Less
More
9 years 11 months ago #108509
by giankuka
Value to no answered questions was created by giankuka
I have assigned one valut to every question (1=100 2=80 3=50 4=25).
Is it possibile to assign the same a value (100) to the question if the user doesn't answer to it?
Because at the end of the survey I want to sum the value of all the questions.
Thanks
Is it possibile to assign the same a value (100) to the question if the user doesn't answer to it?
Because at the end of the survey I want to sum the value of all the questions.
Thanks
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
9 years 11 months ago #108515
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Value to no answered questions
Why don't you try it out. I would say yes.
No real survey would like to have same values for different answers, but it is possible.
But you might take a look at Assessments:
manual.limesurvey.org/Assessments
If you want to use these value to sum up and show something back to the user it might suits your needs. Mostly such SumUps are for Quizes or Tests.
No real survey would like to have same values for different answers, but it is possible.
But you might take a look at Assessments:
manual.limesurvey.org/Assessments
If you want to use these value to sum up and show something back to the user it might suits your needs. Mostly such SumUps are for Quizes or Tests.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- giankuka
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
9 years 11 months ago #108534
by giankuka
Replied by giankuka on topic Value to no answered questions
Really I would like to have the average score of all questions. But If some questions are no answered the average score will be no correct. How can I have the average score only of the questions with an answer?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
9 years 11 months ago #108542
by jelo
I cannot understand you.
What is "no answered"?
A) Not answered
Answered with No.
This are two complete different scenarios.
To really help you, we should see some or all questions of your project. Or post two questions to make your point clear.
If you state
Question 1 (only one item can be choosen):
Item Answer A = 100
Item Answer B = 80
Item Answer C = 50
Item Answer D = 25
Item No Answer = ???
Question 2 (only one item can be choosen):
Item Answer A = 100
Item Answer B = 80
Item Answer C = 50
Item Answer D = 25
Item No Answer = ???
Example:
Q1.A choosen = 100
Q2.B choose = 80
Sum = 180
AVG = 180/2=90
If you only have one answer per question, what sense would it make to assign answered/not answered the same value?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Value to no answered questions
giankuka wrote: But If some questions are no answered the average score will be no correct.
I cannot understand you.
What is "no answered"?
A) Not answered
Answered with No.
This are two complete different scenarios.
To really help you, we should see some or all questions of your project. Or post two questions to make your point clear.
If you state
I wonder how you assign values to questions. You can assign values to answers.I have assigned one valut to every question (1=100 2=80 3=50 4=25).
Question 1 (only one item can be choosen):
Item Answer A = 100
Item Answer B = 80
Item Answer C = 50
Item Answer D = 25
Item No Answer = ???
Question 2 (only one item can be choosen):
Item Answer A = 100
Item Answer B = 80
Item Answer C = 50
Item Answer D = 25
Item No Answer = ???
Example:
Q1.A choosen = 100
Q2.B choose = 80
Sum = 180
AVG = 180/2=90
If you only have one answer per question, what sense would it make to assign answered/not answered the same value?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- giankuka
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
9 years 11 months ago #108563
by giankuka
Replied by giankuka on topic Value to no answered questions
Question 1 options
Item Answer A = 100
Item Answer B = 80
Item Answer C = 50
Item Answer D = 25
Yes, only one item can be choosen but I give the possibility to go ahead without selecting any options.
So, this questions will not have a value!
So I have two possibility to calculate the average score of the survey:
1) assign a default value to this question (for example=100)(how?)
2) not includind this "not answered questions" in the average score (how?)
Item Answer A = 100
Item Answer B = 80
Item Answer C = 50
Item Answer D = 25
Yes, only one item can be choosen but I give the possibility to go ahead without selecting any options.
So, this questions will not have a value!
So I have two possibility to calculate the average score of the survey:
1) assign a default value to this question (for example=100)(how?)
2) not includind this "not answered questions" in the average score (how?)
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
9 years 11 months ago #108570
by jelo
1) Add an Item "Don't want to answer" with the value you want to choose and ensure that the question has to be answered.
2) Show us how you show the avg. sum at the end of the interview. Perhaps some conditions/scripting can be done.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Value to no answered questions
giankuka wrote: 1) assign a default value to this question (for example=100)(how?)
2) not includind this "not answered questions" in the average score (how?)
1) Add an Item "Don't want to answer" with the value you want to choose and ensure that the question has to be answered.
2) Show us how you show the avg. sum at the end of the interview. Perhaps some conditions/scripting can be done.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- giankuka
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
9 years 11 months ago #108640
by giankuka
Replied by giankuka on topic Value to no answered questions
1)I don't want to add an Item "Don't want to answer" because the user must have the possibility to skip the question without any action.
2) In the email report to the admin I calculate the average score in this way: {round(sum(ans1.valueNAOK, ans2.valueNAOK, ans3.valueNAOK, ans4.valueNAOK, ans5.valueNAOK)/5),0)}
2) In the email report to the admin I calculate the average score in this way: {round(sum(ans1.valueNAOK, ans2.valueNAOK, ans3.valueNAOK, ans4.valueNAOK, ans5.valueNAOK)/5),0)}
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
9 years 11 months ago - 9 years 11 months ago #108695
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Value to no answered questions
Did you try to count the answered questions via count and replace 5 with the count function?
count
count the number of answered (non-blank)questions in the list
number count(arg1, arg12, ..., argN)
If that is not working, take a look at countif / countifop .
The mean function is currently not implemented in EM. That would be the normal way to it in other software.
count
count the number of answered (non-blank)questions in the list
number count(arg1, arg12, ..., argN)
If that is not working, take a look at countif / countifop .
The mean function is currently not implemented in EM. That would be the normal way to it in other software.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 9 years 11 months ago by jelo.
The topic has been locked.
- giankuka
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
9 years 11 months ago #108778
by giankuka
Replied by giankuka on topic Value to no answered questions
.../count(ans1.valueNAOK, ans2.valueNAOK....)
It works! Thanks a lot
It works! Thanks a lot
The topic has been locked.