Changelog
Source:NEWS.md
fwb
(development version)
Add a new
.coef
argument tovcovFWB()
. A function can be supplied to extract a vector of coefficients from the fitted model in each bootstrap iteration if the default (stats::coef()
) doesn’t return a numeric vector (e.g., fornnet::multinom()
models). An error message is now thrown if.coef
doesn’t return a numeric vector.Fixed a bug where the names of quantities produced by
fwb()
whenstatistic
returns an unnamed vector were incorrect.
fwb
0.2.0
CRAN release: 2023-12-07
fwb()
andvcovFWB()
now take an additional argument,wtype
, which specifies how the weights are drawn. The default,"exp"
is still to draw weights from an distribution but other options, namely"multinom"
for multinomial integer weights (which reproduceboot::boot()
results exactly),"poisson"
for Poisson integer weights, and"mammen"
for second-order accurate Mammen weights as recommended by Lihua Lei here. (#4)New functions
set_fwb_wtype()
andget_fwb_wtype()
allow one to set global defaults for thewtype
argument offwb()
and vcovFWB()`.