just seeing this. when you say y1 and y2, are you asking about 2 differnt models in an effort to model select? i need more info, i might be able to help. please supply a bit more info.
~n On Feb 25, 2013, at 4:39 AM, Ali A. Bromideh 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. ______________________________________________ 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.