Compute an estimate of a population unit variance from a complex sample with survey weights.

1 | ```
wtdvar(x,w)
``` |

`x` |
data vector |

`w` |
vector of survey weights; must be same length as |

`wtdvar`

is also used by `BW3stagePPSe`

in estimating relvariance components.

numeric estimate of population unit variance

Richard Valliant, Jill A. Dever, Frauke Kreuter

Valliant, R., Dever, J., Kreuter, F. (2013, chap. 9). *Practical Tools for Designing and Weighting Survey Samples*. Springer.

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.