[R] Bayesian question (problem using adapt)

Thaden, John J ThadenJohnJ at uams.edu
Sun Nov 12 14:36:22 CET 2006


Is it possible there is a typo in your attached code?  You wrote... 

loglik <- function(theta, param) {
  sum(d1*log(hazard1(x1, param)) - chazard1(x1,param) + 
  d2*log(hazard2(x2, theta, param)) - chazard2(x2, theta, param))
} / 10000


Confidentiality Notice: This e-mail message, including any a...{{dropped}}



More information about the R-help mailing list