mscale_derivative | R Documentation |
Compute the derivative (gradient) or the Hessian of the M-scale function
evaluated at the point x
.
Compute the maximum derivative of the M-scale function with respect to each element over a grid of values.
Compute the maximum element in the gradient and Hessian of the M-scale function with respect to each element over a grid of values.
mscale_derivative(
x,
bdp = 0.25,
order = 1,
cc = consistency_const(bdp, "bisquare"),
opts = mscale_algorithm_options()
)
max_mscale_derivative(
x,
grid,
n_change,
bdp = 0.25,
cc = consistency_const(bdp, "bisquare"),
opts = mscale_algorithm_options()
)
max_mscale_grad_hess(
x,
grid,
n_change,
bdp = 0.25,
cc = consistency_const(bdp, "bisquare"),
opts = mscale_algorithm_options()
)
x |
numeric values. Missing values are verbosely ignored. |
bdp |
desired breakdown point (between 0 and 0.5). |
order |
compute the gradient ( |
cc |
cutoff value for the bisquare rho function. By default, chosen to yield a consistent estimate for the Normal distribution. |
opts |
a list of options for the M-scale estimation algorithm,
see |
grid |
a grid of values to replace the first 1 - |
n_change |
the number of elements in |
a vector of derivatives of the M-scale function, one per element in x
.
a vector with 4 elements:
the maximum absolute value of the gradient,
the maximum absolute value of the Hessian elements,
the M-scale associated with 1., and
the M-scale associated with 2.
the maximum absolute derivative over the entire grid.
max_mscale_derivative()
: maximum of the gradient
max_mscale_grad_hess()
: maximum of the gradient and hessian
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.