Skip to content
Back to formatted view

Raw Message

Message-ID: <1342989073.73093.YahooMailNeo@web142606.mail.bf1.yahoo.com>
Date: 2012-07-22T20:31:13Z
From: arun
Subject: pvalue calculate
In-Reply-To: <CANStr56m+SMTtbHn0PPKgCUw-e4fzkDhPYkUHopdvkbBG232LQ@mail.gmail.com>

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.kindall at gmail.com>
To: r-help at 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 at 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.