Message Boards Message Boards

0
|
6973 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Solve for parameters of a Kumaraswamy Distribution

Posted 9 years ago
POSTED BY: Bruce Colletti
4 Replies

Probably not. The mean and variance are nonlinear functions of a and b.

POSTED BY: Frank Kampas

Dear Bruce,

I also believe that this might not possible with Solve/NSolve. As you say FindRoot does appear to work.

pdf = KumaraswamyDistribution[a, b];
FindRoot[{Mean@pdf == N[16/35], Variance@pdf == N[201/4900]}, {{a, 1}, {b, 1}}]

It gives

{a -> 2., b -> 3.}

If you substitute that, you see that the result is correct (within the numerical precision). It does appear thought that you need to give the initial estimates. Without them it does not work. As Frank says, Solve and NSolve are not really made for this, I assume.

Cheers,

Marco

POSTED BY: Marco Thiel
Posted 9 years ago

Frank and Marco

Thanks for the replies.

I wonder if there's more to this than simply the nonlinearity of the mean and variance with respect to the parameters. This is because Solve easily finds the parms of a beta distribution (but then I think the beta yields a polynomial system).

So it's probably the gamma function (in the solution of the Kumaraswarmy example) that's the real culprit and that forces the use of FindRoot.

Bruce

POSTED BY: Bruce Colletti
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract