# Evaluating a SmoothKernelDistribution at a point

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}]

-
You mean PDF[DD, 2.35]? –  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

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

1. - CDF[DD, 2.35]


0.382878

This is the same as

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


0.382878

-

Just for variety also:

SurvivalFunction[DD, 2.35]


yields...

0.382878

-