Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:valuemean [20.01.2015 18:04] – created alexander.ritteren:create:functions:valuemean [21.01.2015 12:35] – [valueMean()] alexander.ritter
Line 1: Line 1:
 ====== valueMean() ====== ====== valueMean() ======
  
-''float **valueMean**(string //Frage//)''+''float **valueMean**(string //question//)''
  
-''float **valueMean**(string //Frage//, string|array //Items//)''+''float **valueMean**(string //question//, string|array //items//)''
  
-''float **valueMean**(array //Variablen//)''+''float **valueMean**(array //variables//)''
  
-Berechnet das arithmetische Mittel (DurchschnittErwartungswertüber die Antwortcodes für alle Items einer Frage (z.Beiner Skalaoder für eine Liste von Variablen.+Calculates the mean (averageexpectation valueof the answer codes for all items in a question (e.ga scale), or for a list of variables.
  
-  * //Frage// -- Die Kennung einer Frage (als String+  * //question// -- ID of a question (as a string
-  * //Items// -- Eine Liste (String oder Arrayvon Items +  * //items// -- A list (string or arrayof items 
-  * //Variablen// -- Eine Liste (Arrayvon Variablen-Kennungen entsprechend der **Variablen-Übersicht**+  * //variables// -- A list (arrayof variable IDs as stated in the **Variables Overview**
  
-**Hinweis:** Die Verwendung funktioniert analog zu ''[[:de:create:functions:valuesum|valueSum()]]'' -- dort werden die Parameter ausführlich anhand von Beispielen dargestellt.+**Note** This works in the same way as ''[[:en:create:functions:valuesum|valueSum()]]'' -- the parameters are described in detail in this chapter with various examples.
  
  
-===== Beispiel =====+===== Example ===== 
 + 
 +In the following example, question "AB02" will be displayed if the mean in the scale "AB01" is at least 1.5.
  
-Im folgenden Beispiel wird Frage "AB02" nach dann angezeigt, wenn der Mittelwert in der Skala "AB01" mindestens 1,5 beträgt. 
  
 <code php> <code php>
en/create/functions/valuemean.txt · Last modified: 14.03.2022 12:02 by walliser
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki