HI, Probably ?pnorm x1<-mean(x) x1 [1] 25.5 > pnorm(25.5,mean=300) [1] 0
A.K. ----- Original Message ----- From: Mary Kindall <mary.kind...@gmail.com> To: r-help@r-project.org Cc: Sent: Sunday, July 22, 2012 3:37 PM Subject: [R] pvalue calculate I have a value a=300 observation (x) = sample(1:50) How to find a p-value from this. I need to show that "a" is different fom mean(x). Thanks -- ------------- Mary Kindall Yorktown Heights, NY USA [[alternative HTML version deleted]] ______________________________________________ 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.