I am trying to write a function that will solve a simple system of 
nonlinear equations for the parameters that describe the beta 
distribution (a,b) given the mean and variance.


mean = a/(a+b)
variance = (a*b)/(((a+b)^2) * (a+b+1))

Any help as to where to start would be welcome.



-- 
Scott Story
Graduate Student
MSU Ecology Department
319 Lewis Hall
Bozeman, Mt 59717
406.994.2670
[EMAIL PROTECTED]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to