Dear all please ,I need to write a function in R to estimate the parameters of negative binomial distribution and then calculate the loglikelihood amount for given data.Is there any one to help me. thank you very much for any help Best regards [[alternative HTML version deleted]]
Read about glm by typing ?glm There are tons of books and pdfs out there to show you the basics. http://cran.r-project.org/other-docs.html HTH, Si. ----- Original Message ----- From: "H Z" <zamani_h55 at yahoo.com> To: <r-help at r-project.org> Sent: Friday, May 15, 2009 12:26 PM Subject: [R] need help> Dear all > please ,I need to write a function in R to estimate the parameters of > negative binomial distribution and then calculate the loglikelihood amount > for given data.Is there any one to help me. > thank you very much for any help > Best regards > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >
Dear H Z, Take a look at the examples in require(MASS) ?glm.nb This might be useful as well summary(glm.nb(yourvariable ~ 1, data = yourdata)) HTH, Jorge On Fri, May 15, 2009 at 7:26 AM, H Z <zamani_h55@yahoo.com> wrote:> Dear all > please ,I need to write a function in R to estimate the parameters of > negative binomial distribution and then calculate the loglikelihood amount > for given data.Is there any one to help me. > thank you very much for any help > Best regards > > > > > [[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. >[[alternative HTML version deleted]]
Dear all, does anybody know a package or solution which incorporated one of the three algorithms to build consensus clusters, proposed by Nguyen & Caruana: - iterative voting consensus (ivc) - iterative probabilistic voting consensus (ipvc) - iterative pairwise consensus (ipc) Thanks in advance. Best wishes Johannes