Re: [R] Plotting Bi-Gamma Distribution

2008-07-02 Thread Wolfgang Raffelsberger
Hi, you can try the 'mixdist' package which allows fitting of multiple (superposed) distributions to your vector of data. The package is available on http://www.math.mcmaster.ca/peter/mix/mix.html Unfortunately this package doesn't support combination of normal with gamma etc..., but it could

Re: [R] Plotting Bi-Gamma Distribution

2008-07-02 Thread Ben Bolker
Gundala Viswanath gmail.com> writes: > > Hi all, > > I've tried to plot a vector which has two peaks in the density. > This link shows the figure. > > http://docs.google.com/View?docid=dcvdrfrh_1dk9r2rc7 > > The red line is normal curve and green line is gamma curve. > Notice that red line ca

[R] Plotting Bi-Gamma Distribution

2008-07-01 Thread Gundala Viswanath
Hi all, I've tried to plot a vector which has two peaks in the density. This link shows the figure. http://docs.google.com/View?docid=dcvdrfrh_1dk9r2rc7 The red line is normal curve and green line is gamma curve. Notice that red line can correctly fit the histogram that has two peaks (i.e. red c