[R] p-VALUE calculation

2010-07-22 Thread jd6688
Here is my dataframe with 1000 rows: employee_id weigth p-value 100 150 101 200 102 300 103 180 . My question: how can I calculate the p-value in R for each employee? the

Re: [R] p-VALUE calculation

2010-07-22 Thread Hadley Wickham
What is your null hypothesis? What is your alternate hypothesis? What is the test statistic? Why do you want a p-value? Hadley On Thu, Jul 22, 2010 at 5:40 PM, jd6688 jdsignat...@gmail.com wrote: Here is my dataframe with 1000 rows: employee_id         weigth       p-value 100            

Re: [R] p-VALUE calculation

2010-07-22 Thread Bill.Venables
103180 0.6722391 (You might want to think about the spelling of 'weigth' a bit more.) -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of jd6688 Sent: Friday, 23 July 2010 8:41 AM To: r-help@r-project.org Subject: [R] p-VALUE

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

2009-11-16 Thread Greg Snow
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 Subject: [R] p-value calculation on a joint distribution

[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