NEWS


robsurvey 0.6 (2024-01-14)

This release of the package fixes a number of issues that were brought to our attention by an anonymous reviewer. It also fixes some other problems.

BUG FIX

Function huber2() erroneously returned NA if the initial scale estimate was less than DBL_EPSILON (i.e., zero in floating-point arithmetics) although not zero in real arithmetics. After removing the unnecessary scale < DBL_EPSILON check, the function behaves as expected.

CHANGES

MISC

robsurvey 0.5-2 (2023-01-06)

BUG FIX

Fixed a bug in the C function wquant0. For the special case of samples of size 2, the weighted quantile (other than the median) was wrong if the data were sorted in descending order. (Thanks to Ryota Suzuki, who detected the bug, Issue #1).

robsurvey 0.5-1

CHANGE

The summary() method for objects of class formula has been replaced by svysummary() because it did not handle non-standard cases correctly (Thanks to the editorial office of the Journal of Statistical Software for pointing this out).

MISC

robsurvey 0.5 (2022-10-07)

CHANGES

robsurvey 0.4 (2022-09-08)

NEW FEATURES

CHANGES

BUG FIX

robsurvey 0.3 (2022-06-10)

NEW FEATURES

CHANGES

BUG FIX

For designs with unequal probability sampling, the variance estimates of the robust estimators of mean and total are now identical with the estimates of survey::svymean() and survey::svytotal() if the tuning constant is k = Inf or LB = 0 and UB = 1.

MISC

Added DOI to all references (where available).

robsurvey 0.2 (2022-01-17)

NEW FEATURES

BUG FIX

The original C implementation of wquantile was buggy (with implications for the R function weighted_quantile() and also the iterative re-weighted least squares algorithm). The new C implementation of wquantile is sound.

CHANGE

Argument type = "rwm" of weighted_mean_huber() is not used anymore (deprecated); instead, the type is now called "rhj".

CHANGE of LICENSE and MAINTAINER