Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to evaluate the value of the following SmoothKernelDistribution at the location, say, 2.35. What is the right way to do it?

data1 = {1, 2, 3};
DD = SmoothKernelDistribution[data1, 0.5];
Plot[PDF[DD, x], {x, -2, 10}]
share|improve this question
You mean PDF[DD, 2.35]? – Dr. belisarius Nov 3 '13 at 6:16
pretty much yes. actually to measure the area under the curve where the values are above 2.35 – Doron Nov 3 '13 at 6:21
up vote 3 down vote accepted

To "measure the area under the curve where the values are above 2.35", evalute

1. - CDF[DD, 2.35]


This is the same as

NIntegrate[PDF[DD, x], {x, 2.35, ∞}]


share|improve this answer

Just for variety also:

SurvivalFunction[DD, 2.35]



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.