Hi All
I have a data frame called "nbd" with two columns (x and T). Based on this
dataset I want to find the parameters of a distribution with the following
log-liklihood function and with r and alpha as its parameters:
log(gamma(nbd$x+r))-log(gamma(r))+r*log(alpha)-(r+nbd$x)*log(nbd$T+alpha)
the initial value for both parameters is 1.
I would be thankful if you could help me to solve this problem in R.
Regards,
Ali
[[alternative HTML version deleted]]