| cdf.cox | R Documentation |
This function computes \insertCitecox2005;textualWData distribution estimator given a sample and the corresponding biased function.
cdf.cox(
y,
w = function(y) {
ifelse(y >= 0, y, NA)
}
)
y |
A numeric vector containing the biased sample. |
w |
A function representing the bias function applied to the data points. It must be evaluable and positive in each point of the sample |
cox2005;textualWData distribution estimator is expressed as
\widehat{F}_n(y) = \frac{\widehat{\mu}_w}{n}\sum_{i=1}^{n} \frac{1}{w(Y_i)} \mathbb{I}(Y_i \leq y),
\quad \text{where} \quad
\widehat{\mu}_w = n \left(\sum_{i=1}^{n} \frac{1}{w(Y_i)} \right)^{-1}.
A function of class ecdf, inheriting from the stepfun class, and hence inheriting a knots method.
cdf.cox(y = shrub.data$Width)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.