[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] p value for joint probability
From:       Peter Ehlers <ehlers () ucalgary ! ca>
Date:       2011-01-31 22:13:22
Message-ID: 4D473402.6040606 () ucalgary ! ca
[Download RAW message or body]

On 2011-01-31 12:42, moleps wrote:
> Dear all,
> 
> Given
> 
> rr<-data.frame(r1<-rnorm(1000,10,5),r2<-rnorm(1000,220,5))
> 
> 
> How can I add a column (rr$p) for the joint probability of each r1&  r2 pair?

If you take the values in each pair to be observations
from two independent Normal distributions, it's easy:
The "joint probability" of those values is zero.

But I suspect you mean something else by "joint probability".
Can you elaborate?

Peter Ehlers

> I know how to add the column.. I just dont know how to compute the p value for \
> joint probabilities given the two samples. 
> 
> //M
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic