Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Show / Report statistics of current survey

  • theendeavorist
  • theendeavorist's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #190345 by theendeavorist
Show / Report statistics of current survey was created by theendeavorist
I have been searching through the forum but haven't quite found an answer to this particular question.

We are currently creating a survey with questions that are A, B, C or D as answer and in the end we generate a report of this with the answers. However, we want to draw conclusions (show statistics) in the current (of one) survey.

So let's say this survey has just one question and we want to add values to the answers (In this case risk factors).

A = Positive = 0% = no risk
B = Negative = 100% = risk!
C = Could be improved = 50% = needs to be improved
D = Not applicable to user

Which means, if A is answered, there is no risk of question A
Which means, if B is answered, there is a full risk of question A
Which means, if C is answered, there is some risk of question A
Which means, if D is answered, this answer is not taken into account of question A

Can we solve and get a conclusion by using the Expression Manager?
We will be having more questions like this (let's say there are 5 in total), how can we calculate the total risk within these 5 questions while all weigh in the same amount?

It would be great if we can use this summary in the report generated as well. And even if we can show the user these results at the end of the survey before submitting their answers.


And last but not least, is there a way to show this in a graph? Lots of questions but the forum has always been helpfull and full of expertise when it comes to things like this :)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #190347 by Joffm
Replied by Joffm on topic Show / Report statistics of current survey

how can we calculate the total risk within these 5 questions while all weigh in the same amount?

Yes, of course you can.
But only you know how you are going to calculate the total risk.
Is it just the mean of the risk values to these questions? Or more sophisticated? No problem.
You have the whole implemented functions of Expression manager
manual.limesurvey.org/Expression_Manager...mplemented_functions

And where do you display the summary?
In a question of type "text display" at the end, or in the Thank You message?
Both is possible. You have access to the calculated variables.

Regarding the graph:
There is an example here by tpartner showing a google graph, some time ago.
www.limesurvey.org/forum/can-i-do-this-w...n-one-question-group
Or maybe this may help
www.limesurvey.org/forum/can-i-do-this-w...ext-display-question
or this
www.limesurvey.org/forum/can-i-do-this-w...harts-library-loader

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: theendeavorist
The topic has been locked.
  • theendeavorist
  • theendeavorist's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #190387 by theendeavorist
Replied by theendeavorist on topic Show / Report statistics of current survey
Thank you Joffm! I will have a look at this for sure and come back with some questions if we have any. Thanks for the prompt response, always appreciated!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose