Show statistics to participant before they submit their answer

Plus d'informations
il y a 3 mois 2 semaines - il y a 3 mois 2 semaines #187936 par ritapas
Hello,
is there a clean way to show the survey statistics to participants before they submit their answers?

(Yes, I think this will bias their answers.)

The only way I've found is showing the "statistics_user/action/surveyid/XXXXX/language/YY" inside an iframe but this is clumsy and not nice to see.

Thank you for any suggestion.
Rita
Dernière édition: il y a 3 mois 2 semaines par ritapas.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 2 semaines #187942 par holch
I don't think that there is any other way to show the public statistics page in another way than an iframe if it needs to be before they submit their answers.

nside an iframe but this is clumsy and not nice to see.


You can format iframes quite nicely, depending on what you need. But of course, this always is a question of personal taste.

You might be able to create your own "statistics" in a text display question, by using one of Denis' plugin called "getStatInSurvey" ( gitlab.com/SondagesPro/ExportAndStats/getStatInSurvey ). Disclaimer: I haven't used it myself so far, but from what I understood that it does, it might help you here. You will have to try yourself.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Les utilisateur(s) suivant ont remercié: ritapas

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 2 semaines #187943 par ritapas
Thank you, I'll check ASAP.

I'm not sure but it looks like the plugin can do stats only on the present participant's answer.

Our intent, on the other hand, is something like:
- "Be the first to answer YES"
- "More than 100 friends said NO to this".

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 2 semaines #187946 par holch
With Expression Manager you can only access the responses of the current respondent.

Denis' plugin is supposed to consults the database and give you information about the current results of a specific question. Otherwise the plugin would be unnecessary and creating mean values and % wouldn't make sense and calling it "statistics" either.

Allow to show some statictics from previous answers in survey in question text, help and answers.

I agree that this might be a little bit misleading. But I guess with "previous answers" is mean the answers of previous respondents.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Les utilisateur(s) suivant ont remercié: ritapas

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 2 semaines #187961 par Joffm

Our intent, on the other hand, is something like:
- "Be the first to answer YES"
- "More than 100 friends said NO to this".


I can confirm that you may use the plugin to do this.


Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Les utilisateur(s) suivant ont remercié: DenisChenu, ritapas

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 2 semaines #187965 par lfanfoni
Some time ago I did a survey where it was necessary to customize the questionnaire based on aggregate calculations on the answers already present.
I used quotas to trigger the condition on the aggregate data, and as an end action (reached limit), the autoload URL. This URL can be the same survey URL, parameterized so as to customize the questionnaire of the respondent that triggered the achievement of the quota.
If you place the request also in the Italian forum, I can try to give you some more suggestions

Aiutaci a far crescere la comunità italiana di LimeSurvey: vai sul forum Italiano per richieste e soluzioni citando sempre la versione usata, non scrivere in privato, suggerisci modifiche o nuove traduzioni - www.limesurvey.org/forum/italian-forum/118441
Les utilisateur(s) suivant ont remercié: ritapas

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 2 semaines #187966 par DenisChenu
The plugin can show exactly the sentence you need.

For Answers part : since Expression Manager already happen : you can show something like that:

More than [Q.nb.NON] friends said NO to this. but not do something like this :

{if('[Q.nb.NON]' == '0',"None said NO to this","More than [Q.nb.NON] friends said NO to this")}

For 4;0 : i surely do a new plugin for such system using a new EM function
github.com/LimeSurvey/LimeSurvey/commit/...e88774c37530b9415bcc

Something like {statCount("Q","NO")} then con use it anywhere more easily.

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: ritapas

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 2 semaines #187969 par Joffm

but not do something like this :
{if('[Q.nb.NON]' == '0',"None said NO to this","More than [Q.nb.NON] friends said NO to this")}

How to understand this?

If I have this in my question
{if('[Q1.nb.1]' > 5, "More than " + ('[Q1.nb.1]' - 1) + " answered A", "Less than 6 answered A")}

I get either


or



But it doesn't work in questions of type equation like
eqQ1: {floor('[Qu1.nb.1]' / Qu0_1 * 100)}
eqQ2: {floor('[Qu1.nb.2]' / Qu0_2 * 100)}

The value is displayed correctly, but not stored in the answer table.
And a following equation like
M1: {min(eqQ1,eqQ2)}
fails obviously.

So in my opinion you can use it to display something - even with "if" statements -, but not to do further calculations.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 1 semaine #187974 par DenisChenu
@ Joffm : yes, you can do it in question and help in 3.X
You can do it in answers or subquestion in 2.X
But you can't do it in answers or subquestion in 3.X

I put :

For Answers part : since Expression Manager already happen : you can show something like that:


Thanks for correction.

You can use system like
{if('[Q1.nb.1]' > 5, "More than " + ('[Q1.nb.1]' - 1) + " answered A", "Less than 6 answered A")}
in question and help
But not in answers or subquestions

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: ritapas

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 mois 6 jours #188306 par ritapas
Denis' plugin does exactly what we needed and it works perfectly on our (rather old) LS 2.6.6-lts.
We hope to test soon on our LS3 environment.
Thank you all.
Rita
Les utilisateur(s) suivant ont remercié: DenisChenu, lfanfoni, gabrieljenik

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #188715 par lfanfoni
It works perfectly even with version 3. Great work !!!
Thank you

Aiutaci a far crescere la comunità italiana di LimeSurvey: vai sul forum Italiano per richieste e soluzioni citando sempre la versione usata, non scrivere in privato, suggerisci modifiche o nuove traduzioni - www.limesurvey.org/forum/italian-forum/118441
Les utilisateur(s) suivant ont remercié: DenisChenu, ritapas

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 2 semaines - il y a 2 mois 2 semaines #188798 par DenisChenu
For information : project in 4.0 , a core plugin to have statitics usage inside Expressin Manager directly
github.com/LimeSurvey/LimeSurvey/pull/13...52a79c514a726f65c89b

Then, for example :
See bugs.limesurvey.org/view.php?id=11589#c53523
For usage inside subquestion text AND subquestion relevance :)

2 functions :
statCount(Q01.SGQA) and statCount(Q01.SGQA,"A1")

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Dernière édition: il y a 2 mois 2 semaines par DenisChenu.

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!