Description Usage Arguments Value Examples

View source: R/internalValidation.R

Computes the mean Chi-squared distance between sample design weights and estimated new weights.

*
θ Chi_i = ∑_j^m \frac{≤ft(w_j \times d_j\right)^2 }{2d_j} \div m
*

1 | ```
getMChi(design_weights, simulated_weights, population_size)
``` |

`design_weights` |
weights of the survey |

`simulated_weights` |
simulated weights |

mean chi-squared distance

1 2 |

emunozh/testmsim documentation built on May 13, 2017, 6:06 p.m.

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.