Calculating the first derivative of the pendensity likelihood function w.r.t. parameter beta
Useful links