Re: Gamma and Exponential fit for same data



LAKSHMI wrote:

I have curve fitting tool box and statistics toolbox also.
I am trying to fit an exponential ditribution and gamma distribution
for the same data in one figure.

The former(exp) I am able to do in cf tool box. Now I want to fit
gamma dist. for the same data. Any ideas are appreciated

Lakshmi, I think you want to take a look at the demo entitled "Curve Fitting and Distribution Fitting" on this page

<<http://www.mathworks.com/products/statistics/demos.html>>

If what you really mean is, "fit a curve that has the shape of a gamma density", then you can do that by defining a custom equation in CFTOOL, or with NLINFIT.
.



Relevant Pages

  • Re: Nonlinear regression nlinfit
    ... response, while alfa, beta and gamma are the coefficients ... 4- start the fitting by typing ... to see how the fit is ...
    (comp.soft-sys.matlab)
  • Re: imaginary numbers for the outputs of the Gain-Offset_Gamma for gamma characterization
    ... primers in PDF on his site. ... but I have a hunch you'll never be able to fit enough of the ... measured gamma with a simple power function. ... Maybe it would help model the ...
    (sci.engr.color)
  • Re: fitting a Gamma cdf to my data
    ... the following demo contains a section showing one way to fit a gamma ... Then you can use gamfit to get the maximum likelihood estimates. ... mimimize the negative log likelihood weighted by the frequencies. ...
    (comp.soft-sys.matlab)
  • mrqmin...my parameters a[ ] dont change
    ... I want to fit some data points with a gamma function...but my parameters don't change their value. ... function and I've fit it with the routine and everithing seem to wark well but after the inclusion of this files in another project the routine seems not to work... ... const int MA=3; ...
    (sci.math)
  • Re: Howto Initialize Parameter of Gamma Mixture Densities for EM
    ... gamma component. ... For the gamma parameters ... Fit a Gamma distribution to a random subset of the data. ... you could also randomly initialize Es.t. ...
    (sci.stat.math)

Loading