Skip to content
Prev 31203 / 398506 Next

AW: [R] numericDeriv and ecdf

On Fri, 25 Apr 2003, Khamenia, Valery wrote:

            
The output of ecdf() is a step function, so mathematically its derivative
is zero except where it is undefined.

Everywhere except the jumps numericDeriv() gives the right answer
Exactly at the jumps the derivative is undefined, so it isn't surprising
that numericDeriv gives the wrong answer.

What result did you want?

	-thomas