New syntax for inverse-gamma distribution


Creating the inverse gamma distribution in IRIS requires the mean and standard deviation to be defined as inputs:
F = logdist.invgamma(MEAN,STD)
This limits the shape parameter alpha to be greater than two.

I suggest to add new syntax:
F = logdist.invgamma(NaN,NaN,A,B)
where A and B are shape and scale parameters (any positive numbers).


file attachments


ikarib wrote Oct 7, 2016 at 6:48 AM

Could you please look at the attached function and either add it to a new distribution function or extend the functionality of existing invgamma function?

ikarib wrote Oct 13, 2016 at 6:46 AM

sorry, there was a bug: x must be squared

ikarib wrote Feb 15 at 6:01 PM

See attached invgamma.m with new syntax for shape and scale input parameters:
F = logdist.invgamma(NaN,NaN,A,B)