The author has spent some time investigating the reason for the discrete function transferring into continuous function. Due to the method that is what discrete functions convert into continuous functions which are not easy to find in literature    . All studies of data start with discrete functions and finally analyze continuous functions. So that it is especially important for converting from discrete functions into continuous functions. To avoid making the same mistakes that has been made regarding the conversion process, the following describes one case through illustration. Many of research papers comprise historical data and require certain number of data for analysis. However, the graph or the curve in the analytical process is represented by a discrete function a number of studies document, and the data of research have been represented with the discrete functions. Nonetheless, those functions must be converted to a continuous function, so that it can be included in the theoretical derivation for analyze. Therefore, the processing procedures of the two functions convert from discrete into continuous as specifically described herein. This article only narrates the steps during the conversion, as shown in the follows. For subsequently research analysis, the discrete cumulative function will be converted into a continuous cumulative function the former function is yielded from two sets of historical data by the application of correlation coefficient theory.
2. The Correlation Coefficient
The data of two groups are composed of normal 100 sets and normal 1000 sets from historical data, each of which consists of 6 elements (H2, C2H4, C2H2, CH4, C2H6, CO). The correlation coefficient of the 100,000 cases have values fallen between −1 and +1 according to the correlation coefficient theory  . Their distribution will be presented by the probability histogram, as shown in Figure 1. Figure 2 shows the curve of the cumulative discrete function that been transformed from Figure 1.
For the method of generating of the correlation coefficient value, please refer to the literature  .
Figure 1. The probability histogram of data groups.
Figure 2. The curve of the discrete cumulative function for data groups.
3. The Discrete Transfers into Continuous Function
In order to find the most similar continuous accumulation function of the above discrete cumulative function, this article refers to Gaussian, Weibull, and others distrbution. The figure of the cumulative continuious function of Weibull distribution and which is widely employed as a model in testing. Maximum likelihood equations are derived for estimating the distribution parameters from complete samples, singly censored samples and progressively (multiple) censored samples. Asymptotic variance-covariance matrices are given for each of these sample types. An illustrative example is included  . The maximum-likelihood parameter estimation problem and how the Expectation Maximization (EM) algorithm is can be used for its solution. The form of the EM algorithm as it is often given in the literature. We then develop the EM parameter estimation procedure for two finding the parameters of a mixture of Gaussian densities, and the parameters of a hidden Markov model for both discrete and Gaussian mixture observation models  . Eventually, Exponential distribution function is adopted because the figure of the cumulative discrete function was known previously; this paper firstly looks into a similar figure of the cumulative continuous function from the literature. The figure of the cumulative continuous exponential function is adopted as the module conversion in this paper, as shown in Figure 3. The mathematical formula is as described in Equation (1). The symbols of B (or λ) and r that are represented what those rate parameter and variable in Equation (1). The values of the variable are between from −1 to 1.
The curves of cumulative for the actual data (red line) and exponential of standard (blue line) are shown in Figure 4. This paper will use the method of least squares to convert the data curve (discrete) into a continuous function curve. There will be several coefficients generated in the process of conversion, such as A and B in Equation (2).
Figure 3. The curve of the cumulative continuous exponential function.
Figure 4. The curve of the actual data and exponential of standard.
After the method of the least squaresalgorithm  , A and B are respectively calculated 0.07, 2.78 and the error rate (RMSE) of the conversion is 2.7%. The root mean square error (RMSE) is regularly employed in model evaluation studies. The RMSE measures could be more beneficial. In this technical note, we demonstrate that the RMSE is not ambiguous in its meaning, contrary to what was claimed by Willmott et al. (2009). The RMSE is more appropriate to represent model performance when the error distribution is expected to be Gaussian. In addition, we show that the RMSE satisfies the triangle inequality requirement for a distance metric, whereas Willmott et al. (2009) indicated that the sums-of-squares-based statistics do not satisfy this rule. In the end, we discussed some circumstances where using the RMSE will be more beneficial  .
After the function was converted from discrete function to continuous, the function still needs verification by the integration of continuous function. First, the continuous accumulation function is differentiated into density function with adjacent re-integration from −1 to 1 of variables the value of the area equals to 1 (or approaching 1) and has been verified correct in the process, which is known as a successful conversion. The formula of the mathematical was been differentiated from continuous function, as shown the formula 3. The Y (A) stands for the area of the integration of that was shown below.
The discrete function transferring into continuous function is an important work in the process of analyzing of data and investigation in all fields. There are variously of ways for transfer but the paper only introduces which is called “the least square algorithm”. This method yields the corresponding coefficient of the Equation (2), while the conversion work is performed by density function. In this paper, the area value of the coverted probability density functin by integration from −1 to 1 is not meet with theoretical value 1, but approaching, found in the process of calculation. Nonetheless, the result of the transformation was not influential. To conclude briefly, the paper will provide the graphical of the program for reference below  .
 Akaike, H. (1959) On a Successive Transformation of Probability Distribution and Its Application to the Analysis of the Optimum Gradient Method. Annals of the Institute of Statistical Mathematics, 11, 1-16.
 Marquardt, D.W. (1963) An Algorithm for Least-Squares Estimation of Nonlinear Parameters. Journal of the Society for Industrial and Applied Mathematics, 11, 431-441.
 Mansard, E.P.D. and Funke, E.R. (1980) The Measurement of Incident and Reflected Spectra Using a Least Squares Method. Conference Information 17th International Conference on Coastal Engineering, Sydney, Australia, 23-28 March 1980, 154-172.