Re: [R] Problem to compute a function with very large numbers

2010-08-20 Thread Nan Zhao
gt; log(w)))^(i - 1) * (1 - w * (1 - log(w)))^(n - i). This is a beta kernel, so > it would seem that you need to have 0 < w * (1 - log(w)) < 1 => log(w) < > w < 1 + log(w) for the kernel to be positive-valued. If you look at the > first few values of the output of Wi(10

[R] Problem to compute a function with very large numbers

2010-08-20 Thread Nan Zhao
Dear R users, I have been trying to compute the following function and need it to work with n=15000, but it would only compute for smaller ns, such as n=1000 and not above. I was wondering if anyone would have a solution for this problem! Thank you very much for your kind support! Sincerely, Nan