Computes linearized variable for the ratio estimator.

1 |

`Y` |
Matrix of numerator variables. Any object convertible to |

`Z` |
Matrix of denominator variables. Any object convertible to |

`weight` |
Weight variable. One dimensional object convertible to one-column |

`Dom` |
Optional variables used to define population domains. If supplied, the linearized variables are computed for each domain. An object convertible to |

`dataset` |
Optional survey data object convertible to |

`percentratio` |
Positive integer value. All linearized variables are multiplied with percentratio value, by default - 1. |

`checking` |
Optional variable if this variable is TRUE, then function checks data preparation errors, otherwise not checked. This variable by default is TRUE. |

The function returns the `data.table`

of the linearized variables for the ratio estimator.

Carl-Erik Sarndal, Bengt Swensson, Jan Wretman. Model Assisted Survey Sampling. Springer-Verlag, 1992, p.178.

`domain`

,
`vardom`

,
`vardomh`

,
`vardcros`

,
`vardchanges`

,
`vardannual`

1 2 3 4 5 6 7 |

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.