% % macm 202 -- 04 mar 03 -- djm % % w9edf3.m: exponential distribution % - expected value statistics % expected values of ordered statistics msort = cumsum(1./(Nrand:-1:1)); % plot expected value comparison figure(4); clf plot(msort,xsort,'.') hold on; plot([0 ; xsort(end)/mu],[0 ; xsort(end)],'r') title('\bf expected value correlation line') xlabel('\bf expected value of ordered data: m_i') ylabel('\bf ordered random data: x_{(i)}')