time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (1463B)


      1 
      2 {{alias}}( ...x[, options] )
      3     Computes the Fligner-Killeen test for equal variances.
      4 
      5     Parameters
      6     ----------
      7     x: ...Array
      8         Measured values.
      9 
     10     options: Object (optional)
     11         Options.
     12 
     13     options.alpha: number (optional)
     14         Number in the interval `[0,1]` giving the significance level of the
     15         hypothesis test. Default: `0.05`.
     16 
     17     options.groups: Array (optional)
     18         Array of group indicators.
     19 
     20     Returns
     21     -------
     22     out: Object
     23         Test result object.
     24 
     25     out.alpha: number
     26         Significance level.
     27 
     28     out.rejected: boolean
     29         Test decision.
     30 
     31     out.pValue: number
     32         p-value of the test.
     33 
     34     out.statistic: number
     35         Value of test statistic.
     36 
     37     out.method: string
     38         Name of test.
     39 
     40     out.df: Object
     41         Degrees of freedom.
     42 
     43     out.print: Function
     44         Function to print formatted output.
     45 
     46     Examples
     47     --------
     48     // Data from Hollander & Wolfe (1973), p. 116:
     49     > var x = [ 2.9, 3.0, 2.5, 2.6, 3.2 ];
     50     > var y = [ 3.8, 2.7, 4.0, 2.4 ];
     51     > var z = [ 2.8, 3.4, 3.7, 2.2, 2.0 ];
     52 
     53     > var out = {{alias}}( x, y, z )
     54 
     55     > var arr = [ 2.9, 3.0, 2.5, 2.6, 3.2,
     56     ...     3.8, 2.7, 4.0, 2.4,
     57     ...     2.8, 3.4, 3.7, 2.2, 2.0
     58     ... ];
     59     > var groups = [
     60     ...     'a', 'a', 'a', 'a', 'a',
     61     ...     'b', 'b', 'b', 'b',
     62     ...     'c', 'c', 'c', 'c', 'c'
     63     ... ];
     64     > out = {{alias}}( arr, { 'groups': groups })
     65 
     66     See Also
     67     --------
     68