Thank you Peter. Rounding fixed the problem.
2017-07-28 12:15 GMT-04:00 peter dalgaard :
> Most likely, previous computations have ended up giving slightly different
> values of say 0.1. A pragmatic way out is to round to, say, 5 digits
> before applying unique. In this particular case, it s
Most likely, previous computations have ended up giving slightly different
values of say 0.1. A pragmatic way out is to round to, say, 5 digits before
applying unique. In this particular case, it seems like all numbers are
multiples of 1/30, so another idea could be to multiply by 30, round,
A mess, as you persist in using html.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Jul 28, 2017 at 8:17 AM, li li wrote:
> I have the joint d
I have the joint distribution of three discrete random variables z1, z2 and
z3 which is captured by "z"
and "prob" as described below.
For example, the probability for z1=0.46667, z2=-1 and z3=-1 is 2.752e-13.
Also, the probability adds up to 1.
> head(z) z1 z2 z3
[1,] -0.4666
4 matches
Mail list logo