View source: R/d2_central_difference.R
d2_central_difference | R Documentation |
Calculates the numerical approximation of the second derivative of empirical determinacy measures expressed by Bhattacharyya coefficient (BC) for the given method
d2_central_difference(desc_vector, method, delta = 0.01)
desc_vector |
a numeric vector of the means and standard deviations for the base and weighted models with normal posterior distrubutions. This vector has the structure c( |
method |
character string, specifies the type of the distance, which can attain values "H2", "BCL", "BCS". |
delta |
numeric, numerical differentiation step, for which the weighting factor w = 1 \pm δ. Default value is 0.01 |
This function approximates the second derivative of the corresponding distance measure by second-order central difference quotient formula.
A numerical value of the numerical approximation of second derivative.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.