Re: [R] p-value calculation on a joint distribution

2009-11-16 Thread Greg Snow
Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Leon Yee > Sent: Tuesday, November 10, 2009 11:23 PM > To: R help > S

[R] p-value calculation on a joint distribution

2009-11-10 Thread Leon Yee
Dear R users, For a uni-variable distribution represented in a numerical vector, we can obtain a distribution function using 'ecdf', and then calculate corresponding p-values. But if I have a 2-column dataframe representing a bi-variable joint distribution, given a pair of values, how can