Re: [R] Joiny probability with R

2011-02-19 Thread Gabor Grothendieck
On Sat, Feb 19, 2011 at 11:30 AM, Ted Harding wrote: > On 19-Feb-11 14:48:53, David Winsemius wrote: >> On Feb 19, 2011, at 5:47 AM, danielepippo wrote: >>> Hi, >>>    I have two vector with the marginal distribution like this: a >>> [1] -0.419 -0.364 -0.159 -0.046 -0.010 -0.002  0.000  0.000

Re: [R] Joiny probability with R

2011-02-19 Thread Ted Harding
On 19-Feb-11 14:48:53, David Winsemius wrote: > On Feb 19, 2011, at 5:47 AM, danielepippo wrote: >> Hi, >>I have two vector with the marginal distribution like this: >>> a >> [1] -0.419 -0.364 -0.159 -0.046 -0.010 -0.002 0.000 0.000 0.000 >>> b >> [1] 0.125 0.260 0.270 0.187 0.097 0.041 0.01

Re: [R] Joiny probability with R

2011-02-19 Thread David Winsemius
On Feb 19, 2011, at 11:05 AM, danielepippo wrote: I'm sorry it was my mistake. The two vectors are found as: dpois(num,0.87) dpois(num,2.08) and represent the discrete density of 8 intervals (num=0:8). Is this homework? -- View this message in context: http://r.789695.n4.nabble.com/Joi

Re: [R] Joiny probability with R

2011-02-19 Thread danielepippo
I'm sorry it was my mistake. The two vectors are found as: dpois(num,0.87) dpois(num,2.08) and represent the discrete density of 8 intervals (num=0:8). -- View this message in context: http://r.789695.n4.nabble.com/Joiny-probability-with-R-tp3314059p3314301.html Sent from the R help mailing l

Re: [R] Joiny probability with R

2011-02-19 Thread David Winsemius
On Feb 19, 2011, at 5:47 AM, danielepippo wrote: Hi, I have two vector with the marginal distribution like this: a [1] -0.419 -0.364 -0.159 -0.046 -0.010 -0.002 0.000 0.000 0.000 b [1] 0.125 0.260 0.270 0.187 0.097 0.041 0.014 0.004 0.001 How can I calculate the joint distribution w

[R] Joiny probability with R

2011-02-19 Thread danielepippo
Hi, I have two vector with the marginal distribution like this: > a [1] -0.419 -0.364 -0.159 -0.046 -0.010 -0.002 0.000 0.000 0.000 > b [1] 0.125 0.260 0.270 0.187 0.097 0.041 0.014 0.004 0.001 How can I calculate the joint distribution with R? Thank you to all Dan -- View this message i