Description Usage Arguments Value Author(s) See Also Examples

For a single stratum approximate design variances are calculated. Not intended to be called directly.

1 | ```
DVar(popfile, nrefs, yvars, desvars, kvalue, B=1000)
``` |

`popfile` |
dataframe containing information on stratum of interest. |

`nrefs` |
scalar containing the sample size of the stratum. |

`yvars` |
character vector containing the name of each variable of interest (dependent variable) for which design variances are required. |

`desvars` |
character vector containing the names of the design variables. |

`kvalue` |
scalar specifying the value of k for the k-nn imputation. |

`B` |
number of re-samples used to calculate the design variances. |

A dataframe containing the design variances for the stratum of interest. Data used to calculate these are also returned.

G. Melville

1 | ```
## DesVar(popfile, nrefs, yvars, kvalue, desvars, B=1000)
``` |

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.