View source: R/iclogcondist_functions.R
find_dir_deriv | R Documentation |
This function computes the directional derivatives for the active set algorithm used in the estimation
of the distribution function under log-concavity with interval-censored data.
The calculation takes advantage of the specific structure of the basis matrix, making it efficient to compute in O(n)
time complexity.
find_dir_deriv(diff_tau, first_order)
diff_tau |
A numeric vector containing the differences between consecutive time points (tau). |
first_order |
A numeric vector representing the first-order derivatives at each time point. |
A numeric vector of length length(diff_tau) + 1
representing the directional derivatives for the active set algorithm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.