Description Usage Arguments Value
Computational workhorse function. Maximizes the value of hatmu among all Hajek ratio estimators that satisfy the following properties: - The ratio of the sampling weights gamma is bounded - The resulting weighted CDF lies "between" lower.bound and upper.bound (as a function)
1 2 | hajek.constrained(Xcdf, xvals, sampling.ratio, lower.bound = NULL,
upper.bound = NULL)
|
Xcdf |
The raw, unweighted, empirical CDF. |
xvals |
The points at which Xcdf is specified. |
sampling.ratio |
The bound on the sampling ratio. |
lower.bound |
A lower bound for the Hajek-weighted empirical CDF. |
upper.bound |
An upper bound for the Hajek-weighted empirical CDF. |
Xcdf.weighted A weighted version of Xcdf that maximizes hatmu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.