Numeric differentiation of PDF

34 Views Asked by At

I am new to numeric differentiation. How might I go about approximating the value of a derivative $\partial y/\partial x$ at a particular $x$?

$y = \log(f_X(x))$

$f_X$ is a probability density function defined over $(-\infty, \infty)$