Average mutual information

版本 1.0.0.0 (1.1 KB) 作者: Aslak Grinsted
Average mutual information
5.8K 次下载
更新时间 2006/2/17

无许可证

Very fast implementation of average mutual information.

Usage: [v,lag]=ami(x,y,lag)

Calculates the mutual average information of x and y with a possible lag.


v is the average mutual information. (relative units see below)
x & y is the time series. (column vectors)
lag is a vector of time lags.

(A peak in V for lag>0 means y is leading x.)

v is given as how many bits x and y has in common relative to how
many bits is needed for the internally binned representation of x or y.
This is done to make the result close to independent bin size.

For optimal binning: transform x and y into percentiles prior to running
ami. See boxpdf at matlab central.

http://www.imt.liu.se/~magnus/cca/tutorial/node16.html

Aslak Grinsted feb2006
http://www.glaciology.net
(Inspired by mai.m by Alexandros Leontitsis)

引用格式

Aslak Grinsted (2024). Average mutual information (https://www.mathworks.com/matlabcentral/fileexchange/10040-average-mutual-information), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
致谢

参考作品: Mutual Average Information

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0