Watch this Author's files
I tried this code: x = randn(100000,1); L = lmom(x,4) L = 0.0038 0.5650 0.0005 0.0685
In fact L4 != 0.1226 !!!
but you can evaluate: T4 = L4/L2 = 0.1213
ok, I found it
I generated 1000 random nos from normal distribution(5,0.2)..i tried lmom(x)...the first three moments are right but the 4 moment kurtosis comes around 0.0137 while L4 for a normal dist is 0.1226...What is causing this discrepancy?
Fast and very useful.
Contact us at files@mathworks.com