[R] Best Way to Compute/Approximate(?) Probabilty of a Point in a Given Distribution
Gundala Viswanath
gundalav at gmail.com
Fri Sep 4 11:48:04 CEST 2009
AFAIK, R only has "pnorm" which computes the probability of getting a
value smaller or equal to "x" from
a normal distribution N[mean,stdev]. For example:
R> pnorm(0, 4, 10)
[1] 0.3446
means there is 34.46% chance of getting a value equal to or smaller
than 0 from a N(4, 10) distribution.
What I intend to get is: given the observed value "x", mean, and stdev
of normal distribution,
find the probabiltiy of "x" falls into that distribution.
Is there any reasonable way to obtain that?
- G.V.
More information about the R-help
mailing list