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 150 > 101 200 > 102 300 > 103 180 > ..... > > My question: > > how can I calculate the p-value in R for each employee? the > distribution of the weigth will be established from the above 1000 samples. > -- > View this message in context: > http://r.789695.n4.nabble.com/p-VALUE-calculation-tp2299497p2299497.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ ______________________________________________ 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.