4.66667

4.7 | 6 ratings Rate this file 55 Downloads (last 30 days) File Size: 212.68 KB File ID: #19280
image thumbnail

Bivariant Kernel Density Estimation (V2.0)

by Yi Cao

 

20 Mar 2008 (Updated 09 Apr 2010)

A tool for bivariant pdf, cdf and icdf estimation using Gaussian kernel function.

| Watch this File

File Information
Description

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 programmed in a way to be suitable for beginners to learn kernel density estimation.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Probability Density Function (PDF) Estimator (V3.2)

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
14 Jul 2008 nicolas cachy

very handy, thank you

05 Apr 2009 V. Poor  
22 Oct 2009 Tyler Jandreau  
08 Apr 2010 Warrick

Very easy to understand for a Matlab novice like myself. However, is the bandwidth formula correct? It doesn't seem to match the reference? Also, my total probability density is almost, but not exactly 1 (~0.96)

12 Apr 2010 Turkay YILDIZ  
13 May 2010 Frank

Nice program with the default values. Put I'm not seeing how I can input my own grid locations. The optional inputs say "p.xy - Nx2 matrix for locations to make estimation", however, I don't see where this is done within the program. Also, I get errors on line 260 when I try to input my own bandwidth values.

08 Jul 2010 yolgs Hoffmann

Nice one. But to really use it I definitely need to put in my own grid locations. So I have the same problem as Frank. Please - is there a solution? That would be really good.

08 Jul 2010 yolgs Hoffmann

ah ok: The functions does not get p.xy, the information in the file is misleading. But instead requires p.x and p.y separately. It´s in the check function around line 180 f.

27 May 2012 Yong-ha  
Please login to add a comment or rating.
Updates
09 Apr 2010

new functionality

Tag Activity for this File
Tag Applied By Date/Time
statistics Yi Cao 22 Oct 2008 09:54:25
probability Yi Cao 22 Oct 2008 09:54:25
bivariant gaussian kernel Yi Cao 22 Oct 2008 09:54:25
kernel density estimation Yi Cao 22 Oct 2008 09:54:25
bivariant pdf Yi Cao 22 Oct 2008 09:54:25
kernel density estimation pabitra martha 16 Jun 2009 01:28:48
cdf Yi Cao 09 Apr 2010 10:47:18
icdf Yi Cao 09 Apr 2010 10:47:18
bivariant gaussian kernel Nick 05 Dec 2011 10:34:04
bivariant pdf Nick 05 Dec 2011 10:34:07

Contact us at files@mathworks.com