Welcome to the LimeSurvey Community Forum

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

Personality tests

  • WiktorTokarski
  • WiktorTokarski's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago #196764 by WiktorTokarski
Personality tests was created by WiktorTokarski
Is it possible to make a personality test in LimeSurvey?

Personality test is a kind od survey when every answer is correct, because user is doing self-diagnosis. The final result is showing the diagnosis, for example "You are choleric" or "Sanguine".

Example:

1.Here goes first question
a. Here goes answer
b. Here goes answer
c. Here goes answer
d. Here goes answer

2. Second question
a. Here goes answer
b. Here goes answer
c. Here goes answer
d. Here goes answer

The key to test is
1 a Choleric
1 b Sanguine
1 c Phlegmatic
1 d Melancholic

2 a Sanguine
2 b Phlegmatic
2 c Choleric
2 d Melancholic

After doing 18 questions user gots its own results:

Phlegmatic 3 points
Sanguine 4 points
Melancholic 3 poins
Choleric 8 points

Choleric is your personality.


I would be grateful if you will let me know if such personality test is possible, and - how to prepare it.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago - 4 years 2 weeks ago #196767 by Joffm
Replied by Joffm on topic Personality tests
Hi,
this is really easy to achieve.

Use Expression Manager / ExpressionScript to calculate your final scores.

Let's use your codes of answer options (a,b,c,d).
After all your questions you do the calculations.

So you'd start to count Choleric:
In a question of type equation (let's call it "scoreChol") you enter:
{sum(if(Q1=="a",1,0),if(Q2=="c",1,0),...}

And Sanguinic:
In a question of type equation (let's call it "scoreSang") you enter:
{sum(if(Q1=="b",1,0),if(Q2=="a",1,0),...}

You see how it works. If you use different codes of your answer options , please adapt.

This way you get the scores of each type in the respective variables.

Next you want to calculate the Maximum score.
Again a question of type equation (let's call it "scoreMax") and here you enter:
{max(scoreChol,scoreSang,...)}

Now you display your results either on a question of type "text display" or in the end message.
Something like:

Phlegmatic: {scorePhleg} points
Sanguine: {scoreSang} points
Melancholic {scoreMel} poins
Choleric {scoreChol} points

{if(scorePhleg==scoreMax,"Phlegmatic",if(scoreSang==scoreMax,"Sanguinic",if(scoreMel==scoreMax,"Melancholic","Choleric")))} is your personality.

You have to decide what to display if two or even three scores have the same (highest) value.

To learn about this you should read this chapters in the manual:
manual.limesurvey.org/ExpressionScript_-_Presentation#Equations

manual.limesurvey.org/ExpressionScript_-...mplemented_functions

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 2 weeks ago by Joffm.
The following user(s) said Thank You: ritapas
The topic has been locked.
  • WiktorTokarski
  • WiktorTokarski's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 week ago #197023 by WiktorTokarski
Replied by WiktorTokarski on topic Personality tests
Thank you for your kind help. It seems I have to learn basics of programming, but I have no time to do this. I have to find other solution.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 week ago - 4 years 1 week ago #197072 by holch
Replied by holch on topic Personality tests
Given what you are trying to do, I don't see how you will be able to achieve this without at least a very, very basic knowledge of programming, actually more scripting.

Somehow any tool that you use will need to know what you want it to do/display depending on what your respondents answered.

And this here is really something you can learn in a couple of hours. It is not realistic to create a "personality test" within a couple of minutes. But once you know how to do it, it will not take you long to have a questionnaire up and running.

Joffm already gave you a lot of hints from where to start.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 4 years 1 week ago by holch.
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose