Keywords: GIG distribution pdf.png en wikipedia 2013 July 24 Generalized inverse Gaussian distribution a b and p are described on the Wikipedia page for that distribution as of June 2013 Mebden talk Uploads 2012-02-24 Mebden talk Uploads MATLAB Source code <source lang Matlab > x 0 01 0 01 3; close all figure hold on box off Gamma example note simpler if b doesn't quite equal zero alpha 1; beta 1; a 2 beta; b 1e-10; p alpha; f a/b p/2 / 2 besselk p sqrt a b x p-1 exp - a x+b /x /2 ; plot x f 'b' Inverse Gaussian example mu 1; lambda 1; a lambda/mu 2; b lambda; p - 5; f a/b p/2 / 2 besselk p sqrt a b x p-1 exp - a x+b /x /2 ; plot x f 'k' Other examples a 2; b 1; p 2; f a/b p/2 / 2 besselk p sqrt a b x p-1 exp - a x+b /x /2 ; plot x f 'r' a 2; b 1; p -1; f a/b p/2 / 2 besselk p sqrt a b x p-1 exp - a x+b /x /2 ; plot x f 'g' legend 'a 2 b 0 p 1' 'a 1 b 1 p -1/2' 'a 2 b 1 p 2' 'a 2 b 1 p -2' </source> Mebden Original upload log en wikipedia Sfan00_IMG CommonsHelper en wikipedia GIG_distribution_pdf png 2012-02-24 12 36 Mebden 561×420× 5939 bytes <nowiki>I created this file today using the following Matlab code x 0 01 0 01 3; close all figure hold on box off alpha 1; beta 1; a 2 beta; b 1e-10; p alpha; gamma f a/b p/2 / 2 besselk p sqrt a b x p-1 exp - a x+b /x /2 ; plot</nowiki> Uncategorized 2013 July 24 |