Thanks Berwin, Spencer, and Gabor!!!
Berwin A Turlach wrote:
>
> G'day all,
>
> On Sat, 09 May 2009 08:01:40 -0700
> spencerg wrote:
>
>> The harmonic mean is exp(mean(logs)). Therefore, log(harmonic
>> mean) = mean(logs).
>>
>> Does this make sense?
>
> I think you are talk
gt; logarithms?
>
> I would guess it is quite rare for people to compute likelihoods.
> Instead I think most people use log(likelihoods). Most of the
> probability functions in R have an option of returning the logarithms.
>
> Hope this helps.
> Spencer
>
>
I need to perform some calculations with some extremely small numbers (i.e.
likelihood values on the order of 1.0E-16,000). Even when using the
double() function, R is rounding these values to zero. Is there any way to
get R to deal with such small numbers?
For example, I would like to be able
3 matches
Mail list logo