[R] R programming question

Oleg Portnoy oleg.portnoy75 at gmail.com
Thu Sep 3 15:34:40 CEST 2015


I have two vectors of probability distribution of the same length n for
random variable X and Y. I want to built matrix of two-dimension
distribution for X and Y with assumption of independence.
P(X=i,Y=j)=P(X=i)*P(Y=j)
I want to do this very fast for n=120 and big amount of different
distribution of X and Y.
Thanks.

	[[alternative HTML version deleted]]



More information about the R-help mailing list