Description Usage Arguments Value Source Examples

View source: R/internalValidation.R

Computes the 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}
*

1 | ```
getChi(design_weights, simulated_weights)
``` |

`design_weights` |
weights of the survey |

`simulated_weights` |
simulated weights |

chi-squared distance

Rahman, A. (2009). Small Area Estimation Through Spatial Microsimulation Models. In 2nd International Microsimulation Association Conference. Ottawa and Canada. http://www.natsem.canberra.edu.au/publications/?publication=small-area-estimation-through-spatial-microsimulation-models-some-methodolgical-issues

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.