Welcome to the LimeSurvey Community Forum

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

Implementing means and mean based scores

  • tiflis
  • tiflis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #180369 by tiflis
Hey everybody,


Is it possible to implement a mean in a Survey? If so, how can I achieve that a respondent gets an end text based on how he scored in the Survey (in 2 questions out of the entire Survey to be precise)? So my goal is that depending on whether the respondent´s score is below or above that mean, he will automatically see an individual text. I have already prepared those short texts - 1 for above and 1 for below mean, so 4 texts in total for the 2 questions. In case there is no option for that, would there be another way instead of sending every respondent an individual mail containing his score and the corresponding texts manually? I ask beforehand because that option would be very suboptimal for me.

I am using:

Windows 7 Professional (and Windows 10 Home)
Mozilla Firefox Quantum 64.0.2
LimeSurvey Version 3.15.5+181115

Thanks and have a nice day!
The topic has been locked.
More
5 years 2 months ago #180371 by jelo
Replied by jelo on topic Implementing means and mean based scores

tiflis wrote: So my goal is that depending on whether the respondent´s score is below or above that mean, he will automatically see an individual text.

Is the mean static (e.g. a value from a research)? Or is it the mean over other respondents of the survey (the first respondent would be exactly be the mean)?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #180432 by tpartner
Replied by tpartner on topic Implementing means and mean based scores
There is no direct access to previous responses from within a survey. Denis has a plugin getStatInSurvey but I don't think it's ready for 3.x.

- framagit.org/SondagePro-LimeSurvey-plugin/getStatInSurvey

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago - 5 years 2 months ago #180434 by DenisChenu
Replied by DenisChenu on topic Implementing means and mean based scores

This plugin is tested with LimeSurvey 2.06,2.65 and 3.15.5

framagit.org/SondagePro-LimeSurvey-plugi...nSurvey#installation :)

I put the mirroring

Else : not usable direcly in Expression Manager relevance : only in question text. Surely can do a JS solution :/

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.
Last edit: 5 years 2 months ago by DenisChenu.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #180436 by tpartner
Replied by tpartner on topic Implementing means and mean based scores

DenisChenu wrote:

This plugin is tested with LimeSurvey 2.06,2.65 and 3.15.5

framagit.org/SondagePro-LimeSurvey-plugi...nSurvey#installation :)

I put the mirroring

Else : not usable direcly in Expression Manager relevance : only in question text. Surely can do a JS solution :/


Sorry, I was looking at this:


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: DenisChenu
The topic has been locked.
More
5 years 2 months ago #180437 by jelo
Replied by jelo on topic Implementing means and mean based scores

You can not use this system in expression manager for answer part in LimeSurvey 3 and up.

Why is that the case? Limited exposition of variables via Twig? A temporary restriction?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago - 5 years 2 months ago #180451 by DenisChenu
Replied by DenisChenu on topic Implementing means and mean based scores

jelo wrote:

You can not use this system in expression manager for answer part in LimeSurvey 3 and up.

Why is that the case? Limited exposition of variables via Twig? A temporary restriction?

Because : No way to extedn LimeSurey Expression Manager.

I do it surely in 4.0 using adding new functions and maybe if i found time : extend knowVars of LimeSurvey
manual.limesurvey.org/ExpressionManagerStart

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.
Last edit: 5 years 2 months ago by DenisChenu.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #180452 by DenisChenu
Replied by DenisChenu on topic Implementing means and mean based scores

tpartner wrote: Sorry, I was looking at this:

Don't have to be sorry : i put the mirroring after your post …

I muist send it to Lime Store …

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 topic has been locked.
  • tiflis
  • tiflis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #180473 by tiflis
Replied by tiflis on topic Implementing means and mean based scores
It is a static mean, so a direct value from research. Thanks for helping out!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #180494 by tpartner
Replied by tpartner on topic Implementing means and mean based scores
In that case, simply place the mean value and the scores in hidden equation questions and place relevance on the text-display questions something like this:

Code:
hiddenScore1 <= hiddenMean

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: tiflis
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose