This function performs a method of trimming sampling weights based on the evenly redistribution of the net ammount of weight loss among units whose weights were not trimmed. This way, the sum of the timmed sampling weights remains the same as the original weights.
E.Trim(dk, L, U)
Vector of original sampling weights.
Lower bound for weights.
Upper bound for weights.
The function returns a vector of trimmed sampling weigths.
This function returns a vector of trimmed weights.
Hugo Andres Gutierrez Rojas <hagutierrezro at gmail.com> with contributions from Javier Nunez <javier_nunez at inec.gob.ec>
Valliant, R. et. al. (2013), Practical Tools for Designing and
Weigthing Survey Samples. Springer.
Gutierrez, H. A. (2009), Estrategias de muestreo: Diseno de encuestas y estimacion de parametros. Editorial Universidad Santo Tomas.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.