[R] joint probability distribution
msuzen at gmail.com
Fri Jan 25 22:30:06 CET 2013
Not sure what is your exact requirement but you can compute marginals
and conditional probabilities using 'prob' package of Prof. Kerns.
On 25 January 2013 22:15, Rui Barradas <ruipbarradas at sapo.pt> wrote:
> You need to be much more specific. What do you know about the distributions
> of X and Y? And about their joint distribution?
> If you suspect the joint distribution to be a bivariate normal try package
> mvtnorm with
> mu <- c(mean(x), mean(y))
> sigma <- cov(cbind(x, y))
> You can also try kernel density estimates:
> Hope this helps,
> Rui Barradas
> Em 25-01-2013 18:13, eliza botto escreveu:
>> Dear R family,
>> I want to calculate the joint probability (distribution) of two random
>> continuous variables X and Y.
>> Could to please tell me how to do it?Thanks in advance..
>> [[alternative HTML version deleted]]
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help