nonprobsvy version 0.1.1
·
200 commits
to main
since this release
Version of the package submitted to CRAN
nonprobsvy 0.1.1
Bugfixes
- bug Fix occuring when estimation was based on auxiliary variable, which led to compression of the data from the frame to the vector.
- bug Fix related to not passing
maxit
argument fromcontrolSel
function to internally usednleqslv
function - bug Fix related to storing
vector
inmodel_frame
when predictingy_hat
in mass imputationglm
model when X is based in one auxiliary variable only - fix provided converting it todata.frame
object.
Features
- add information to
summary
about quality of estimation basing on difference between estimated and known total values of auxiliary variables - add estimation of exact standard error for k-nearest neighbor estimator.
- add breaking change to
controlOut
function by switching values forpredictive_match
argument. From now on, thepredictive_match = 1
means$\hat{y}-\hat{y}$ in predictive mean matching imputation andpredictive_match = 2
corresponds to$\hat{y}-y$ matching. - implement
div
option when variable selection (more in documentation) for doubly robust estimation. - add more insights to
nonprob
output such as gradient, hessian and jacobian derived from IPW estimation formle
andgee
methods whenIPW
orDR
model executed. - add estimated inclusion probabilities and its derivatives for probability and non-probability samples to
nonprob
output whenIPW
orDR
model executed. - add
model_frame
matrix data from probability sample used for mass imputation tononprob
whenMI
orDR
model executed.
Unit tests
- added unit tests for variable selection models and mi estimation with vector of population totals available