Code Directory
 Visual Basic & VB.NET
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
IcrediBB Bulletin Board System 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Azizi search engine script PHP 4.1.10
Binary MLM Plan 1.0.2
Answers phpSoftPro 3.12
Low Pass Butterworth Filter 1.0
The Shakespeare Programming Language 1.0
Faculty Evaluation System 1.1
MLM Binary Plan Script – i-Netsolution 1.0.2
MLM Software ONE 1.5.46
Online Food Ordering System 1.3.2
Cuckoo Optimization Algorithm 1.0
Java-2-Pseudo 1.0
Vue Injector 3.3
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
Kernel Density Estimator 1.0
File ID: 82725

Kernel Density Estimator 1.0
Download Kernel Density Estimator 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 12
Submit Rating:
Kernel Density Estimator 1.0 Description
Description: % Reliable and extremely fast kernel density estimator for one-dimensional data;
% Gaussian kernel is assumed and the bandwidth is chosen automatically;
% Unlike many other implementations, this one is immune to problems
% caused by multimodal densities with widely separated modes (see example). The
% estimation does not deteriorate for multimodal densities, because we never assume
% a parametric model for the data.
% data - a vector of data from which the density estimate is constructed;
% n - the number of mesh points used in the uniform discretization of the
% interval [MIN, MAX]; n has to be a power of two; if n is not a power of two, then
% n is rounded up to the next power of two, i.e., n is set to n=2^ceil(log2(n));
% the default value of n is n=2^12;
% MIN, MAX - defines the interval [MIN,MAX] on which the density estimate is constructed;
% the default values of MIN and MAX are:
% MIN=min(data)-Range/10 and MAX=max(data)+Range/10, where Range=max(data)-min(data);
% bandwidth - the optimal bandwidth (Gaussian kernel assumed);
% density - column vector of length 'n' with the values of the density
% estimate at the grid points;
% xmesh - the grid over which the density estimate is computed;
% - If no output is requested, then the code automatically plots a graph of
% the density estimate.
% cdf - column vector of length 'n' with the values of the cdf
% Reference:
% Kernel density estimation via diffusion
% Z. I. Botev, J. F. Grotowski, and D. P. Kroese (2010)
% Annals of Statistics, Volume 38, Number 5, pages 2916-2957.

% Example:
% data=[randn(100,1);randn(100,1)*2+35 ;randn(100,1)+55];
% kde(data,2^14,min(data)-5,max(data)+5);

% Notes: If you have a more reliable and accurate one-dimensional kernel density
% estimation software, please email me at

License: Shareware

Related: xmesh, 039n039, Length, Column, computed, output, Graph, plots, requested, Optimal

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 12

More Similar Code

Batch multivariate kernel density estimator from weighted data.
The submission includes a code for estimating a multivariate bandwidth ("getBandwidth.m") matrix for a Gaussian Kernel Density Estimator. The included demonstration code ("demoBWEstimation.m") estimates a bandwidth from a weighted set of data-points and displays the resulting KDE by tabulating it, as well as displaying it as a Gaussian Mixture Model. The...

2 dimenstion Kernel density Estimation with Sheater Jones bandwidth for each variable.
Also the Sheater Jones bandwidth selection
method will work for the univariate.

The function will estimate
Estimate Mutual Information with kernel density function

This function implements bivariant Gaussian kernel density estimation. It can be used to estimate bivariant probability density function (pdf), cumulative distribution function (cdf) and inversed cdf (icdf) from a set of random data. The code is...

This function was developed for nonparametric estimation problems where the estimate must satisfy some shape constraint. Our standard example of this is using a kernel density estimator, with the constraint that the estimate can have only one...

Bivariate Kamma Kernel Density Estimate
for large data set

Based on the Gaussian kernel density estimation, it is possible to update the PDF estimation upon receiving new data by using the same bandwidth.

Without providing any previous estimation, this function does normal Gaussian kernel...

probability density function of basic distributions
This package contains the functions for computing pdf of following distribution:
1) Gaussian
2) Multinomial
3) Dirichlet
4) Wishart
5) student-t
6) von...

function [optW, C, W] = sskernel(x,W,str)
% [optW, C, W] = sskernel(x,W,str)
% Function `sskernel' returns an optimal bandwidth (standard deviation)
% of the Gauss density function used in kernel density estimation.

Sometimes we need samples that come from a mixture of pdf's, where more than 1 peaks are observed. E.g. for analyzing goodness of a non-parametric kernel density estimation method.

By using the Rejection method, this function generates...

User Review for Kernel Density Estimator
- required fields

Please enter text on the image