MA {OrdMonReg} | R Documentation |
Compute bounded weighted average
Description
This function computes the bounded weighted mean for any subset of indices.
Usage
MA(g, w, A = NA, a, b)
Arguments
g |
Vector in |
w |
Vector in |
A |
Subset of |
a |
Vector in |
b |
Vector in |
Details
This function computes the bounded average
MA[A] = \max\{\min\{Av[A], \min_{x \in A} b(x)\}, \max_{x \in A} a(x)\},
see Balabdaoui et al. (2009) for details.
Value
The bounded weighted average is returned.
Author(s)
Fadoua Balabdaoui fadoua@ceremade.dauphine.fr
http://www.ceremade.dauphine.fr/~fadoua
Kaspar Rufibach (maintainer) kaspar.rufibach@gmail.com
http://www.kasparrufibach.ch
Filippo Santambrogio filippo.santambrogio@math.u-psud.fr
http://www.math.u-psud.fr/~santambr/
References
Balabdaoui, F., Rufibach, K., Santambrogio, F. (2009). Least squares estimation of two ordered monotone regression curves. Preprint.
See Also
This function is used by BoundedIsoMean
.