# Mean: Mean of a trapezoidal fuzzy sample In FuzzyStatTra: Statistical Methods for Trapezoidal Fuzzy Numbers

## Description

Given a sample of trapezoidal fuzzy numbers contained in a matrix F, the function calculates the Aumann-type mean of these numbers (which is a trapezoidal fuzzy number too). The function first checks if the input matrix F is given in the correct form (tested by checkingTra).

## Usage

 1 Mean(F) 

## Arguments

 F matrix of dimension n x 4 containing n trapezoidal fuzzy numbers characterized by their four values inf0,inf1,sup1,sup0. The function implicitly checks if the matrix is in the correct form (tested by checkingTra).

See examples

## Value

The function returns the Aumann-type mean, given as a matrix of dimension 1 x 4.

## Note

In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.

## Author(s)

Asun Lubiano <lubiano@uniovi.es>, Sara de la Rosa de Saa <rosasara@uniovi.es>

## References

[1] Sinova, B.; De la Rosa de Saa, S.; Lubiano, M.A.; Gil, M.A.: An overview on the statistical central tendency for fuzzy datasets, International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems 23 (Suppl. 1), pp. 105-132 (2015)

checkingTra

## Examples

  1 2 3 4 5 6 7 8 9 10 11 # Example 1: F=SimulCASE1(100) Mean(F) # Example 2: F=matrix(c(1,0,2,3),nrow=1) Mean(F) # Example 3: F=matrix(c(1,0,2,3),nrow=2) Mean(F) 

### Example output

          [,1]       [,2]      [,3]     [,4]
[1,] -2.211036 -0.9470754 0.6318397 1.794172
[1] "input defines no trapezoidal fuzzy numbers - four values must increase"
[1] "input defines no trapezoidal fuzzy numbers - each trapezoidal fuzzy number must have four values"


FuzzyStatTra documentation built on May 2, 2019, 10:59 a.m.