1 Dec 2005 21:29
lognormal distribution defs
John W. Eaton <jwe <at> bevo.che.wisc.edu>
2005-12-01 20:29:58 GMT
2005-12-01 20:29:58 GMT
On 23-Nov-2005, Ben Barrowes wrote: | The logn***.m functions in octave are different from their counterparts in ML. Both ML: | http://www.mathworks.com/access/helpdesk/help/toolbox/stats/lognpdf.html | and mathworld: | http://mathworld.wolfram.com/LogNormalDistribution.html | define this dist not with log(mean), but with the mean itself. I agree that it would be best to have the lognXXX functions compatible with Matlab, since they have the same names. Since we already have lognormal_XXX functions that look like this: function XXX = lognormal_XXX (varargin) XXX = lognXXX (varargin{:}); endfunction your patch will also affect those, and break backward compatibility with Octave. Can you please suggest a patch that will not break backward compatibility? If there is no reasonable way for the old lognormal_XXX functions to call the new lognXXX funtions to do it, then I think we will have to do it by copying code (but I think it would be best to avoid the duplication if possible). Thanks,(Continue reading)
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web:
RSS Feed