# Scoring a Quiz

1. Jul 6, 2008

### cesarcesar2

I making a personality quiz that goes like the following.

User takes a test to determine which type of person they are more like. So there will be say 5 types, each given a percentage of 100 that they are closest to at quiz end. The test has 50 questions, plus a age question and a sex question. Each test has 5 possible answers. The user clicks through radio button to fill out the quiz. No sweat so far.

My issue is in the test scoring, this is were i get confused. When making a test, each answer is weighted to fit a specific personality type. The weights are shown on screen as +6 thru 0 thru -6. (In code as 1-13, zero the default get 7 points). I have tried a few different scoring algos but non seem to be accurate. One other thing, I have to assume that a value other than zero WILL NOT be chosen when building a quiz.

1st try - Multiple count of all questions times 7 (7 is middle or 0 on scale), then divide by total points gotten from weighted answers. This ends up being something like 350/372 = 94%. This is all good till you get a score like 350/352 = 99%. In percentage you can assume that the second score is higher, but in reality the first score had the greater point spread.

2nd try - Add the highest value (up to 13) from each questions answers together for each personality type, then divide by total points gotten from weighted answers. This ends up something similar to the above try, but with higher percentages going to those personality types with answers that have no weights attached to them.

OK so now that i have written this Im really thinking that the quizzes will not work if weights are not set to other than zero (aka 7 points). Am I totally off here? Can anyone lead me in a proper direction. Thanks much for helping my keep what hair is left on my head.

Cesar

2. Jul 9, 2008

### HallsofIvy

Before you "bump", make sure what you have written is intelligible!

What, even the sex question has 5 possible answers? If you are only talking about the "50 questions" don't make things ambiguous by adding irrelevant information.

What do you mean by "accurate"? Determining whether or not an algorithm is "accurate" requires knowing what the "correct" answer is. Are you talking about creating a scoring algorithm for a test you are making or are you trying to figure out what algorithm a test you found on the internet is using?

What most such "tests" do is just add the numeric value of all the answers. Each "personality" would correspond to a range of possible sums.

3. Jul 9, 2008

### kts123

I'm not really sure what you're asking but...

Why not try "indexing" values? For example...

Question1
~~~~~~
Choice A gives +2 points to personality A, +1 to personality B, +0 to personality C, etc.

Choice B gives +1 points to personality A, +4 to personality B, +1 to personality C, etc.

Choice C gives +0 points to personality A, +0 to personality B, +3 to personality C, etc.
~~~~~~

Each choice increases the value (score) of differing personalities?

Then again, I might be answering the wrong question!