[R] Fitdistrplus and Parameter Constraints
lorenzo.isella at gmail.com
Tue May 23 18:22:00 CEST 2017
In principle it is a simple question, but not idea about how to tackle
Suppose you have a distribution depending on two parameters,
For some reasons, you want to impose
that the two parameters of the beta distribution are identical,
i.e. you want to fit your data to beta(a,a).
x<-rbeta(1000, 0.1, 0.1)
mm<-fitdist(x, "beta", method = "mge")
is how you would normally fit a sample, but I do not know how to
impose the constrain a=b before the fitting.
Any suggestion is appreciated.
More information about the R-help