Returns the numerical partial derivate of y with respect to [wrt] any regressor for a point of interest. Finite difference method is used with NNS.reg estimates as f(x+h) and f(x-h) values.

1 2 3 |

`B` |
Complete dataset of regressors in matrix form. |

`y` |
Dependent Variable |

`wrt` |
Selects the regressor to differentiate with respect to. |

`eval.points` |
Regressor points to be evaluated. Set to |

`order` |
NNS.reg order, defaults to 1 for multivariate regressions. If error, make sure |

`s.t.n` |
Signal to noise parameter, sets the threshold of |

`h` |
Percentage step used for finite step method. Defaults to |

`n.best` |
Sets the number of closest regression points to use in kernel weighting. Defaults to 2. |

`mixed` |
If mixed derivative is to be evaluated, set |

`plot` |
Set to |

`precision` |
Sets the number of regression points for estimates. Set to |

`norm` |
Normalizes regressors between 0 and 1 for multivariate regression when set to |

`noise.reduction` |
In low signal:noise situations, |

Returns the 1st derivative `"First Derivative"`

, 2nd derivative `"Second Derivative"`

, and mixed derivative `"Mixed Derivative"`

(for two independent variables only).

Fred Viole, OVVO Financial Systems

Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" http://amzn.com/1490523995

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.