Many Thanks David. 2012/1/22 David Winsemius [via R] <ml-node+s789695n4318880...@n4.nabble.com>
> > On Jan 22, 2012, at 1:25 PM, Eliano wrote: > > > People, > > > > I'm researching some Bayesian statistic topics and in the midle of > > my study > > i found a very simple problem and i'm trying to find a simple > > package to > > solve this type of equations: > > > > Lets say that i need to compute beta values for the beta > > distribution and i > > now for example: > > > > E(teta)=a/(a+b) = 0,5 > > Var(teta)=ab/((a+b)^2(a+b+1))=0.05 > > > > So if i want to solve this to non-linear system to find a,b for the > > beta > > distribution wich pack should i use? > > > > I know that a=2 and b=2 because i calculated it. > > It depends on you meaning for the word "solve". If you want symbolic > math, then the Ryacas package provides that facilities. If you want > numerical estimation, then you should provide the data in your posting > AND study the help pages for `nls` AND do searches in the Task Views > AND the rhelp Archives for the wealth of worked examples available . > > -- > > David Winsemius, MD > West Hartford, CT > > ______________________________________________ > [hidden email] <http://user/SendEmail.jtp?type=node&node=4318880&i=0>mailing > list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://r.789695.n4.nabble.com/Solving-Equations-tp4318784p4318880.html > To unsubscribe from Solving Equations, click > here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4318784&code=ZWxpYW5vLm0ubWFycXVlc0BnbWFpbC5jb218NDMxODc4NHwtMTk0ODk5MDYy> > . > NAML<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://r.789695.n4.nabble.com/Solving-Equations-tp4318784p4318916.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.