Welcome to the LimeSurvey Community Forum

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

Fehler bei Mittelwertberechnung

More
4 years 1 month ago #218461 by Joffm
Hallo,
was heißt "komische" Werte?

Wenn ich den "alten" Ansatz des Test 1 nehme, der in den Subtests
1. 11 normale und 4 reverse Items
2. 15 normale Items
3. 10 normale und 5 reverse Items
hatte

so sollte ich bei Eingabe von 45 mal "1" folgende Werte erhalten

1. 11 * 1 + 4 * 5 = 31 -> Mittelwert: 31/15 = 2,06
2. 15 * 1 = 15 -> Mittelwert: 15/15 = 1
3. 10 * 1 + 5 * 5 = 35 -> Mittelwert: 35/15 = 2,33
Und für den Gesamtmittelwert ergibt sich dann:
G. 36 * 1 + 9 * 5 = 81 -> Mittelwert: 81/45 = 1,80

Und genau dies wird auch berechnet:
 

 

Und bei Dir stimmen die Werte doch auch, da scheint nichts komisch zu sein.:
WTI: 12 normale, 3 reverse -> 12 * 1 + 3 * 5 = 27 -> Mittelwert: 27/15 = 1,80
WTP: 14 normale, 1 reverse -> 14 * 1 + 1 * 5 = 19 -> Mittelwert: 19/15 = 1,27
WTR: 13 normale, 2 reverse -> 13 * 1 + 2 * 5 = 23 -> Mittelwert: 23/15 = 1,53

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
4 years 1 month ago #218476 by StefStefStef
Hallo Joffm,

vielen Dank! Da hatte ich gerade mal wieder einen Denkfehler. Ich habe jetzt alles durchkorrigiert. Kannst Du mir noch sagen, warum bei "count" der Zusatz ".NAOK" nicht dabei ist und bei "sum" dabei?

Danke!

count(that.tec1101.sq_WTIr)*6-sum(that.tec1101.sq_WTIr.NAOK))/15,1),'')}
The topic has been locked.
Moderators: holchJoffmtpartner

Lime-years ahead

Online-surveys for every purse and purpose