[R] multidimensional integration in R?

2010-04-15 Thread Muhtar Osman
Hello, I was wondering if there is a R function can be used for multidimensional integration. There used to be a package called adapt, but it seems not available anymore. Thanks, -MJO __ R-help@r-project.org mailing list

[R] time grid for survfit Survival function outputs

2009-10-13 Thread Muhtar Osman
Dear All, Maybe it is a silly question. But I wasn't able to find it from manual or R site search. I was wondering what is the corresponding time axis for survival function outputs in survfit. I think it is survfit(...)$time, but not 100% sure. If it is, is it possible we could make survival

[R] 2 questions about mle() /optim() function in stats4

2009-10-07 Thread Muhtar Osman
Dear All, There are two things about mle() that I wasn't so sure. 1) can mle() handle vector based parameter? say ll-function(theta=rep(1,20)){..} I tried such function, it worked for optim but not for mle. 2) is there a general suggestion for the maximum number of parameters

Re: [R] multivariate integral with ADAPT when the parameter is close to boundary

2008-10-19 Thread Muhtar Osman
, 0.005, 0.005) - pbeta(0.0001, 0.005, 0.005) so 95% of the mass is outside the limits you set. On Sun, 19 Oct 2008, Muhtar Osman wrote: Dear All, There is one problem I encountered when I used ADAPT to compute some 2-D integral w.r.t beta density. For example, when I try to run

[R] multivariate integral with ADAPT when the parameter is close to boundary

2008-10-18 Thread Muhtar Osman
problem before. Any comments are appreciated. Thanks. Muhtar Osman Dept.of Stats NCSU __ 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