sumvalpr: Sum of a geometric series
Description
Calculates the sum of the first (k+1) terms of a geometric series with initial term 1
and common ratio equal to valpr
(lower or equal to 1).Usage
sumvalpr(k,n,valpr,index1,index0)
Value
Returns the vector of the sums of the first (k+1) terms of the geometric series.References
Cornillon, P.-A.; Hengartner, N.; Jegou, N. and Matzner-Lober, E. (2012)
Iterative bias reduction: a comparative study.
Statistics and Computing. Doi: 10.1007/s11222-012-9346-4 Cornillon, P.-A.; Hengartner, N. and Matzner-Lober, E. (2013)
Recursive bias estimation for multivariate regression smoothers Recursive
bias estimation for multivariate regression smoothers.
ESAIM: Probability and Statistics. Doi: http://dx.doi.org/10.1051/ps/2013046