Introduction

Random numbers hold significant importance across various domains, including experimental design, statistical analysis, cryptography, and diverse disciplines, as highlighted by [26]. In earlier times, random numbers were derived through methods such as coin flipping and other simulation techniques. However, with the advent of high-speed computing, contemporary approaches employ computer-based generators to produce random variations efficiently. These generators are tailored to the specific problems at hand and involve algorithmic designs aimed at generating random variables for a range of applications. Among various simulation methodologies, the sine–cosine simulation method and the convolution simulation method have gained substantial traction, particularly in the generation of standard normal variates. These techniques involve the creation of continuous uniform numbers sourced from the continuous uniform distribution. Subsequently, these numbers are leveraged to generate standard normal variates. The sine–cosine method was introduced by [8]. Applied [13] the sine–cosine algorithm in solving the issues in machine scheduling problems [11]. used sine–cosine transformation in developing the probability distribution [18]. Discussed the algorithm to generate random variate from the normal distribution [7]. Applied both the sine–cosine and convolution methods in a neural network application [19]. Implemented the sine–cosine algorithms within a wastewater treatment system. More information on sine–cosine and convolution transformation can be seen in [12, 22] and [16]. Various studies on generating random numbers can be seen in [4, 14, 21] and [27].

The neutrosophic statistics (NS) introduced by [25] and applied when the observations in the data are in an interval or have imprecise observations. The NS was found to be more efficient than classical statistics (CS) in terms of flexibility and information [9, 10]. Presented a methodology to deal with neutrosophic numbers [20]. Introduced the t-test for the AR (1) process [2]. Outlined the experimental design within the framework of neutrosophic statistics [17]. Engaged with the probabilistic methodology employing neutrosophic statistics [1]. Investigated a discrete distribution utilizing neutrosophic statistics [5]. Expanded the theory of survey sampling through the application of neutrosophic statistics [6]. conducted the research on the neutrosophic statistical test for sequential contingency. The various applications of NS can be seen in [3, 15] and [23].

The current sine–cosine and convolution simulation techniques within the framework of classical statistics face limitations in simulating standard normal variates in the context of uncertainty. A thorough literature review, conducted to the best of the authors' knowledge, reveals a lack of research on sine–cosine and convolution simulation methods within the framework of neutrosophic statistics. This paper will introduce the routines and algorithms for both simulation methods. Neutrosophic standard normal tables for both the sine–cosine and convolution simulation methods will be presented and analyzed in detail. The significance of this work lies in its pioneering approach to addressing a gap in simulation methods within the realm of uncertainty. By introducing and exploring sine–cosine and convolution simulation methods under the framework of neutrosophic statistics, this research contributes to expanding the toolkit available for handling complex and uncertain data scenarios. As existing methods struggle to simulate standard normal variates accurately in the presence of uncertainty, this work offers a novel solution that has not been explored before in the literature. The presentation of routines, algorithms, and tables for both simulation methods not only fills this research gap but also opens new avenues for statistical analysis in uncertain contexts. Sect. "Preliminaries" provides an introduction to neutrosophic random variables. In Sect. "The Proposed Sine–Cosine Simulation Method", the Sine–Cosine Simulation Method is elaborated, followed by the presentation of the Convolution Method of Simulation in Sect. "The Proposed Convolution Method". Sect. "Simulation Studies" encompasses the simulation studies, while the final section offers concluding remarks.

Preliminaries

Suppose that \({X}_{N}\epsilon \left[{X}_{L},{X}_{U}\right]\) is a neutrosophic random variable follows the neutrosophic normal distribution having uncertain in the mean or in standard deviation or in mean and standard deviation. Let \({\mu }_{N}\epsilon \left[{\mu }_{L},{\mu }_{U}\right]\) be mean and \({\sigma }_{N}\epsilon \left[{\sigma }_{L},{\sigma }_{U}\right]\) be the standard deviation of the neutrosophic normal distribution. The neutrosophic forms of \({X}_{N}\epsilon \left[{X}_{L},{X}_{U}\right]\) is expressed as

$${X}_{N}={X}_{L}+{X}_{U}{I}_{N};{I}_{N}\epsilon \left[{I}_{L},{I}_{U}\right]$$
(1)

The neutrosophic forms of \({\mu }_{N}\epsilon \left[{\mu }_{L},{\mu }_{U}\right]\) is expressed as

$${\mu }_{N}={\mu }_{L}+{\mu }_{U}{I}_{N};{I}_{N}\epsilon \left[{I}_{L},{I}_{U}\right]$$
(2)

The neutrosophic forms of \({\sigma }_{N}\epsilon \left[{\sigma }_{L},{\sigma }_{U}\right]\) is expressed as

$${\sigma }_{N}={\sigma }_{L}+{\sigma }_{U}{I}_{N};{I}_{N}\epsilon \left[{I}_{L},{I}_{U}\right]$$
(3)

Note that the first values in the above neutrosophic forms denote the values under classical statistics and the second values denote the determinate part and \({I}_{N}\) is the measure of uncertainty. Note that the neutrosophic forms reduce to determinate values when \({I}_{L}=\) 0.

The neutrosophic probability density function (npdf) of the neutrosophic normal distribution is given by

$$f\left({X}_{N}\right)=\frac{1}{{\sigma }_{N}\sqrt{2\pi }}\mathrm{exp}\left(-\frac{{\left(X-{\mu }_{N}\right)}^{2}}{2{\sigma }_{N}^{2}}\right)$$
(4)

The neutrosophic standard normal distribution is expressed by

$$f\left({Z}_{N}\right)=\frac{1}{\sqrt{2\pi }}\mathrm{exp}\left(-\frac{{\left(z\right)}^{2}}{2}\right)$$
(5)

More details about the neutrosophic normal distribution and its shape can be seen in [24].

The proposed sine–cosine simulation method

Suppose that \({U}_{1N}\epsilon \left[{U}_{1L},{U}_{1U}\right]\) and \({U}_{2N}\epsilon \left[{U}_{2L},{U}_{2U}\right]\) are the uniform continuous random numbers for the same neutrosophic continuous uniform distribution. Note that \({U}_{1N}\) and \({U}_{2N}\) are uniform continuous random numbers ranging from 0 to 1. By following [8], two neutrosophic standard normal random variates \({z}_{1N}\) and \({z}_{2N}\) can be generated as follows

$${z}_{1N}\epsilon \left[\left\{\sqrt{-2\mathrm{ln}{U}_{1L}}\mathrm{cos}\left(2\pi \left({U}_{2L}\right)\right)\right\},\left\{\sqrt{-2\mathrm{ln}{U}_{1U}}\mathrm{cos}\left(2\pi \left({U}_{2U}\right)\right)\right\}\right]$$
(6)
$${z}_{2N}\epsilon \left[\left\{\sqrt{-2\mathrm{ln}{U}_{1L}}\mathrm{sin}\left(2\pi \left({U}_{2L}\right)\right)\right\},\left\{\sqrt{-2\mathrm{ln}{U}_{1U}}\mathrm{sin}\left(2\pi \left({U}_{2U}\right)\right)\right\}\right]$$
(7)

The joint neutrosophic density \({X}_{1N}\epsilon \left[{X}_{1L},{X}_{1U}\right]\) and \({X}_{2N}\epsilon \left[{X}_{2L},{X}_{2U}\right]\) can be given by

$$f\left({z}_{1N},{z}_{2N}\right)=\left[\left\{\frac{1}{\sqrt{2\pi }}\mathrm{exp}\left(-\frac{{\left({z}_{1L}\right)}^{2}}{2}\right),\frac{1}{\sqrt{2\pi }}\mathrm{exp}\left(-\frac{{\left({z}_{1U}\right)}^{2}}{2}\right)\right\}.\left\{\frac{1}{\sqrt{2\pi }}\mathrm{exp}\left(-\frac{{\left({z}_{2L}\right)}^{2}}{2}\right),\frac{1}{\sqrt{2\pi }}\mathrm{exp}\left(-\frac{{\left({z}_{2U}\right)}^{2}}{2}\right)\right\}\right]=f\left({z}_{1N}\right)f\left({z}_{2N}\right)$$
(8)

By following [8], it is concluded that \({z}_{1N}\epsilon \left[{z}_{1L},{z}_{1U}\right]\) and \({z}_{2N}\epsilon \left[{z}_{2L},{z}_{2U}\right]\) are independent random variate from the same neutrosophic standard normal distribution in Eq. (5). The process for generating neutrosophic standard normal and neutrosophic normal random variates is elucidated as follows:

Step-1: Generate two neutrosophic continuous uniform random numbers \({U}_{1N}\epsilon \left[{U}_{1L},{U}_{1U}\right]\) and \({U}_{2N}\epsilon \left[{U}_{2L},{U}_{2U}\right]\) from 0 to 1.

Step-2: Generate the neutrosophic standard random variable \({z}_{1N}\epsilon \left[{z}_{1L},{z}_{1U}\right]\) using \({z}_{1N}=\left[\left\{\sqrt{-2\mathrm{ln}{U}_{1L}}\mathrm{cos}\left(2\pi \left({U}_{2L}\right)\right)\right\},\left\{\sqrt{-2\mathrm{ln}{U}_{1U}}\mathrm{cos}\left(2\pi \left({U}_{2U}\right)\right)\right\}\right]\).

Step-3: Generate the neutrosophic standard random variable \({z}_{2N}\epsilon \left[{z}_{2L},{z}_{2U}\right]\) using \({z}_{2N}=\left[\left\{\sqrt{-2\mathrm{ln}{U}_{1L}}\mathrm{sin}\left(2\pi \left({U}_{2L}\right)\right)\right\},\left\{\sqrt{-2\mathrm{ln}{U}_{1U}}\mathrm{sin}\left(2\pi \left({U}_{2U}\right)\right)\right\}\right]\)

Step-4: Return \({z}_{1N}\epsilon \left[{z}_{1L},{z}_{1U}\right]\) and \({z}_{2N}\epsilon \left[{z}_{2L},{z}_{2U}\right]\)

Step-5: \({x}_{1N}={\mu }_{N}+{z}_{1N}\times {\sigma }_{N}\) and \({x}_{2N}={\mu }_{N}+{z}_{2N}\times {\sigma }_{N}\)

Step-6: Return \({x}_{1N}\) and \({x}_{2N}\)

The operational procedure of the proposed simulation method is also shown in Fig. 1.

Fig. 1
figure 1

Algorithm of sine–cosine method

The proposed convolution method

This section delves into the convolution method within the framework of neutrosophic statistics, drawing inspiration from [26]. The presented simulation technique operates as follows: utilizing a set (Fig. 2) of twelve neutrosophic continuous uniform random numbers to produce neutrosophic standard normal variates. The routine for implementing the proposed convolution method under the domain of neutrosophic statistics is outlined as follows:

Fig. 2
figure 2

Algorithm of the convolution method

Step-1: Generate continuous uniform random numbers \({U}_{N}\epsilon \left[{U}_{L},{U}_{U}\right]\) from 0 to 1.

Step-2: Set neutrosophic standard normal variable \({Z}_{N}\epsilon \left[{Z}_{L},{Z}_{U}\right]\).

Step-3: For \(i\)=1 to 12, calculate the sum of 12 continuous uniform random variates and compute \({Z}_{N1}={Z}_{N}+\sum {U}_{N}\); \({Z}_{N1}\epsilon \left[{Z}_{L1},{Z}_{U1}\right]\), \({U}_{N}\epsilon \left[{U}_{L},{U}_{U}\right]\)

Step-4: return \({Z}_{N1}\epsilon \left[{Z}_{L1},{Z}_{U1}\right]\)

Simulation studies

Within this segment, we will generate random normal variates using the sine–cosine method across a range of specified parameter values. Simultaneously, we will employ the convolution method to generate standard normal variates. Our approach involves adhering to the prescribed algorithms to generate these random standard normal variates.

Sine–cosine simulation

Tables 1, 2, 3, 4 exhibit the results obtained using the proposed sine–cosine method, showcasing two random normal variates, denoted as \({x}_{1N}\) and \({x}_{2N}\). These tables provide insights across a range of specified parameter values, encompassing \({\mu }_{N}\epsilon \left[{\mu }_{L},{\mu }_{U}\right]\) and \({\sigma }_{N}\epsilon \left[{\sigma }_{L},{\sigma }_{U}\right]\). The investigation is extended to account for varying levels of indeterminacy, represented as \({I}_{U}\), which influences the generation of random normal variates. In particular, the values of \({I}_{U}\) considered encompass 0, 0.01, 0.02, 0.05, and 0.10, generating pairs of random normal variates. To elaborate, Table 1 is tailored for \({\mu }_{N}\epsilon \left[\mathrm{10,12}\right]\) and \({\sigma }_{N}\epsilon \left[\mathrm{1,1.5}\right]\), whereas Table 2 corresponds to the parameter ranges \({\mu }_{N}\epsilon \left[\mathrm{10,12}\right]\) and \({\sigma }_{N}\epsilon \left[\mathrm{3,5}\right]\). Similarly, Table 3 and Table 4 correspond to distinct parameter combinations, namely \({\mu }_{N}\epsilon \left[\mathrm{20,22}\right]\) and \({\sigma }_{N}\epsilon \left[\mathrm{1,1.5}\right]\), and \({\mu }_{N}\epsilon \left[\mathrm{20,22}\right]\) and \({\sigma }_{N}\epsilon \left[\mathrm{3,5}\right]\), respectively. Upon scrutiny of Tables 1, 2, 3, 4, it becomes evident that no discernible trend exists within the neutrosophic random normal variates as the values of \({I}_{U}\) fluctuate between 0 and 0.10. Additionally, the outcomes underscore that the proposed sine–cosine simulation method yields random normal variates represented as intervals, rather than determinate values. For instance, consider the case where \({I}_{U}\) = 0.01, as seen in Table 1. Here, the random normal variate spans from 9.4 to 11 in the cosine simulation approach and from 11.2 to 13.7 using the sine method. It is important to note that the values in each interval represent the random normal variate for various degree of indeterminacy.

Table 1 Random normal variate when \(\mu =[10, 12]\) and \(\sigma =[\mathrm{1,1.5}]\)
Table 2 Random normal variate when \(\mu =[\mathrm{10,12}]\) and \(\sigma =[\mathrm{3,5}]\)
Table 3 Random normal variate when \(\mu =[\mathrm{20,22}]\) and \(\sigma =[\mathrm{1,1.5}]\)
Table 4 Random normal variate when \(\mu =[\mathrm{20,22}]\) and \(\sigma =[\mathrm{3,5}]\)

Convolution Simulation

The results of the convolution method yield random standard normal variates for varying levels of indeterminacy, with \({I}_{U}\) values of 0, 0.01, 0.02, 0.05, and 0.10. The convolution method's algorithm is utilized to generate these random standard normal variates, as per the prescribed approach. The resulting values are compiled in Table 5. Analyzing Table 5 reveals that the convolution method produces standard normal variates represented as intervals characterized by indeterminacy. These intervals, rather than offering precise numerical values, capture the uncertainty inherent in the process. The proposed simulation approach follows this trend, providing random standard normal variates presented as intervals. For instance, consider the case where \({I}_{U}\)= 0.01; the resulting random standard normal variate spans from -0.86 to -0.81.

Table 5 Standard normal variate from convolution method

Comparative study

This section aims to contrast the techniques for generating random variates based on neutrosophic statistics and classical statistics. In the proposed simulation methods, a concept of indeterminacy, denoted as \({I}_{U}\), is introduced within the parameters \({\mu }_{N}\) and \({\sigma }_{N}\). The neutrosophic expressions for \({\mu }_{N}\) and \({\sigma }_{N}\) take the form \({\mu }_{N}={\mu }_{L}+{\mu }_{U}{I}_{N};{I}_{N}\epsilon \left[{I}_{L},{I}_{U}\right]\) and \({\sigma }_{N}={\sigma }_{L}+{\sigma }_{U}{I}_{N};{I}_{N}\epsilon \left[{I}_{L},{I}_{U}\right]\). It is worth noting that these neutrosophic expressions simplify to the mean and variance of the normal distribution when \({I}_{L}\) equals zero. For instance, in the scenario where \({\mu }_{N}\) = [10, 12] and \({\sigma }_{N}\) = [1,1.5], the corresponding neutrosophic forms of mean and standard deviation will be \({\mu }_{N}=10+12{I}_{N}\) and \({\sigma }_{N}=1+1.5{I}_{N}\), respectively. Setting \({I}_{L}\) to zero in these expressions results in the classical statistics' mean and standard deviation values of 10 and 1, respectively. Tables 1, 2, 3, 4, 5 showcase results for various values of \({I}_{U}\). The initial column in these tables represents the random variable outcomes under classical statistics. To illustrate, considering the sine–cosine simulation method within the realm of classical statistics, Table 1 demonstrates that the random normal variate \({x}_{1N}\) falls within the range of 9.2 to 10.8. However, when \({I}_{U}\) equals 0.02, this range shifts to 10.9 to 13.5. From this comparative analysis, it becomes evident that the degree of indeterminacy significantly impacts the random variate. Consequently, in situations involving uncertainty, relying on simulation methods rooted in classical statistics might lead decision−makers astray.

Concluding remarks

The paper introduced the sine–cosine method for generating random normal variates and also presented the convolution method for generating random standard normal variates. Algorithms for both methods were provided as well. Various tables were presented, showcasing the impact of indeterminacy on mean and standard deviation. The outcomes of the comparative study underscored that the degree of indeterminacy influences random normal variates. The proposed methods and algorithms offer practical solutions for simulation in scenarios where precise data recording might be challenging. These simulation methods find applicability in diverse fields including reliability analysis, engineering and manufacturing, healthcare, and environmental modeling. As a potential direction for future research, there is room for an extensive investigation into adapting the proposed sine–cosine simulation method and convolution method for neutrosophic multivariate normal distributions. This could enhance the applicability and scope of the method for more complex and multidimensional data scenarios.