Code covered by the BSD License  

Highlights from
Empirical Bivariate CDF

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 1.38 KB File ID: #26001
image thumbnail

Empirical Bivariate CDF

by Taesam Lee

 

02 Dec 2009 (Updated 02 Dec 2009)

Estimating Empirical Bivariate Cumulative Density Function

| Watch this File

File Information
Description

Employing hist3 function.

Required Products Statistics Toolbox
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
03 Dec 2009 Faith

Very nice!

19 Aug 2010 Matthias Fripp

I found this page while looking for a hint on how to calculate an empirical 2-D CDF (cumulative density) from an empirical bivariate PDF (density) in Matlab. I found a nested loop in your code that does this, but subsequently found a much faster way. You may want to try this instead of the i1 and i2 loops in your code: biv_CDF=cumsum(cumsum(N,1),2)/nL

Please login to add a comment or rating.
Updates
02 Dec 2009

Some mistakes on number of bins

Tag Activity for this File
Tag Applied By Date/Time
mathematics Taesam Lee 02 Dec 2009 11:51:56
statistics Taesam Lee 02 Dec 2009 11:51:56
simulation Taesam Lee 02 Dec 2009 11:51:56

Contact us at files@mathworks.com