# Hypotheses Tests Using Non-asymptotic Fuzzy Estimators and Fuzzy Critical Values

Nikos Mylonas, Basil K. Papadopoulos

► To cite this version:

Nikos Mylonas, Basil K. Papadopoulos. Hypotheses Tests Using Non-asymptotic Fuzzy Estimators and Fuzzy Critical Values. 16th IFIP International Conference on Artificial Intelligence Applications and Innovations (AIAI), Jun 2020, Neos Marmaras, Greece. pp.157-166, 10.1007/978-3-030-49186-4_14. hal-04060667

HAL Id: hal-04060667

https://inria.hal.science/hal-04060667

Submitted on 6 Apr 2023

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
<figure><img src="image_2.png" /></figure>

ifip

International Federation for Information Processing

This document is the original author manuscript of a paper submitted to an IFIP
conference proceedings or other IFIP publication by Springer Nature. As such, there
may be some differences in the official published version of the paper. Such
differences, if any, are usually due to reformatting during preparation for publication or
minor corrections made by the author(s) during final proofreading of the publication
manuscript.
# Hypotheses tests using non-asymptotic fuzzy estimators and fuzzy critical values

Nikos Mylonas¹[0000-1111-2222-3333] and Basil Papadopoulos²[1111-2222-3333-4444]

¹ Department of Civil Engineering, Democritus University of Thrace, Greece
nimylona@civil.duth.gr

² Department of Civil Engineering, Democritus University of Thrace, Greece
Building A'-Campus Xanthi-Kimmeria-67100, papadob@civil.duth.gr

**Abstract.** In fuzzy hypothesis testing we use fuzzy test statistics produced by fuzzy estimators and fuzzy critical values. In this paper we use the non-asymptotic fuzzy estimators in fuzzy hypothesis testing. These are triangular shaped fuzzy numbers that generalize the fuzzy estimators based on confidence intervals in such a way that eliminates discontinuities and ensures compact support. Our approach is particularly useful in critical situations, where subtle fuzzy comparisons between almost equal statistical quantities have to be made. In such cases the hypotheses tests that use non-asymptotic fuzzy estimators give better results than the previous approaches, since they give us the possibility of partial rejection or not of $H_0$.

**Keywords:** Fuzzy hypothesis tests · Non-asymptotic fuzzy estimators.

## 1 Introduction

The use of fuzzy hypothesis tests is necessary: 1) in cases of samples of crisp data for which the value of the test statistic is very close to critical value, the crisp test is unstable, since small changes in few observations drive from rejection to no rejection or vice-versa, 2) in cases in which the available observations are fuzzy.

In a fuzzy test of a null hypothesis of the form $H_0: U = U_0$ with alternative $H_1: U \neq U_0$ for a parameter $u$ we use a fuzzy test statistic, which is constructed using a fuzzy estimator. Since the test statistic is fuzzy, the critical region will be determined by fuzzy critical values $CV_i$, $i = 1, 2$. The $a$-cuts of $CV_i$ are found in each case as described in [5] and presented in Sections 2 and 3. So, $H_0$ is rejected or not rejected in a certain significance level with the help of a fuzzy statistic $U$ which is constructed using a fuzzy estimator and fuzzy inequalities between $U$ and the fuzzy critical values, like $U < CV, U > CV$ or $U \approx CV$.

In our new approach, from the various types of existing fuzzy estimators we use the non-asymptotic fuzzy estimators [11], which are more convenient since they are triangular shaped fuzzy numbers with compact support without discontinuities.
We apply this concept in Sections 2 and 3 testing hypotheses for: 1) the mean and 2) the variance of a normal distribution and compare results with these of the respective tests with fuzzy statistics constructed with the estimators of Buckley [5].

## 1.1 Ordering fuzzy numbers

The fuzzy hypotheses tests are based on ordering fuzzy numbers, for which we will use one of the several procedures used [7], according to which the degree $v(A \le B)$ of the inequality $A \le B$ that counts the degree to which the fuzzy number A is less or equal than the fuzzy number B is

$$v(A \le B) = \max\{\min(A(x), B(y)) \ x \le y\} \quad (1)$$

If $v(A \le B) = 1$ we define the truth-value (degree of confidence) d of A < B as

<figure><img src="image_3.png" /><figcaption>Fig. 1. Ordering triangular shaped fuzzy numbers</figcaption></figure>

$$v(A < B) = d \Leftrightarrow v(A \le B) = 1 \quad \text{and} \quad v(B \le A) = 1 - d \quad (2)$$

If $v(B \le A) = 1$ the truth-value d of B < A is

$$v(B < A) = d \Leftrightarrow v(B \le A) = 1 \quad \text{and} \quad v(A \le B) = 1 - d \quad (3)$$

So, the truth-value $\eta$ of $A \approx B$ is defined as

$$\begin{align}
v(A \approx B) = \eta &\Leftrightarrow v(A \le B) = 1 \quad \text{and} \quad v(B \le A) = \eta \nonumber \\
\text{or} \quad v(B \le A) = 1 \quad \text{and} \quad v(A \le B) = \eta \tag{4}
\end{align}$$
In the case of the triangular shaped fuzzy numbers of Figure 1, which appears often in fuzzy hypotheses tests, we can see that:

$v(A \le B) = 1$, according to (1) since the core of A lies to the left of the core of B,

$v(B \le A) = y_0$, according to (1), where $y_0$ the truth level of the point of intersection of the right part of A and the left part of B.

Thus according to (2) and (4),

$$v(A < B) = 1 - y_0 \quad \text{and} \quad v(A \approx B) = y_0$$

## 2 Hypothesis test for the mean of a normal distribution with known variance

We test in significance level $\gamma$ the null hypothesis that the mean value $\mu$ of a random variable $X$ that follows normal distribution with known variance $\sigma$ is equal to $\mu_0$

$$H_0: \mu = \mu_0$$

with alternative the (two sided test)

$$H_1: \mu \neq \mu_0$$

using a random sample of observations of $X$ of size $n$. In the crisp case we test

<figure><img src="image_4.png" /><figcaption>Fig. 2. The fuzzy statistic $Z$ and the fuzzy critical values for the test of $H_0: \mu = 5$ from a sample with $\bar{x}_1 = 5.4$</figcaption></figure>

$H_0$ using the statistic
$$Z = \frac{\bar{x} - \mu_0}{\frac{\sigma}{\sqrt{n}}} \qquad (5)$$

where $\bar{x}$ is the sample mean value.

$H_0$ is rejected if $z < -z_c$ or $z > z_c$ where $z_c$ the critical value of the test

$$z_c = z_{\gamma/2} = \Phi^{-1}\left(1 - \frac{\gamma}{2}\right) \qquad (6)$$

and $\Phi^{-1}$ the inverse distribution function of the standard normal distribution.

While, if $-z_c < z < z_c$, then $H_0$ is not rejected.

In the fuzzy case for the test of $H_0$ we use the fuzzy statistic of Buckley [5]

$$\bar{Z} = \frac{\hat{\mu} - \mu_0}{\frac{\sigma}{\sqrt{n}}} \qquad (7)$$

that is generated by (5) using a fuzzy estimator $\hat{\mu}$ of the mean value.

We use the non-asymptotic fuzzy estimator $\hat{\mu}$ the $\alpha$-cuts of which are [11]

<figure><img src="image_5.png" /><figcaption>Fig. 3. The fuzzy statistic $Z$ and the fuzzy critical values for the test of $H_0: \mu = 5$ from a sample with $\bar{x}_1 = 5.45$</figcaption></figure>

$$\hat{\mu}[\alpha] = \left[ \bar{x} - z_{h(\alpha)} \frac{\sigma}{\sqrt{n}}, \bar{x} + z_{h(\alpha)} \frac{\sigma}{\sqrt{n}} \right], \quad \alpha \in (0, 1] \qquad (8)$$

where

$$h: (0, 1] \rightarrow \left[ \frac{\gamma}{2}, \frac{1}{2} \right] \qquad h(\alpha) = \left( \frac{1}{2} - \frac{\gamma}{2} \right) \alpha + \frac{\gamma}{2} \qquad (9)$$
and

$$z_{h(\alpha)} = \Phi^{-1}(1 - h(\alpha)) \qquad (10)$$

where $\Phi^{-1}$ the inverse distribution function of the standard normal distribution. From (7) and (8) follows that the $\alpha$-cuts of the fuzzy statistic $\bar{Z}$ are

$$\bar{Z}[\alpha] = [z_0 - z_{h(\alpha)}, z_0 + z_{h(\alpha)}], \quad \alpha \in (0, 1] \qquad (11)$$

where

$$z_0 = \frac{\bar{x} - \mu_0}{\frac{\sigma}{\sqrt{n}}} \qquad (12)$$

Since the test statistic is fuzzy, the critical values as described in [5] are the fuzzy numbers $\overline{CV}_2$ and $\overline{CV}_1 = -CV_2$, the $\alpha$-cuts of which are

$$\overline{CV}_1[\alpha] = [z_{\gamma/2} - z_{\alpha/2}, z_{\gamma/2} + z_{\alpha/2}] \qquad (13)$$

$$\overline{CV}_2[\alpha] = [-z_{\gamma/2} - z_{\alpha/2}, -z_{\gamma/2} + z_{\alpha/2}] \quad \alpha \in (0, 1] \qquad (14)$$

Having the fuzzy test statistic $\bar{Z}$ and the fuzzy critical values $\overline{CV}_i$, our decision for rejecting $H_0$ or not in significance level $\gamma$, depends on the comparison of the fuzzy numbers $\bar{Z}$ and $\overline{CV}_i$, as given in Section 1.1. So:

if $\max(v(\bar{Z} > \overline{CV}_2), v(\bar{Z} < \overline{CV}_1)) = d$, then $H_0$ is rejected with a degree of confidence less or equal to $d$,

if $\min(\bar{Z} > \overline{CV}_1, v(\bar{Z} < \overline{CV}_2)) = d$, then $H_0$ is not rejected with a degree of confidence less or equal to $d$,

if $\max(v(\bar{Z} \approx \overline{CV}_2), v(\bar{Z} \approx \overline{CV}_1)) = 1 - d$, then we cannot make a decision on rejecting or not $H_0$ with degree of confidence greater or equal to $d$.

**Example 1.** Comparison of fuzzy and crisp hypothesis test. In the crisp test in significance level $\gamma = 0.05$ of the null hypothesis

$$H_0: \mu = 5$$

with alternative the (two sided test)

$$H_1: \mu \neq 5$$

for the mean value $\mu$ of a random variable $X$ that follows normal distribution with standard deviation $s = 2$ using a sample of 80 observations with sample mean $\bar{x}_1 = 5.4$, we evaluate the value of the statistic (5)

$$z_0 = \frac{5.4 - 5}{\frac{2}{\sqrt{80}}} = 1.799$$

Since

$$z_0 = 1.799 < z_{0.05/2} = z_{0.025} = 1.96$$

$H_0$ is not rejected.

For a second sample with sample mean $\bar{x}_2 = 5.45$ the value of the statistic (5) is

$$z_0 = \frac{5.45 - 5}{\frac{2}{\sqrt{80}}} = 2.012$$
So, since

$$z_0 = 2.012 > z_{0.05/2} = z_{0.025} = 1.96$$

$H_0$ is rejected.

<figure><img src="image_6.png" /><figcaption>Fig. 4. Fuzzy statistic $\bar{Z}$ and fuzzy critical values $\overline{CV}_i$ for the test of $H_0: \mu = 1$ using non-asymptotic fuzzy estimator</figcaption></figure>

Applying the above described fuzzy test of $H_0$ for the first sample ($\bar{x} = 5.4$) we get Figure 2, where the point of intersection of the fuzzy numbers $\bar{Z}$ and $\overline{CV}_2$ is $y_0 = 0.93$. So according to (2), $v(\bar{Z} < \overline{CV}_2) = 1 - 0.93 = 0.07$. Therefore, from this sample we cannot make a decision on rejecting or not $H_0$ with degree of confidence $d \ge 0.07$.

For the second sample ($\bar{x} = 5.45$) we plot $\bar{Z}$ and $\overline{CV}_2$ in Figure 3, where we can see that the point of intersection of the fuzzy numbers $\bar{Z}$ and $\overline{CV}_2$ is $y_0 = 1$. So according to (4), $v(\bar{Z} \approx \overline{CV}_2) = 1$. Therefore, from this sample we cannot make a decision on rejecting $H_0$ or not with any degree of confidence $d$.

**Example 2** We test in significance level 0.1 the hypothesis

$$H_0: \mu = 1$$

with alternative the

$$H_1: \mu \neq 1$$

for the mean value $\mu$ of a random variable $X$ that follows normal distribution with standard deviation $s = 2$ using a sample of 100 observations with sample mean value $\bar{x}_1 = 1.24$.

Applying the fuzzy test of $H_0$ (using the non-asymptotic fuzzy estimator of mean value) we get Figure 4, where the point of intersection of the fuzzy
<figure><img src="image_7.png" /><figcaption>Fig. 5. Fuzzy statistic $\bar{Z}$ and fuzzy critical values $CV_i$ for the test of $H_0: \mu = 1$ using fuzzy estimator of Buckley [5]</figcaption></figure>

statistics $Z$ and $CV_2$ is below 0.8. So, the truth-value of $Z < CV_2$ is greater than $1 - 0.8 = 0.2$. Therefore, $H_0$ is not rejected in degree of confidence $d = 0.2$. While, applying the fuzzy test of $H_0$ using the fuzzy estimator of mean value of Buckley [5] we get Figure 5, in which the point of intersection of the fuzzy test statistics $\bar{Z}$ and $CV_2$ is above 0.8. So, $v(\bar{Z} < CV_2) < 0.2$. Therefore, according to this test, we cannot make a decision on the rejection or not of $H_0$ with degree of confidence $d = 0.2$.

### 3 Hypothesis test for the variance of a normal distribution

We test in significance level $\gamma$ the null hypothesis that the variance $\sigma^2$ of a random variable $X$ that follows normal distribution is equal to $\sigma_0^2$

$$H_0: \sigma^2 = \sigma_0^2$$

with alternative the (two sided test)

$$H_1: \sigma^2 \neq \sigma_0^2$$

using a random sample of observations of $X$ of size $n$. In the crisp case we test $H_0$ using the test statistic

$$\chi_0^2 = \frac{(n - 1)s^2}{\sigma_0^2} \qquad (15)$$

where $s^2$ is the sample variance.

$H_0$ is rejected if $\chi_0^2 < \chi_{L;\gamma/2}^2$ or $\chi_0^2 > \chi_{R;\gamma/2}^2$ where $\chi_{L;\gamma/2}^2$ and $\chi_{R;\gamma/2}^2$ the critical
values of the test,

$$ \chi_{L;\gamma/2}^2 = F^{-1}\left(\frac{\gamma}{2}\right) \quad \text{and} \quad \chi_{R;\gamma/2}^2 = F^{-1}\left(1-\frac{\gamma}{2}\right) \qquad (16) $$

where $F^{-1}$ the inverse distribution function of the $\chi_{n-1}^2$ distribution with n degrees of freedom. While, if $\chi_{L;\gamma/2}^2 < \chi^2 < \chi_{R;\gamma/2}^2$, then $H_0$ is not rejected.

In the fuzzy case for the test of $H_0$ we use the unbiased fuzzy statistic $\bar{\chi}^2$ [5] with the non-asymptotic fuzzy estimator [11] the $\alpha$-cuts of which are

$$ \bar{\chi}^2[a] = \left[ \frac{(n-1)\chi_0^2}{(1-h(a))\chi_{R;\gamma/2}^2 + (n-1)h(a)}, \quad \frac{(n-1)\chi_0^2}{(1-h(a))\chi_{L;\gamma/2}^2 + (n-1)h(a)} \right] \qquad (17) $$

where

$$ h : (0,1] \to [\gamma, 1] \quad h(\alpha) = (1-\gamma)\alpha + \gamma, \quad \alpha \in (0,1] \qquad (18) $$

The fuzzy critical values of the test, as described in Buckley [5], (using the non-asymptotic fuzzy estimator [11]) are the fuzzy numbers $\overline{CV}_1$ and $\overline{CV}_2$, the $\alpha$-cuts of which are

$$ \overline{CV}_1[a] = \left[ \frac{(n-1)\chi_{L;\gamma/2}^2}{(1-h(a))\chi_{R;\gamma/2}^2 + (n-1)h(a)}, \quad \frac{(n-1)\chi_{L;\gamma/2}^2}{(1-h(a))\chi_{L;\gamma/2}^2 + (n-1)h(a)} \right] $$

$$ \overline{CV}_2[a] = \left[ \frac{(n-1)\chi_{R;\gamma/2}^2}{(1-h(a))\chi_{R;\gamma/2}^2 + (n-1)h(a)}, \quad \frac{(n-1)\chi_{R;\gamma/2}^2}{(1-h(a))\chi_{L;\gamma/2}^2 + (n-1)h(a)} \right] $$

**Example 3** We test in significance level 0.1 the hypothesis

$$ H_0: \sigma^2 = 2 $$

with alternative the (two sided test)

$$ H_1: \sigma^2 \neq 2 $$

using a random sample of 100 observations with sample variance $s^2 = 2.73$. Applying the above described fuzzy test of $H_0$ we get the result of Figure 6, where the point of intersection of the fuzzy numbers $\bar{Z}$ and $\overline{CV}_2$ is $y_0 = 0.79$. So, according to Section 1.1 $v(\bar{Z} > \overline{CV}_2) = 1 - 0.79 = 0.21$. Therefore, $H_0$ is rejected in degree of confidence $d \le 0.21$.

# 4 Conclusions

If the value of the test statistic of a hypothesis is close to the critical values of the test, then the crisp hypothesis test is unstable, since a small change in the
<figure><img src="image_8.png" /><figcaption>**Fig. 6.** The fuzzy statistic $\bar{Z}$ and the fuzzy critical values for the test of $H_0: \sigma^2 = 2$ from a sample with variance $s^2 = 2.73$</figcaption></figure>

sample mean value (addition or removal or a change of one observation) may lead from rejection to no rejection of $H_0$ or vice-versa. While, the fuzzy hypothesis testing in such cases gives a very low degree of confidence of the rejection or not of the null hypothesis, as shown in Example 1.

Comparing with a computer program (in Matlab) the results of the fuzzy test with non-asymptotic fuzzy estimator with the respective fuzzy test with fuzzy estimator of Buckley [5] we see a slight difference, which in some cases leads to a different decision, as shown in the Example 2.

Our approach that uses non-asymptotic fuzzy estimators for the construction of the fuzzy statistics and a degree of confidence for the rejection or not of a hypothesis gives better results than the existing ones, since it gives us the possibility to make a decision on a partial rejection of it in a certain degree of confidence.

**Acknowledgement** We would like to express our gratitude to the referees for their valuable comments.

## References

1. Buckley J. J.: On the algebra of interactive fuzzy numbers: The continuous case, Fuzzy Sets and Systems. 37(1990).

2. Buckley J. J. (2003) Fuzzy probabilities: new approach and applications. Physica-Verlag, Heidelberg

3. Buckley J. J., Eslami E (2003) Uncertain probabilities I: the discrete case. Soft Comput 7: 500505

4. Buckley J. J., Eslami E (2004) Uncertain probabilities II: the continuous case. Soft Comput 8: 193199
5. Buckley J. J.: Fuzzy statistic, Springer-Verlag, Berlin (2004)

6. Dubois D., Prade H.: Ranking of fuzzy numbers in the setting of possibility theory, Information Science 30 (1983) 183224.

7. Dubois D., Prade H.: Fuzzy Sets and Systems, Academic Press (1980).

8. Klir G. and Yuan B. Fuzzy Sets and Fuzzy Logic: Theory and Applications. Prentice Hall, Upper Saddle River, NJ. (1995).

9. Lee H., Lee J.-H.: A method for ranking fuzzy numbers and its application to a decision-making, IEEE Transactions on Fuzzy Systems 7 (1999) 677685.

10. Lee S., Lee H., Lee D.: Ranking the sequences of fuzzy values, Elsevier Information Sciences (2003)

11. Sfiris, D., Papadopoulos, B.: Non-asymptotic fuzzy estimators based on confidence intervals, Elsevier Information Sciences (2010)

12. Taheri M., Arefi M.: Testing fuzzy hypotheses based on fuzzy test statistic, Springer-Verlag (2008)

13. Taheri M. and Hesamian G.: Non-parametric Statistical Tests for Fuzzy Observations: Fuzzy Test Statistic Approach, ljfis (2017)