Homework? We don't do homework here. If not, search (e.g. via google -- "R hierarchical Bayes" -- or some such).
-- Bert On Mon, Feb 25, 2013 at 1:39 AM, Ali A. Bromideh <a.bromi...@ikco.com> wrote: > Dear Sir/Madam, > > > > I apologize for any cross-posting. I got a simple question, which I thought > the R list may help me to find an answer. Suppose we have Y_1, Y_2, ., Y_n ~ > Poisson (Lambda_i) and Lambda_i ~Gamma(alpha_i, beta_i). Empirical Bayes > Estimator for hyper-parameters of the gamma distr, i.e. (alpha_t, beta_t) > are needed. > > > > y=c(12,5,17,14) > > n=4 > > > > What about a Hierarchal B ayes estimators? > > > > > > Any relevant work and codes in R (or S+) is highly appreciated. > > > > Kind regards, > > Ali > > > > > [[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. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm ______________________________________________ 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.