LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
map_idc.m
1function I=map_idc(MAP)
2% I=map_idc(MAP) - Compute the asymptotic index of dispersion. I equals
3%
4% I=SCV(1+2\sum_{k=1}^{\infty} \rho_k)
5%
6% where SCV is the squared coefficient of variation and \rho_k is the
7% lag-k autocorrelation coefficient of inter-arrival times. I is also the
8% limiting value of the index of dispersion for counts and of the index of
9% dispersion for intervals.
10%
11% Input:
12% MAP: a MAP in the form of {D0,D1}
13%
14% Output:
15% I: asymptotic index of dispersion
16%
17% Examples:
18% - I=map_idc(map_renewal(MAP)) equals the SCV of the MAP
19%
20
21
22e=ones(size(MAP{1},1),1);
23I=1+2*(map_lambda(MAP)-map_pie(MAP)*inv(map_infgen(MAP)+e*map_prob(MAP))*MAP{2}*e);
24end