Implementing means and mean based scores

More
2 months 5 days 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!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 months 5 days ago #180371 by jelo

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

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago #180432 by tpartner
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.

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago - 2 months 4 days ago #180434 by DenisChenu

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 2 months 4 days ago by DenisChenu.

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago #180436 by tpartner

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.
Attachments:
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago #180437 by jelo

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

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago - 2 months 4 days ago #180451 by DenisChenu

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 2 months 4 days ago by DenisChenu.

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago #180452 by DenisChenu

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago #180473 by tiflis
It is a static mean, so a direct value from research. Thanks for helping out!

Please Log in or Create an account to join the conversation.

More
2 months 3 days ago #180494 by tpartner
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:

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

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!