time-to-botec

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

repl.txt (2324B)


      1 
      2 {{alias}}( [a, b] )
      3     Returns an arcsine distribution object.
      4 
      5     Parameters
      6     ----------
      7     a: number (optional)
      8         Minimum support. Must be less than `b`. Default: `0.0`.
      9 
     10     b: number (optional)
     11         Maximum support. Must be greater than `a`. Default: `1.0`.
     12 
     13     Returns
     14     -------
     15     arcsine: Object
     16         Distribution instance.
     17 
     18     arcsine.a: number
     19         Minimum support. If set, the value must be less than `b`.
     20 
     21     arcsine.b: number
     22         Maximum support. If set, the value must be greater than `a`.
     23 
     24     arcsine.entropy: number
     25         Read-only property which returns the differential entropy.
     26 
     27     arcsine.kurtosis: number
     28         Read-only property which returns the excess kurtosis.
     29 
     30     arcsine.mean: number
     31         Read-only property which returns the expected value.
     32 
     33     arcsine.median: number
     34         Read-only property which returns the median.
     35 
     36     arcsine.mode: number
     37         Read-only property which returns the mode.
     38 
     39     arcsine.skewness: number
     40         Read-only property which returns the skewness.
     41 
     42     arcsine.stdev: number
     43         Read-only property which returns the standard deviation.
     44 
     45     arcsine.variance: number
     46         Read-only property which returns the variance.
     47 
     48     arcsine.cdf: Function
     49         Evaluates the cumulative distribution function (CDF).
     50 
     51     arcsine.logcdf: Function
     52         Evaluates the natural logarithm of the cumulative distribution function
     53         (CDF).
     54 
     55     arcsine.logpdf: Function
     56         Evaluates the natural logarithm of the probability density function
     57         (PDF).
     58 
     59     arcsine.pdf: Function
     60         Evaluates the probability density function (PDF).
     61 
     62     arcsine.quantile: Function
     63         Evaluates the quantile function at probability `p`.
     64 
     65     Examples
     66     --------
     67     > var arcsine = {{alias}}( 0.0, 1.0 );
     68     > arcsine.a
     69     0.0
     70     > arcsine.b
     71     1.0
     72     > arcsine.entropy
     73     ~-0.242
     74     > arcsine.kurtosis
     75     -1.5
     76     > arcsine.mean
     77     0.5
     78     > arcsine.median
     79     0.5
     80     > arcsine.mode
     81     0.0
     82     > arcsine.skewness
     83     0.0
     84     > arcsine.stdev
     85     ~0.354
     86     > arcsine.variance
     87     0.125
     88     > arcsine.cdf( 0.8 )
     89     ~0.705
     90     > arcsine.logcdf( 0.8 )
     91     ~-0.35
     92     > arcsine.logpdf( 0.4 )
     93     ~-0.431
     94     > arcsine.pdf( 0.8 )
     95     ~0.796
     96     > arcsine.quantile( 0.8 )
     97     ~0.905
     98 
     99     See Also
    100     --------
    101