Next Article in Journal
Morlet Wavelet Neural Network Investigations to Present the Numerical Investigations of the Prediction Differential Model
Next Article in Special Issue
Design and Analysis of Extended Exponentially Weighted Moving Average Signed-Rank Control Charts for Monitoring the Process Mean
Previous Article in Journal
Efficient Federated Learning with Pre-Trained Large Language Model Using Several Adapter Mechanisms
Previous Article in Special Issue
Treatment Benefit and Treatment Harm Rates with Nonignorable Missing Covariate, Endpoint, or Treatment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Bandwidth Selection Methods with Application to Wind Speed Distribution

1
Department of Statistics, University of Gazi, Ankara 06560, Turkey
2
T.C. Culture and Tourism Ministry Presidency for Turks Abroad and Related Communities, Ankara 06520, Turkey
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(21), 4478; https://doi.org/10.3390/math11214478
Submission received: 20 September 2023 / Revised: 23 October 2023 / Accepted: 27 October 2023 / Published: 29 October 2023
(This article belongs to the Special Issue Nonparametric Statistical Methods and Their Applications)

Abstract

:
Accurate estimation of the unknown probability density functions of critical variables, such as wind speed—which plays a pivotal role in harnessing clean energy—is essential for various scientific and practical applications. This research conducts a comprehensive comparative analysis of seven distinct bandwidth calculation techniques across various normal distributions, using simulation as the evaluation method in the context of Kernel Density Estimation (KDE). This analysis includes the calculation of the optimal bandwidth and assessment of the performance of these methods with respect to Mean Squared Error (MSE), bias, and the optimal bandwidth value. The findings reveal that among the various bandwidth methods evaluated, the Bandwidth bandwidth-based Cross-Validation (BCV), especially for small sample sizes, consistently provides the closest result to the optimal bandwidth across most of the applied normal distributions. These results provide valuable insights into the selection of optimal bandwidths for accurate and reliable density estimation in the context of normal distributions. Another key aspect of this work is the extension of these methods to wind speed data in a specific region. Monthly wind speed kernel density estimates obtained using all seven bandwidth selection techniques show that Smoothed Cross-Validation (SCV) is suited for this type of real-world data.

1. Introduction

Driven by technological advancements and environmental repercussions from fossil fuel consumption, wind energy has become an increasingly popular source of renewable energy, especially since the latter half of the 20th century. This evolution has led to an intensification of research on wind speed, which is a source of energy production [1,2,3]. With wind speed playing a pivotal role in energy production, accurately estimating its Probability Density Function (PDF) has become imperative. While the Weibull distribution was historically the method of choice for this purpose, “kernel density” estimators have recently emerged as a preferred alternative due to their minimal assumptions [4,5].
The Probability Density Function (PDF), which allows for the description of all the properties of the variable, forms the basis of statistical analysis. Knowing the probability density function of a random variable allows one to obtain the location μ and scale parameter σ 2 of that random variable and to answer all probability questions about that random variable. For this reason, PDFs of variables are needed in many analyses. Parametric and non-parametric methods are used in probability density estimations. While parametric methods predicate on the assumption that a designated PDF is the definitive one, non-parametric methods offer a refined estimation, enabling the random variable to represent itself more authentically [6,7].
The performance of kernel density estimators, however, is highly dependent on the choice of “bandwidth”. For example, when small bandwidths are selected, the tails of the scatter will have unrealistic roughness, while when large bandwidths are selected, the tails of the scatter will be excessively flattened, thus losing important features of the scatter. Although it is not possible to determine a single best selection method in bandwidth selection, the population structure in which the data to be estimated for density is observed has great importance [8].
Numerous researchers such as [6,9,10,11,12] have delved into bandwidth selection methods in kernel density estimation. To provide a comprehensive overview, this discussion also encompasses recent publications on the topic. Cao et al. [13] reviewed bandwidth selection in density estimation, noting the limitations of Least Squares Cross-validation (LSCV). They advocate for Direct Plug-In (DPI) and smoothed bootstrap-based methods as superior alternatives for KDE applications on real data. The authors of [14,15] emphasized the significance of exploratory data analysis and graphical representation in kernel density estimates. Their main challenge is selecting the appropriate bandwidth for accurate density depiction in KDE. Simulations revealed that the Sheather-Jones plug-in is optimal, especially for sample sizes between 250 and 2000. For smaller datasets, Silverman’s Rule of Thumb (SRT) is advised [14]. A more in-depth analysis by the same authors showed a similar preference for the Sheather-Jones plug-in but with a tilt towards BCV or SRT for smaller samples [15]. Practitioners applying KDE to their datasets can significantly benefit from these insights. Another recent study spotlighted the effectiveness of adaptive kernel density estimators with long-tail or multi-mode densities. The generalized LSCV has shown superiority over traditional methods in simulations [16]. For optimal results in real-world applications, an adaptive approach with this form of cross-validation is recommended. Various bandwidth comparisons by authors [13,14,15,16] involved metrics like Mean Error Squared (MSE), Integrated Mean Squared Error (MISE), and bias.
In the referenced study [17], the authors explored the influence of bandwidth selection on equated scores in kernel equating. They highlighted the importance of bandwidth choice, as it delineates kernel equating from conventional equating methods. The research scrutinized four established bandwidth methods: penalty, double smoothing, likelihood cross-validation, and SRT. These methods, traditionally compared only to the penalty method, were assessed alongside two other techniques from density estimation literature: leave-one-out cross-validation and penalized leave-one-out cross-validation. Through simulation studies on varying test length, test-taker numbers, and score distributions, and an empirical evaluation using college admissions data, the authors aimed to discern the most effective bandwidth selection approach for kernel equating.
According to [18], various bandwidth selection methods were evaluated, and it was found that the BCV method demonstrated consistent precision for specific normal mixture densities. Recent research emphasized novel methods for selecting optimal bandwidths in KDE without relying on a normal (Gaussian) distribution. New bandwidth rules based on other distributions such as Logistic, Laplace, Student’s t, and Asymmetric Laplace have been proposed. Additionally, a pseudo-rule-of-thumb bandwidth derived from data skewness and kurtosis characteristics offers a straightforward implementation approach [19].
As the emphasis on harnessing wind energy intensifies, there has been a surge in studies aiming for more precise predictions of wind speed distribution in recent years.
Wind speeds on both a monthly and yearly basis are statistically represented using the Weibull distribution. The assessment of the model’s accuracy is conducted through the evaluation of the root mean square error [20]. A mixture kernel density model for wind speed distribution estimation is being proposed by [21]. Another study presents a KDE method, which is a nonparametric way to estimate the PDF of wind speed [22]. Monthly wind speed data from three specific weather stations were analyzed by Citakoğlu and Aydemir [23] using the Gray estimation method, covering the period from 2000 to 2017. Four bandwidth selectors, namely Normal Scale (NS, DPI, BCV, and LSCV, are employed in wind speed modeling for the KDE model, and they showed that KDE performs better than parametric methods [24]. The authors of [25] introduced a framework for short-term wind speed probability density forecasting, utilizing Quantile Regression (QR) and KDE. The authors of [26] presented and analyzed a flexible distribution referred to as the Alpha logarithmic transformed Log-normal for wind speed data. They conducted an analysis of real data using this newly proposed distribution. Additionally, they introduced a new model known as the Normal-Weibull-Weibull model, which is identifiable, and its cumulative distribution function is expressed as a composition of two foundational functions. In another research study [27], an enhanced KDE method, termed ensemble unbiased cross-validation-based KDE, was introduced to address the instability concerns inherent to traditional unbiased cross-validation. Through the utilization of multiple data-block unbiased cross-validations instead of a singular approach, a more stable bandwidth estimation was achieved. Experiments on ten probability distributions validated its superior stability and performance, which was further evidenced in an application using the United Kingdom climate data for kernel regression.
Daily wind speed data at two different heights (10 m and 50 m) in four regions of Iraq (Al-Rutba, Sinjar, Al-Qa’im, and Al-Bayji) have been analyzed using the Weibull distribution function [28]. One of the recent studies, conducted by [29], has explored the intricacies of wind speed distribution in various regions, emphasizing the temporal variability of these distributions. Their findings reveal the significance of kernel function shape and peak value in the accuracy of KDE. Specifically, their introduction of new kernel functions and a unique point-to-point comparison method showcase the evolving methods and techniques in this domain.
The authors [30] presented a novel kernel density estimator model employing an unbiased cross-validation method for bandwidth selection was introduced. This model was designed to estimate the probability densities of both wind speed and solar irradiance. Its performance was compared against traditional parametric models and another nonparametric KDE approach using several assessment metrics: the coefficient of determination, mean absolute error, root mean squared error, and the Kolmogorov–Smirnov test. Significant improvements in accuracy and fit were demonstrated by the proposed model when benchmarked against popular parametric distributions for wind speed and solar irradiance.
In a study of wind energy in northern China’s desert steppe terrains (2018–2020), the Weibull wind speed distribution proved most fitting. Key parameters in the Weibull model, including the scale factor (c) and shape factor (k), varied with height, while surface roughness (z0) fluctuated between 0.12 m to 0.15 m across different periods. These dynamic changes are vital for accurate wind energy estimates in such terrains [31].
In [32], the authors proposed an alternative distribution, referred to as the Normal-Weibull-Weibull model, which exhibits identifiability and offers a decent fit to the wind speed data. This model’s cumulative distribution function can be expressed as a composition of two foundational functions.
The core objective of this study is to compare the performance of several commonly used bandwidth selection methods that impact kernel density estimation across various normal mixture distributions and to extend these bandwidth selection methods to wind speed, which is real-world data:
  • Through simulation study comparisons of seven bandwidth selectors, including NS, SRT, DPI, Solve-The-Equation rules (STE), least LSCV, BCV, and SCV are examined. The results show that, among the different bandwidth techniques assessed, the BCV method—particularly for smaller sample sizes—consistently aligns closest with the optimal bandwidth for a majority of the tested normal distributions.
  • Wind speed data from Balıkesir, Kepsut region for the year 2022 were employed, with monthly kernel density estimations being conducted using the seven bandwidth selection methods. It was found that the SCV method is convenient for estimating bandwidth for kernel density estimation in most cases with these real-world data.
Collectively, the contribution of the study lies in its multifaceted approach, blending detailed data analysis with theoretical rigor, providing both a unique application to wind speed data and a broader understanding of bandwidth selection methodologies in the context of kernel density estimation. While many comparisons of bandwidth selection methods have been undertaken, these methods have been specifically applied to wind speed data from the Balıkesir, Kepsut region for the year 2022 in this study. A bridge between general kernel density estimation techniques and their application to wind speed data, vital for renewable energy research, has been established. A detailed temporal view of wind speed variations has been provided through a focus on monthly kernel density estimations, offering unique insights not found in broader time-scale analyses. Even though bandwidth selection methods have been compared before, the use of simulation studies that consider different parameter choices and sample sizes ranging from small to large adds another layer of validation, ensuring that findings are not only theoretically robust but also practically applicable. A comprehensive perspective on bandwidth selection, encompassing a wide range of past research, has been offered. As such, this study can be recognized as a consolidated source of information on the topic, serving those seeking an integrated understanding. It has been observed that the SCV method is particularly suitable for estimating bandwidth in the specific dataset used. This nuanced insight may not have been revealed in other contexts or datasets.
The rest of the article has been prepared as follows: the second section elaborates on kernel density estimation and evaluation criteria, the third details the bandwidth methods, the fourth presents a simulation study supported by R (version 4.2.2) for bandwidth performance comparisons, the fifth applies the bandwidths to a real dataset, the sixth provides results, and the seventh section draws conclusions of the findings.

2. Kernel Density Estimation

x 1 , x 2 , , x n are independent and identically distributed samples from an unknown density f . The goal is to estimate the shape of this unknown function f the kernel density. Kernel density estimator of the unknown PDF is as follows:
f ~ n , h x = 1 n · h i = 1 n K x X i h = 1 n · h i = 1 n K t = 1 n i = 1 n K h x X i .
where h is a smoothing parameter called the bandwidth with positive value ( h > 0 ) and K(t) is a kernel function that satisfies + K ( t ) d t = 1 , t K ( t ) d t = 0 , u 2 K ( u ) d u = μ 2 ( K ) > 0 . K(t) is generally non-negative, unimodal, and symmetrical about zero. This ensures that f ~ n , h x is a PDF [33]. The kernel estimates obviously depend on the bandwidth h , which controls the degree of smoothing applied to the data.
MSE is a common criterion used to measure the accuracy or goodness of fit of a statistical estimation or prediction, including KDE. In the context of KDE, MSE is used to evaluate how well the estimated PDF matches the true underlying distribution. The MSE of KDE can be written as follows:
M S E f ~ n , h x = V a r f ~ n , h x + E f ~ n , h x f x 2 .
Here, the expected value of the smoothed density function estimator ( f ~ n , h x ) and bias are as follows:
E ( f ~ n , h x ) = f x + 1 2 h 2 f ( x ) z 2 K ( z ) d z + o h 2
E ( f ~ n , h x ) f x = 1 2 h 2 μ 2 K f x + o h 2 ,
where μ 2 K = z 2 K ( z ) d z and the expression for the variance of f ~ n , h x is:
V a r f ~ n , h x = n h 1 K z 2 f x h z d z n 1 E   f ~ n , h x 2 ,
= n h 1 K z 2 f x + o 1 d z n 1 f x + o 1 2 ,
= n h 1 K z 2 d z f x + o n h 1
For any integrable square function g , it is R g = g ( x ) 2 . This allows the variance to be written as:
V a r f ~ n , h x = ( n h ) 1 h 2 R K f x + o n h 1 .
where R K = K ( x ) 2 d x , μ 2 K = x 2 K ( x ) d x , R f = f ( x ) 2 d x . For the standard normal kernel and univariate cases, it is R K = ( 2 π 1 / 2 ) 1 , μ 2 K = 1 , R f = 3 ( 8 π 1 / 2 ) 1 . Thus, MSE is expressed as follows:
M S E f ~ n , h x = ( n h ) 1 R K f x + 1 4 h 4 μ 2 ( K ) 2 f ( x ) 2 + o n h 1 + h 4
However, MISE is preferred over MSE in KDE because it is better suited for assessing the accuracy of PDF estimates across the entire data space. It considers the global behavior of the estimator and incorporates the trade-off between bias and variance, making it a more appropriate criterion for evaluating KDE performance, and it can be written as follows:
M I S E f ~ n , h · = + E ( f ~ n , h x f ( x ) 2 d x = + M S E f ~ n , h x d x
= + V a r f ~ n , h x d   x + + B i a s 2 f ~ n , h x d x
M I S E f ~ n , h · = A M I S E ( f ~ n , h · ) + o n h 1 + h 4
where A M I S E stands for Asymptotic M I S E and A M I S E are expressed as follows [33]:
A M I S E f ~ n , h · = ( n h ) 1 R K + 1 4 h 4 μ 2 K 2 R ( f )
A M I S E f ~ n , h · = ( n h ) 1 R K + 1 4 h 4 μ 2 K 2 Ψ 4
where Ψ 4 = f 4 ( x ) f ( x ) d x or more general Ψ r = + f r ( x ) f ( x ) d x = E ( f r X ) .
Hence, the optimum bandwidth value that minimizes the M I S E or A M I S E can be found:
h M I S E h A M I S E = R ( K ) n μ 2 K 2 R ( f ) 1 / 5 = R ( K ) n μ 2 K 2 Ψ 4 1 / 5 .
For the standard normal kernel and univariate cases, when R K , μ 2 K , R f values are substituted in Equation (13)
A M I S E f ~ n , h · = 5 4 μ 2 K 2 R K 4 R ( f ) 1 / 5 n 4 / 5
is obtained. This is the smallest possible A M I S E for estimating f using the K kernel. Since Equation (15) depends on the unknown density f ( x ) , f ( x ) must be estimated first. There are different bandwidth selection methods where f ( x ) is estimated in various ways.

3. Bandwidth Selection Methods

The performance of the kernel density estimators of a PDF of a random variable largely depends on the choice of bandwidth, also known as the smoothing parameter. In other words, it is a value that controls the amount of bandwidth smoothing. Bandwidth can be chosen subjectively in many cases. The subjective selection is made by comparing the graphs of the PDFs, the estimation generated by applying different bandwidths to the random variable. As a result of different bandwidth trials, the most appropriate bandwidth is decided by looking at the appearance of the PDFs. However, such an approach will not give good estimates while giving repeatable results. It is also a time-consuming and error-prone method of trial and error. Another disadvantage is that there is often no a priori knowledge of the data structure and no clue as to which bandwidth gives the closest estimate of true density. The only situation in which subjective selection is useful is when the researcher believes there is a certain construct about the position of the random variable’s mode. Therefore, automatic selection is often required when determining the bandwidth of kernel estimators [33].
Very large bandwidths are expected to yield extremely flattened density estimates with little ‘randomness’. This causes the PDF to deviate from its true form and to make the predictions biased. Small bandwidths, on the other hand, are expected to yield fluctuating (curvy) density estimates with high randomness. In this case, the bias of the estimation decreases, while the variance increases. These two situations prevent us from seeing the properties of the distribution. For this reason, attention should be paid to the most accurate selection of the bandwidth. Bandwidth selection methods fall into three classes.
The selections in the first class are based on finding the optimum bandwidth, starting from a wide range and narrowing it down with a very simple and easy-to-calculate mathematical formula. They are developed to cover a wide range of situations, but they do not guarantee that the result is close enough to the optimum bandwidth. Such selections provide a reasonable starting point for subjectively chosen bandwidths.
Second-class selections are selection processes that are based on a more precise mathematical basis and require much more computational power to arrive at the actual function underlying the dataset. Each of these selection types aims to make the MISE the smallest, and they achieve this goal asymptotically. Therefore, it is said that the bandwidth selection methods obtained by making the MISE the smallest are consistent [34]. These bandwidth selection methods: least squares cross-validation, sometimes also called unbiased cross-validation, are BCV and flattened cross-validation methods [33].
Third-class selections are methods based on substituting (addition) the estimates of some unknown parameters that appear in the formulas for asymptotically optimal bandwidth. These bandwidth selection methods are called substitution and equation solving [8,35]. These selection methods will be briefly introduced.

3.1. Normal Scale Bandwidth Selection Method

When estimating the PDF f x of the data, the bandwidth that minimizes the MISE asymptotically should be chosen. The NS bandwidth selection method is improved by replacing the unknown PDF with a known distribution function.
Usually, the unknown f x is assumed to come from the normal distribution with mean μ and variance σ 2 . With this assumption, the integral of the square of the second derivative of f found in Equation (15) is as follows:
f x 2 d x = 3 8 π σ 5 0.212 σ 5
When the normal kernel function is used here, it becomes
K 2 u d u = 1 4 π   and   u 2 K u d u .
Thus, the optimum bandwidth is obtained as
h o p t = ( 4 π ) 1 / 10 3 8 1 / 5 π 1 / 10 σ n 1 / 5 = 1.059 σ n 1 / 5
and this bandwidth is approximately
h o p t = 1.06 σ n 1 / 5 .
Here, if σ ^ = s , sample standard deviation is substituted for σ , and the optimal bandwidth is calculated as [6,33]:
h o p t = 1.06 σ ^ n 1 / 5
It should be noted that the assumption that f x comes from a normal distribution is contrary to the understanding of non-parametric density estimation. If it were known that the random variable X had a normal distribution, density could have been estimated much more easily and efficiently by simply estimating the sample mean μ and sample variance σ 2 and putting these estimates into the normal density formula. However, the result obtained under the assumption of normality is a clear and applicable formula for bandwidth selection. If the random variable X is normally distributed, choosing the NS bandwidth gives the optimum bandwidth. The distribution of the random variable X is usually unknown, and in such a case, it gives a near-optimal bandwidth if the distribution of X is not significantly different from the normal distribution [8].

3.2. Silverman’s Rule of Thumb Bandwidth Selection Method

Equation (21) gives a near-optimal bandwidth if the distribution of X is not much different from the normal distribution. Therefore, Equation (21) would be a practical bandwidth that would yield good results for all unimodal and highly symmetrical distributions. A robust estimator was used especially in datasets containing outlier observations. Again, under the assumption of normal distribution, the standard deviation σ ^ is estimated from the sample instead of σ and the sample interquartile range R , with the values of
A = min σ ^ , R 1.34
and the optimal bandwidth [6,34],
h o p t = 1.79 R n 1 / 5   or   h o p t = 0.9 A n 1 / 5
Since this method, first proposed by B.W. Silverman, is performed by replacing the unknown function with a known distribution, it is called SRT bandwidth selection method [6].

3.3. Direct Plug in Bandwidth Selection Method

The DPI bandwidth selection method proposed by [12] has many desirable features in terms of both theory and practice, especially in terms of fast convergence rate and low sampling variability. DPI bandwidth selection method is also referred to as DPI. These features make the substitution bandwidth selection method a first choice in practical applications. This selection method is based on the AMISE criterion. Equation (24) is based on placing an estimator in place of a single unknown Ψ 4 value in the bandwidth that minimizes the AMISE when Ψ 4 is replaced by Ψ 4 ( g 4 ) kernel estimator in Equation (24) obtained as follows:
h ^ D P I = K ( u ) 2 d u n μ 2 K 2 Ψ 4 ( g 4 ) 1 / 5
This estimator cannot be used directly as it depends on the unknown value of g 4 . The authors of [33] showed that g 4 can be calculated using the AMISE optimal bandwidth formula. g r express in the form:
g r , A M S E = 2 K r ( 0 ) n μ 2 ( K ) Ψ r + 2 ( g r + 2 ) 1 / ( r + 3 ) .
where AMSE stands for Asymptotic MSE.
If f is a normal density with variance σ 2 then, for r , even,
Ψ r = ( 1 ) r / 2 r ! 2 σ r + 1 ( r / 2 ) ! π 1 / 2 .
It is generally recommended that the bandwidth is selected in at least two stages. The substitution bandwidth method, which estimates the bandwidth at all these stages, requires very costly calculations [33].

3.4. Solve-the-Equation Rules Bandwidth Selection Method

In Equation (24), STE bandwidth selection method, which brings a different perspective to the substitution bandwidth selection method, there is an additional requirement for the estimation of Ψ 4 that the pilot bandwidth h has a function of γ , i.e.,
h ^ D P I = K ( u ) 2 d u n μ 2 K 2 Ψ 4 ( γ ( h ) ) 1 / 5
γ ( h ) formula is as follows [8]:
γ ( h ) = 2 K 4 ( 0 ) μ 2 ( K ) Ψ ^ 4 ( g 4 ) Ψ ^ 6 ( g 6 ) R ( K ) 1 / 7 h 5 / 7

3.5. Least Squares Cross Validation Bandwidth Selection Method

LSCV bandwidth selection method is one of the most frequently used methods in bandwidth selection. It is a technique based on computer-intensive computations and has no clear formulation. An initial assessment of h value is made by drawing a rough histogram. Accordingly, in the next algorithm operation, the value that makes the MISE function the smallest is selected under the h values in a range. Since f ~ n , h , i x excludes an X i value when estimating density, it is often referred to as the “one observation out” density estimator. The reason why it is called cross-validation is that it makes inferences about the other part by using one part of the sample. The starting point of this method is Integrated Squared Error (ISE), which is an alternative distance measure between f x and f ~ n , h x defined in Equation (29) [10]:
I S E f ~ n , h x = f ~ n , h x f x 2 d x , = f ~ n , h x 2 d x 2 f x f ~ n , h x d x + f ( x ) 2 d x .
The goal is to choose a value of h that will make the ISE as small as possible. However, it does not depend on Equation (29) h . Therefore, the expected value of the ISE is taken,
M I S E f ~ n , h x = E f ~ n , h x 2 d x 2 E f ~ n , h x f x d x + f ( x ) 2 d x
and in this equation, the term f ( x ) 2 d x does not depend on h and does not affect the choice of h and optimality. Therefore, it can be neglected and
M I S E   f ~ n , h x f x 2 d x = E f ~ n , h x 2 d x 2 E f ~ n , h x f x d x
obtained.
The right-hand side of Equation (31) cannot be known since it depends on f ( x ) . However, it can be shown to be an unbiased LSCV estimator for this:
L S C V = 1 n i = 1 n f ~ n , h , i x ( x ) 2 d x 2 n 1 i = 1 n f ~ n , h , i x ( x i ) .
Here,
f ~ n , h , i x = ( n 1 ) 1 j i n K h ( x X j ) .
The h value that minimizes the LSCV value is chosen as the bandwidth. The authors of [33,36] proved that the LSCV bandwidth selector is easier to calculate in Equation (34):
L S C V = f ~ n , h x d x 2 n 1 i = 1 n f ~ n , h , i ( x i ) .
Although the LSCV method is frequently used, the large sample variability is a disadvantage. For this reason, due to high variability, the LSCV method, which results in incomplete smoothing in the density estimation, performs poorly at almost all estimated densities compared to other bandwidth selectors [7,10,37].

3.6. Bias Cross Validation Bandwidth Selection Method

To improve the sample variability of the LSCV bandwidth selection method, the authors of [11] proposed the BCV bandwidth selection method. The difference between this method and LSCV is that it is based on AMISE given in Equations (12) and (13) instead of ISE.
In the BCV bandwidth selection method, the unknown R ( f ) is replaced by an estimator R ( f ~ ) . This produces a biased estimate [11]:
B C V = ( n h ) 1 R K + 1 4 h 4 μ 2 K 2 R ( f ~ ) .
It reduces the amount of sample variability that causes many of the problems mentioned in BCV, LSCV, and other bandwidths. Also, its asymptotic variance is considerably lower than that of LSCV. However, this decrease in variance causes an increase in bias [34]. Simulation studies conducted by authors [13,37,38] demonstrated that the performance of BCV is superior to that of LSCV.

3.7. Smoothed Cross Validation Bandwidth Selection Method

The SCV bandwidth selection method is similar to substitution bandwidth selection in that the MISE uses a kernel estimator with g pilot bandwidth to estimate the Integrated Squared Bias (ISB) component. Therefore, the methods have similar theoretical properties. The difference is that SCV is based on the integral of the square of the bias rather than the asymptotic approach. Therefore, it has the feature of being less dependent on the asymptotic approximation. The SCV objective function is obtained by replacing f ( x ) with a pilot estimator:
f ~ n , g ( x ) = 1 n i = 1 n L g ( x X i ) .
Here, L g ( x ) ’s are kernel functions obtained with g ’s of different bandwidths. Also, SCV containing the asymptotic integrated variance n h 1 R ( K ) is estimated with
S C V ( h ) = 1 n h R ( K ) + I S B ( h )
with ISB is estimated:
I S B ( h ) = n 2 i = 1 n j = 1 n K h f ~ n , g x f ~ n , g ( x ) 2 d x
h S C V is the largest minimum of S C V ( h ) [33].

4. Simulation Study

In this study, eight different normal and normal mixture distributions are considered (Table 1 and Figure S1). These densities are standard normal (Gaussian), skewed unimodal, kurtotic unimodal, outlier, bimodal, separated bimodal, skewed bimodal, and trimodal distribution.
The simulation study has been performed with 1000 repetitions for 7 different bandwidth methods (NS, SRT, DPI, STE, LSCV, BCV, and SCV) and 8 different normal distributions given in Table 1 for different sample sizes (5, 10, 25, 50, 100, and 200). The average bandwidth, Standard Deviation (SD), MSE, bias and Relative Efficiency (RE) h / h M I S E values have been calculated with 1000 replication. At the same time, for each distribution and each sample, bandwidth value has also been calculated using MISE, which is known as the most common optimal criterion for bandwidth selection, and seven bandwidth values have been compared with it. The bandwidth value obtained by the bandwidth selection method, which has been determined as the best method according to MSE and Bias values among the seven bandwidth methods, is also the closest to the bandwidth value obtained with MISE. Based on the simulation results, selected bandwidth methods are presented in Table 2 with respect to the smallest MSE, bias, and bandwidth selection methods. All results of the simulation study are given in the appendix Tables S1–S8.
As can be seen from Table 2 and supplementary files Tables S1–S8, BCV is the most popular bandwidth selection method. LSCV, STE, and SCV follow BCV. Random data with 1000 replicates were generated with the “rnorm.mixt” function in the “ks” package, which is included in the R package program (version 4.2.2) and used in kernel smoothing for the data [40].
According to the simulation results, boxplots of the bandwidths obtained with 1000 repetitions for each distribution and each sample size are shown in Figure 1, Figure 2, Figure 3, Figure 4, Figure 5, Figure 6, Figure 7 and Figure 8.
Now seven bandwidth methods will be compared through boxplot and optimal bandwidth value:
  • In Model 1, all estimated bandwidths for small sample size remained below the optimal bandwidth. It is seen that as the sample size increases, the value obtained by the BCV method approaches the optimal bandwidth. In contrast, the bandwidth estimated by the SRT method remains below the optimal bandwidth for each simulated sample size. It may cause under smoothing problems if used in KDE (Figure 1).
  • In Model 2, for small sample sizes (n = 5, 10), BCV and SCV occur close to the optimal bandwidth; as the sample size increases, the SCV method is observed to be the closest to the optimal bandwidth (Figure 2).
  • In Model 3, for a small sample size, the bandwidths estimated by NS, SRT, DPI, STE, and LSCV methods give results close to the optimal bandwidth; as the sample size increases, the bandwidth value estimated by LSCV becomes the closest estimate to the optimal bandwidth (Figure 3).
  • In Model 4, for small sample size, the bandwidth estimates estimated by BCV, LSCV, and SCV methods give results close to the optimal bandwidth; as the sample size increases, the bandwidth value estimated by LSCV overlaps with the optimal bandwidth value (Figure 4).
  • In Model 5, for a small sample size, the bandwidth estimated by the BCV method captures the closest value to the optimal bandwidth; as the sample size increases, the bandwidth values estimated by SRT, DPI, STE, LSCV, and SCV overlap with the optimal bandwidth value (Figure 5).
  • In Model 6, in all cases, the bandwidth estimate by the LSCV method captures the optimal bandwidth value, with the STE bandwidth method following the LSCV bandwidth method (Figure 6).
  • In Model 7, for a small sample size, although the bandwidth estimate closest to the optimal bandwidth is BCV, as the sample size increases, the bandwidth value estimated by LSCV approaches the optimal bandwidth value (Figure 7).
  • In Model 8, for a small sample size, although BCV is the bandwidth estimate closest to the optimal bandwidth, as the sample size increases, the bandwidths estimated by SCV get closer to the optimal bandwidth value (Figure 8).
Furthermore, density plots of the kernel density estimates, based on the simulation results for each distribution, sample size, and bandwidth method, are provided in the supplementary files as Figures S2–S9. We can summarize the results from these figures as follows:
  • In Figure S2, for small sample sizes, NS, SRT, DPI, and STE exhibit under smoothing; while as the sample size increases, all bandwidths tend to over smooth.
  • In Figure S3, for small sample sizes, SRT, DPI, and STE exhibit under smoothing; while as the sample size increases, all bandwidths tend to over smooth.
  • In Figure S4, for small sample sizes, SRT and STE exhibit under smoothing. As the sample size increases, DPI and LCSV also tend to under smooth.
  • In Figure S5, for small sample sizes, NS, SRT, DPI, and STE exhibit under smoothing.
  • In Figure S6, for small sample sizes, SRT, DPI, and STE exhibit under smoothing; while as the sample size increases, all bandwidths tend to over smooth.
  • In Figure S7, for small sample sizes, SRT and DPI exhibit under smoothing; while as the sample size increases, all bandwidths tend to over smooth.
  • In Figure S8, as the sample size increases, all bandwidths tend to over smooth.
  • In Figure S9, for small sample sizes, NS, SRT, DPI, and STE exhibit under smoothing; while as the sample size increases, all bandwidths tend to over smooth.

5. Application of Real Data

In this section, the considered bandwidth selectors in the previous section are applied to a real dataset. Using the daily average values of the 2022 wind speed (meter/s) in the Kepsut district of the Balıkesir province, it is intended to estimate the monthly wind speed distribution with the KDE method. During this analysis, wind speed data consisting of the 2022 daily average wind speed records in Balıkesir-Kestup, measured and recorded by the Turkish State Meteorological Service, have been used [41].
Firstly, in order to visualize the data structure, boxplots were created for each of the 12 months (Figure 9). The bandwidths that can be used for KDE of monthly wind speed distributions based on the simulation results can now be interpreted: January, February, May, and December look to have skewed distribution. In this case, the SCV method is preferred for estimating bandwidth for these months. On the other hand, April, September, and October are close to normal distribution, so the BCV method is preferred for estimating bandwidth for these months. June and July’s distribution looks to have a skewed bimodal normal mixture. In that case again, the SCV may be a better solution to estimate the bandwidth. If the March and August distribution is accepted as bimodal, again, the most suitable bandwidth selection method will be the SCV.
The wind speed dataset for the Kepsut Balıkesir region in 2022 was divided into monthly segments. For each month, seven distinct Kernel Density Estimates (KDEs) were computed using seven distinct bandwidth calculation methods. The resulting bandwidth estimates and KDE plots are presented in Figure 9 and Table 3 respectively.
Another striking point is that while some bandwidths (mostly BCV) shown in pink in Table 3 cause over smoothing compared to the others; some of the bandwidths shown in blue (most STE) may cause under smoothing. Clearly, one can see that when h is too small (the magenta curve) in January and December (Table 3; Figure 10), there are many wiggly structures on the density curve. This is a signature of under smoothing. On the other hand, according to the results obtained in the application, the BCV bandwidth selection method generally caused over smoothing in the month variables, giving higher bandwidth results compared to the other six methods. The STE bandwidth selection method created under smoothing in the month variables, giving generally smaller bandwidth results compared to the other six methods (Table 3; Figure 10).

6. Results

In this study, optimum bandwidths used in the KDEs obtained for different sample sizes taken from normal mixing densities with simulation application, and seven bandwidth selection methods were compared using MSE and Bias of these bandwidth selection methods.
According to the simulation results:
  • Bandwidths obtained by the NS selection method give the closest results to the optimal bandwidth at low sample size at kurtotic unimodal density and at high sample size at trimodal density.
  • The SRT bandwidth selection method does not approach optimal bandwidth at any of the normal mixing densities.
  • The DPI bandwidth selection method does not approach optimal bandwidth at any of the normal mixing densities.
  • The STE bandwidth selection method gives the closest result to the optimum bandwidth for kurtotic unimodal and separated bimodal density functions at a low sample size.
  • The LSCV bandwidth selection method gives the closest result to the optimum bandwidth for large sample sizes in kurtotic unimodal, outlier, separated bimodal and skewed bimodal density functions.
  • The BCV bandwidth selection method at all sample sizes at standard normal density; outlier, skewed bimodal, and trimodal density gives the closest result to optimal bandwidth at a small sample size.
  • The SCV bandwidth selection method gives the closest result to the optimal bandwidth for all other sample sizes except for a small sample size at skewed unimodal density.
With real data application, seven bandwidth selection methods were compared by obtaining the kernel density estimates of the Kepsut, Balıkesir region variables.
According to the actual data application results:
  • The BCV bandwidth selection methods have oversmoothed, resulting in high bandwidth in most of the months.
  • STE and some of the LSCV bandwidth selection methods have incomplete smoothing, resulting in small bandwidth in some variables.
Although significant improvements have been made recently in bandwidth selectors in many simulation studies examined, these selectors do not perform satisfactorily in all cases. That is, although it is not possible to determine a single best bandwidth selector for all PDFs, the shape and structure of the density to be estimated also have a great influence on the bandwidth selection methods. Therefore, estimates for various bandwidths must be obtained.

7. Conclusions

Throughout this paper, we have presented a detailed study that makes a substantial contribution to the field by offering a comprehensive analysis of bandwidth selection methodologies in the ubiquitous context of kernel density estimation. We have applied a multifaceted approach that combines rigorous data analysis and theoretical principles. While prior research has compared bandwidth selection methods, our study not only specifically provides clear guidelines for practitioners but also crucially applies these methods to wind speed data from the Balıkesir, Kepsut region for the year 2022.
Our work bridges the gap between general kernel density estimation techniques and their practical application to wind speed data, which is essential for renewable energy research. By focusing on monthly kernel density estimations, we provide a detailed temporal view of wind speed variations that offers unique insights compared to broader time-scale analyses. Additionally, our use of simulation studies with various parameter choices and sample sizes ranging from small to large ensures the theoretical robustness and practical applicability of our findings.
In particular, our research reveals the suitability of the SCV method for estimating bandwidth in our specific dataset. This nuanced insight may not have been apparent in other contexts or with different datasets, underscoring the relevance and timeliness of our work. In conclusion, our study serves as a consolidated source of information on bandwidth selection, offering an integrated understanding for those in the field of renewable energy research.
Future work:
  • Geographical viability and terrain analysis: To validate the robustness of the SCV method, future research should extend its investigation across diverse geographical regions and terrain types, considering variations in wind speed data originating from different climatic conditions. Such an approach will help in comprehensively assessing the method’s applicability and ensuring its adaptability across varied environmental contexts.
  • Adaptive algorithms and time-series analysis: Leveraging advancements in machine learning and artificial intelligence, a promising avenue for research involves the development of adaptive algorithms capable of dynamically selecting the most suitable bandwidth method based on real-time wind speed data. Additionally, a more detailed time-series analysis should be pursued to uncover diurnal, weekly, and seasonal patterns in wind speed data, further evaluating the performance of bandwidth selectors on these shorter time scales.
  • Hybrid bandwidth selection approaches and comparative analysis: Building on the identification of the SCV method as optimal, future investigations can delve into refining its implementation or combining it with other bandwidth methods to create hybrid approaches. These approaches may integrate techniques such as weighted averages, adaptive selection, iterative refinement, data segmentation, bootstrap combination, or a machine learning approach to enhance precision. Furthermore, ongoing studies should continually compare established methods with any emerging contenders to ensure that the most accurate wind speed distribution predictions are achieved in the ever-evolving landscape of technological and mathematical advancements.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/math11214478/s1, Figure S1 displays plots of normal mixture densities listed in Table 1, while the comprehensive simulation results are provided in Tables S1–S8. Furthermore, Figures S2–S9 displays plots of kernel density estimates based on the simulation results for each distribution, sample size, and bandwidth method.

Author Contributions

Conceptualization, N.G.; methodology, N.G.; software, N.G. and Ş.K.; validation, N.G. and Ş.K.; formal analysis, N.G. and Ş.K.; investigation, N.G. and Ş.K.; resources, N.G. and Ş.K.; data curation, N.G.; writing—original draft preparation, N.G. and Ş.K.; writing—review and editing, N.G. and Ş.K.; visualization, N.G. and Ş.K.; supervision, N.G.; funding acquisition, N.G. and Ş.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data sharing not applicable. The data used in this study were obtained from the Turkish State Meteorological Service through official data access request (with membership) and payment.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Foyhirun, C.; Kongkitkul, D.K.; Ekkawatpanit, C. Performance of Global Climate Model (GCMs) for wind data analysis. E3S Web Conf. 2019, 117, 3–7. [Google Scholar] [CrossRef]
  2. Donk, P.; Van Uytven, E.; Willems, P. Statistical methodology for on-site wind resource and power potential assessment under current and future climate conditions: A case study of Suriname. SN Appl. Sci. 2019, 1, 846. [Google Scholar] [CrossRef]
  3. Shi, H.; Dong, Z.; Xiao, N.; Huang, Q. Wind Speed Distributions Used in Wind Energy Assessment: A Review. Front. Energy Res. Wind Energy 2021, 9, 769920. [Google Scholar] [CrossRef]
  4. Rosenblatt, M. Remarks on Some Nonparametric Estimates of a Density Function. Ann. Stat. 1956, 27, 832–837. [Google Scholar] [CrossRef]
  5. Parzen, E. On the estimation of a probability density function and the mode. Ann. Stat. 1962, 33, 1065–1076. [Google Scholar] [CrossRef]
  6. Silverman, B.W. Density Estimation for Statistics and Data Analysis, 1st ed.; Chapman and Hall: London, UK, 1986; pp. 1–48. [Google Scholar]
  7. Terrell, G.R. The Maximal Smoothing Principle in Density Estimation. J. Am. Stat. Assoc. 1990, 85, 470–477. [Google Scholar] [CrossRef]
  8. Gramacki, A. Nonparametric Kernel Density Estimation and Its Computational Aspects; Springer: Cham, Switzerland, 2018. [Google Scholar]
  9. Rudemo, M. Empirical choice of histograms and kernel density estimators. Scand. Stat. Theory Appl. 1982, 9, 65–78. [Google Scholar]
  10. Bowman, A.W. An alternative method of cross-validation for the smoothing of density estimates. Biometrika 1984, 71, 353–360. [Google Scholar] [CrossRef]
  11. Scott, D.; Terrell, G. Biased and unbiased cross-validation in density estimation. J. Am. Stat. Assoc. 1987, 82, 1131–1146. [Google Scholar] [CrossRef]
  12. Sheather, S.J.; Jones, M.C. A Reliable Data-Based Bandwidth Selection Method for Kernel Density Estimation. J. R. Stat. Soc. Ser. B Methodol. 1991, 53, 683–690. [Google Scholar] [CrossRef]
  13. Cao, R.; Cuevas, A.; Gonzalez Manteiga, W. A comparative study of several smoothing methods in density estimation. Comput. Statist. Data Anal. 1994, 17, 153–176. [Google Scholar] [CrossRef]
  14. Harpole, J.K. How Bandwidth Selection Algorithms Impact Exploratory Data Analysis Using Kernel Density Estimation. Master’s Thesis, University of Kansas, Lawrence, KS, USA, 2013. [Google Scholar]
  15. Harpole, J.K.; Woods, C.M.; Rodebaugh, T.L.; Levinson, C.A.; Lenze, E.J. How bandwidth selection algorithms impact exploratory data analysis using kernel density estimation. Psychol. Methods 2014, 9, 428–443. [Google Scholar] [CrossRef] [PubMed]
  16. Demir, S. Adaptive kernel density estimation with generalized least square cross-validation. Hacet. J. Math. Stat. 2019, 48, 616–625. [Google Scholar] [CrossRef]
  17. Wallin, G.; Häggström, J.; Wiberg, M. How Important is the Choice of Bandwidth in Kernel Equating? Appl. Psychol. Meas. 2021, 45, 518–535. [Google Scholar] [CrossRef] [PubMed]
  18. Karakoç, Ş. Çekirdek Düzgünleştirmesiyle Yoğunluk Fonksiyonu Tahmininde Bant Genişliği Seçim Yöntemlerinin Karşılaştırılması. Master’s Thesis, Gazi University, Ankara, Turkey, 2023. [Google Scholar]
  19. Henderson, D.J.; Papadopoulos, A.; Parmeter, C.F. Bandwidth selection for kernel density estimation of fat-tailed and skewed distributions. J. Stat. Comput. Simul. 2023, 93, 2110–2135. [Google Scholar] [CrossRef]
  20. Dokur, E.; Kurban, M. Wind Speed Potential Analysis Based on Weibull Distribution. Balk. J. Electr. Comput. Eng. 2015, 3, 231–235. [Google Scholar] [CrossRef]
  21. Miao, S.; Xie, K.; Yang, H.; Karki, R.; Tai, H.-M.; Chen, T. A mixture kernel density model for wind speed probability distribution estimation. Energy Convers. Manag. 2016, 126, 1066–1083. [Google Scholar] [CrossRef]
  22. Hu, B.; Li, Y.; Yang, H.; Wang, H. Wind speed model based on kernel density estimation and its application in reliability assessment of generating systems. J. Mod. Power Syst. Clean Energy 2017, 5, 220–227. [Google Scholar] [CrossRef]
  23. Citakoglu, H.; Aydemir, A. Determination of Monthly Wind Speed of Kayseri Region with Gray Estimation Method. In Proceedings of the 2019 IEEE Jordan International Joint Conference on Electrical Engineering and Information Technology (JEEIT), Amman, Jordan, 9–11 April 2019. [Google Scholar] [CrossRef]
  24. Han, Q.; Ma, S.; Wang, T.; Chu, F. Kernel density estimation model for wind speed probability distribution with applicability to wind energy assessment in China. Renew. Sust. Energ. Rev. 2019, 115, 109387. [Google Scholar] [CrossRef]
  25. Zhang, L.; Xie, L.; Han, Q.; Wang, Z.; Huang, C. Probability Density Forecasting of Wind Speed Based on Quantile Regression and Kernel Density Estimation. Energies 2020, 13, 6125. [Google Scholar] [CrossRef]
  26. An, X.-Y.; Yan, Z.; Jia, J.-M. A new distribution for modeling wind speed characteristics and evaluating wind power potential in Xinjiang, China. Energy Sources A Recovery Util. Environ. Eff. 2020, 1, 1556–7036. [Google Scholar] [CrossRef]
  27. He, Y.-L.; Ye, X.; Huang, D.-F.; Huang, J.Z.; Zhai, J.-H. Novel kernel density estimator based on ensemble unbiased cross-validation. Inf. Sci. 2021, 581, 327–344. [Google Scholar] [CrossRef]
  28. Jabbar, R.I. Statistical Analysis of Wind Speed Data and Assessment of Wind Power Density Using Weibull Distribution Function (Case Study: Four Regions in Iraq). Phys. Conf. Ser. 2021, 1804, 012010. [Google Scholar] [CrossRef]
  29. Liu, L.; Wang, J.; Li, J.; Wei, L. Estimation of wind speed distribution with time window and new kernel function. J. Renew. Sustain. Energy 2022, 14, 053307. [Google Scholar] [CrossRef]
  30. Wahbah, M.; Mohandes, B.; EL-Fouly, T.H.M.; El Moursi, M.S. Unbiased cross-validation kernel density estimation for wind and PV probabilistic modelling. Energy Convers. Manag. 2022, 266, 115811. [Google Scholar] [CrossRef]
  31. Zhou, S.; Yang, Y.; Gao, Z.; Xi, X.; Duan, Z.; Li, Y. Estimating vertical wind power density using tower observation and empirical models over varied desert steppe terrain in northern China. Atmos. Meas. Tech. 2022, 15, 757–773. [Google Scholar] [CrossRef]
  32. Silveira, F.; Gomes-silva, F.; Brito, C.; Jale, J.; Gusmão, F.; Xavier-júnior, S.; Rocha, J. Modelling wind speed with a univariate probability distribut ion depending on two baseline functions. Hacet. J. Math. Stat. 2023, 52, 808–827. [Google Scholar] [CrossRef]
  33. Wand, M.P.; Jones, M.C. Kernel Smoothing, 1st ed.; Chapman & Hall: New York, NY, USA, 1995. [Google Scholar]
  34. Yolsal, H. Parametrik Olmayan Yoğunluk Tahmincileri ve Regresyon Analizi (Birinci Baskı); Detay Yayıncılık: Ankara, Turkey, 2017. [Google Scholar]
  35. Sheather, S.J. Density estimation. Stat. Sci. 2004, 19, 558–597. [Google Scholar] [CrossRef]
  36. Hall, P. Large sample optimality of least squares cross-validation in density estimation. Ann. Stat. 1983, 11, 1156–1174. [Google Scholar] [CrossRef]
  37. Park, B.; Marron, J. Comparison of data-driven bandwidth selectors. J. Am. Stat. Assoc. 1990, 85, 66–72. [Google Scholar] [CrossRef]
  38. Jones, C.; Marron, J.; Sheather, S. Progress in data-based bandwidth selection for kernel density estimation. Comput. Stat. 1996, 11, 337–381. [Google Scholar]
  39. Marron, S.; Wand, M. Exact mean integrated squared error. Ann. Stat. 1992, 20, 712–736. [Google Scholar] [CrossRef]
  40. Cran.r-project. 2022. Available online: https://cran.rproject.org/web/packages/ks/ks.pdf (accessed on 10 January 2022).
  41. Turkish State Meteorological Service. Available online: https://mevbis.mgm.gov.tr/mevbis/ui/index.html#/Workspace (accessed on 8 September 2023).
Figure 1. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the Gaussian distribution. The horizontal line represents the optimal bandwidth value.
Figure 1. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the Gaussian distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g001
Figure 2. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the skewed unimodal distribution. The horizontal line represents the optimal bandwidth value.
Figure 2. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the skewed unimodal distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g002
Figure 3. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the kurtotic unimodal distribution. The horizontal line represents the optimal bandwidth value.
Figure 3. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the kurtotic unimodal distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g003
Figure 4. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the outlier distribution. The horizontal line represents the optimal bandwidth value.
Figure 4. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the outlier distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g004
Figure 5. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the bimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Figure 5. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the bimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g005
Figure 6. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the separated bimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Figure 6. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the separated bimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g006
Figure 7. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the skewed bimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Figure 7. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the skewed bimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g007
Figure 8. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the trimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Figure 8. Box plots display the distribution of 1000 bandwidth estimates obtained from the simulation study for the trimodal normal mixture distribution. The horizontal line represents the optimal bandwidth value.
Mathematics 11 04478 g008
Figure 9. Boxplot of the 2022 Kepsut region wind data set by month.
Figure 9. Boxplot of the 2022 Kepsut region wind data set by month.
Mathematics 11 04478 g009
Figure 10. Kernel density estimates of the 2022 Balıkesir, Kepsut region wind data set by month, obtained with bandwidths calculated according to seven different methods.
Figure 10. Kernel density estimates of the 2022 Balıkesir, Kepsut region wind data set by month, obtained with bandwidths calculated according to seven different methods.
Mathematics 11 04478 g010
Table 1. Mixture of normal densities parameter [39].
Table 1. Mixture of normal densities parameter [39].
Model No.Densities w 1 N μ 1 σ 1 2 + + w k N μ k σ k 2
1Standard Normal (Gaussian)N (0, 1)
2Skewed Unimodal 1 5 N 0 , 1 + 1 5 N 1 2 , ( 2 3 ) 2 + 3 5 N 13 12 , ( 5 9 ) 2
3Kurtotic Unimodal 2 3 N 0 , 1 + 1 3 N 0 , ( 1 10 ) 2
4Outlier 1 10 N 0 , 1 + 9 10 N 0 , ( 1 10 ) 2
5Bimodal 1 2 N 1 , ( 2 3 ) 2 + 1 2 N 1 , ( 2 3 ) 2
6Separated Bimodal 1 2 N 3 2 , ( 1 2 ) 2 + 1 2 N 3 2 , ( 1 2 ) 2
7Skewed Bimodal 3 4 N 0 , 1 + 1 4 N 3 2 , ( 1 3 ) 2
8Trimodal 9 20 N 6 5 , ( 3 5 ) 2 + 9 20 N 6 5 , ( 3 5 ) 2 + 1 10 N 0 , ( 1 4 ) 2
Table 2. Selected bandwidth methods after the simulation results.
Table 2. Selected bandwidth methods after the simulation results.
Model :   N ( 0 , 1 ) Model :   1 5 N 0 , 1 + 1 5 N 1 2 , ( 2 3 ) 2 + 3 5 N 13 12 , ( 5 9 ) 2
n h M I S E B.M. * h  **SD ***BiasMSERE h M I S E B.M. * h  **SD ***BiasMSERE
50.903BCV0.7680.288−0.1350.1010.8500.898BCV0.7930.313−0.1050.1090.883
100.758BCV0.6960.166−0.0620.0310.9180.743BCV0.7330.185−0.0090.0340.987
250.609BCV0.5960.085−0.0140.0070.9790.584SCV0.5500.117−0.0350.0150.942
500.520BCV0.5170.052−0.0030.0030.9940.492SCV0.4760.080−0.0160.0070.967
1000.445BCV0.4490.0340.0030.0011.0090.417SCV0.4100.054−0.0060.0030.983
2000.383BCV0.3910.0220.0080.0011.0210.355SCV0.3670.037 0.0020.0011.034
Model :   2 3 N 0 , 1 + 1 3 N 0 , ( 1 10 ) 2 Model :   1 10 N 0 , 1 + 9 10 N 0 , ( 1 10 ) 2
n h M I S E B.M. * h  **SD ***BiasMSERE h M I S E B.M. * h  **SD ***BiasMSERE
50.374NS0.3350.248−0.0380.0630.8960.804BCV0.7180.292−0.0860.0930.893
100.198STE0.2490.1730.0510.0331.2580.654BCV0.6550.1670.0010.0281.002
250.124STE0.1860.1050.0620.0151.5000.483SCV0.4910.1140.0080.0131.017
500.097LSCV0.1160.0590.0200.0041.1960.351STE0.3500.108−0.0010.0120.997
1000.079LSCV0.0810.0260.0030.0011.0250.218LSCV0.2590.1230.0410.0171.188
2000.065LSCV0.0650.0150.0000.0001.0000.146LSCV0.1820.0920.0360.0101.247
Model :   1 2 N 1 , ( 2 3 ) 2 + 1 2 N 1 , ( 2 3 ) 2 Model :   1 2 N 3 2 , ( 1 2 ) 2 + 1 2 N 3 2 , ( 1 2 ) 2
n h M I S E B.M. * h  **SD ***BiasMSERE h M I S E B.M. * h  **SD ***BiasMSERE
51.149BCV0.9450.279−0.2040.1200.8220.586STE0.4650.255−0.1200.0800.794
100.899BCV0.8580.153−0.0410.0250.9540.469STE0.4770.1280.0080.0161.017
250.603SCV0.6060.1250.0030.0161.0050.366LSCV0.3840.1130.0180.0131.049
500.472LSCV0.4740.1530.0020.0231.0040.308LSCV0.3120.0820.0040.0071.013
1000.385STE0.3880.0730.0020.0051.0080.262LSCV0.2610.060−0.0010.0040.996
2000.322STE0.3280.0470.0070.0021.0190.224LSCV0.2230.046−0.0010.0020.996
Model : 3 4 N 0 , 1 + 1 4 N 3 2 , ( 1 3 ) 2 Model :   9 20 N 6 5 , ( 3 5 ) 2 + 9 20 N 6 5 , ( 3 5 ) 2 + 1 10 N 0 , ( 1 4 ) 2
n h M I S E B.M. * h  **SD ***BiasMSERE h M I S E B.M. * h  **SD ***BiasMSERE
51.017BCV0.8500.284−0.1670.1080.8360.926BCV0.7660.251−0.1610.0890.827
100.817BCV0.7710.164−0.0460.0290.9440.778BCV0.6940.146−0.0840.0280.892
250.555SCV0.5650.1160.0110.0141.0180.617BCV0.5800.071−0.0360.0060.940
500.408STE0.4150.0990.0070.0101.0170.512BCV0.5050.043−0.0070.0020.986
1000.318LSCV0.3330.1090.0150.0121.0470.415NS0.4060.028−0.0090.0010.978
2000.258LSCV0.2660.0810.0090.0071.0310.328STE0.3280.046−0.0000.0021.000
* Bandwidth selection methods, ** Average bandwidth values, *** Standard Deviation.
Table 3. Estimates of bandwidths by various methods for monthly wind speed data.
Table 3. Estimates of bandwidths by various methods for monthly wind speed data.
MonthsNSSRTDPISTELCSVBCVSCV
January0.5910.6970.4570.2970.1101.0490.614
February0.8300.9780.6820.5980.6791.0500.687
March0.7230.8510.6920.6250.8060.9140.707
April0.7100.8360.6910.6150.7010.9110.717
May0.5910.6970.4870.3980.4380.7520.491
June0.6420.7560.5270.4090.4330.8130.524
July0.3610.4250.4110.3880.4570.4570.428
August0.6850.8060.6330.5540.6850.8660.642
September0.6420.7560.5120.4570.5380.8760.532
October0.5410.6370.6870.6980.8020.8030.791
November0.5180.6100.5870.5600.6560.6550.613
December0.5070.5970.3690.2210.1840.8620.453
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gündüz, N.; Karakoç, Ş. Optimal Bandwidth Selection Methods with Application to Wind Speed Distribution. Mathematics 2023, 11, 4478. https://doi.org/10.3390/math11214478

AMA Style

Gündüz N, Karakoç Ş. Optimal Bandwidth Selection Methods with Application to Wind Speed Distribution. Mathematics. 2023; 11(21):4478. https://doi.org/10.3390/math11214478

Chicago/Turabian Style

Gündüz, Necla, and Şule Karakoç. 2023. "Optimal Bandwidth Selection Methods with Application to Wind Speed Distribution" Mathematics 11, no. 21: 4478. https://doi.org/10.3390/math11214478

APA Style

Gündüz, N., & Karakoç, Ş. (2023). Optimal Bandwidth Selection Methods with Application to Wind Speed Distribution. Mathematics, 11(21), 4478. https://doi.org/10.3390/math11214478

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop