Code covered by the BSD License  

Highlights from
Statistical dependence index

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.63 KB File ID: #12282

Statistical dependence index

by luis emiliani

 

15 Sep 2006 (Updated 15 Sep 2006)

calculates SDI for a matrix of observations

| Watch this File

File Information
Description

function [argout1 argout2 argout3 argout4]=sdindex2(data,threshold)
%calculation of statistical dependence index
%INPUTS
%data: a two column matrix, each column is a variable, each row an observation
%thresholds: reference thresholds for calculation of probability
%OUTPUTS
%statistical dependence index: SDI = Pab / Pa*Pb
%joint probability: Pab=P(a>threshold & b>threshold)
%A site probability
%B site probability

outputs depend of course on nargout

SDI is presented and defined in

F. Barbaliscia, G. Ravaioli, A. Paraboni. Characteristics of the Spatial Statistical Dependence of Rainfall rates over Large areas. IEEE Trans. Antennas Propagat., Vol. 40, No. 1, pp. 8-12, Feb. 1992

for the context of spatial correlation of rain rate and attenuation for satellite communciations, but is readily extendable to other fields. It is also part of the calculation of mutual information, as log(SDI), so it can help on that.

how to use it:
for a 2-column vector, two sites of n observations, and for a given threshold that you want to evaluate (threshold is used to evaluate probability of exceeding it)

thresholds =[3];
[sdi Pab]=sdindex2(pairdata,thresholds);

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
06 Apr 2007 sergio soares

studying correlation

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
statistics luis emiliani 22 Oct 2008 08:39:33
probability luis emiliani 22 Oct 2008 08:39:33
joint probability luis emiliani 22 Oct 2008 08:39:33
correlation luis emiliani 22 Oct 2008 08:39:33
correlation Akash 08 Nov 2009 08:29:42

Contact us at files@mathworks.com