[R] [FORGED] Mixed Beta Disrubutions
mesudebayrakci at gmail.com
Tue Dec 29 00:30:32 CET 2015
Thank you for your response. I saw already that example and some others too. However, they defined alpha and beta in the examples or use two different dataset.
I did not know alpha and beta values and have only one data set. I could calculate alpha and beta by using variance and means for the data has one peaks.
How can I calculate alpha and beta for two peak distributions?
> On Dec 28, 2015, at 6:21 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
>> On 29/12/15 08:40, mesude bayrakci wrote:
>> I have data; one column and 310 rows. When I plot the histogram, it has two
>> peaks; please see the attachment. I would like to find appropriate
>> distribution that fits the data. I tried to mixtools in R, but it did not
>> fit well.
>> I want to mix two beta distribution. I found that there is betareg package
>> in R but the shape1,shape2 were known or there were two different data in
>> the all examples.
>> I do not know where to start. How can I use betamix in R to fit the data?
>> Any hint?
>> I really appreciate.
>> Thank you
> Searching on "beta mixture model in r" leads to a number of hits, the most relevant one (it seems to me) being:
> r - Mixture of beta distributions: full example - Cross Validated
> which leads to
> A fully worked example is provided.
> Rolf Turner
> Technical Editor ANZJS
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
More information about the R-help