Changelog
Source:NEWS.md
mice 3.16.16
- Prevent
as.mids()
from filling theimp
object for complete variables
mice 3.16.15
- Initialize single-variables blocks in
make.method()
in a more efficient way (resolves #672)
mice 3.16.13
- Adds support for the
literanger
package forrf
imputation that is about twice as fast asranger
(#648). Thanks @stephematician for the contribution.
mice 3.16.12
- Fixes an installation problem when
Rprofile
prints tostdout
on Fedora, R version 4.1.3 (#646, #647). Thanks @brookslogan for the fix.
mice 3.16.10
- Adds support for non-syntactic variables names with backticks (#631)
mice 3.16.9
- Fixes a problem with the
minpuc
argument inquickpred()
(#634) - Fixes
coef() not available on S4 object
when using withlavaan
(#615, #616) - Adds
.github/dependabot.yml
configuration to automate daily check (#598) - Update documentation tags to
roxygen2 7.3.1
requirements
mice 3.16.8
- Fixes problems with zero predictors (#588)
mice 3.16.6
Minor changes
- Prepares for the deprecation of the
blocks
argument at various places - Removes the need for
blocks
ininitialize_chain()
- In
rbind()
, when formulas are concatenated and duplicate names are found, also rename the duplicated variables in formulas by their new name
Bug fixes
- Fixes a bug in
filter.mids()
that incorrectly removed empty components in theimp
object - Fixes a bug in
ibind()
that incorrectly usedlength(blocks)
as the first dimension of thechainMean
andchainVar
objects - Corrects the description
visitSequence
,chainMean
andchainVar
components of themids
object
mice 3.16.5
Bug fixes
- Patches a bug in
complete()
that auto-repeated imputed values into cells that should NOT be imputed (occurred as a special case ofrbind()
, where the first set of rows was imputed and the second was not). - Replaces the internal variable
type
by the more informativepred
(currently active row ofpredictorMatrix
)
mice 3.16.4
Major changes
Imputing categorical data by predictive mean matching. Predictive mean matching (PMM) is the default method of
mice()
for imputing numerical variables, but it has long been possible to impute factors. This enhancement introduces better support to work with categorical variables in PMM. The former system translated factors into integers byynum <- as.integer(f)
. However, the order of integers inynum
may have no sensible interpretation for an unordered factor. The new system quantifiesynum
and could yield better results because of higher . The method calculates the canonical correlation betweeny
(as dummy matrix) and a linear combination of imputation model predictorsx
. The algorithm then replaces each category ofy
by a single number taken from the first canonical variate. After this step, the imputation model is fitted, and the predicted values from that model are extracted to function as the similarity measure for the matching step.The method works for both ordered and unordered factors. No special precautions are taken to ensure monotonicity between the category numbers and the quantifications, so the method should be able to preserve quadratic and other non-monotone relations of the predicted metric. It may be beneficial to remove very sparsely filled categories, for which there is a new
trim
argument. All you have to use the new technique is specify tomice(..., method = "pmm", ...)
. Both numerical and categorical variables will then be imputed by PMM.-
Potential advantages are:
- Simpler and faster than fitting a generalised linear model, e.g., logistic regression or the proportional odds model;
- Should be insensitive to the order of categories;
- No need to solve problems with perfect prediction;
- Should inherit the good statistical properties of predictive mean matching.
Note that we still lack solid evidence for these claims. (#576). Contributed @stefvanbuuren
mice 3.16.3
Major changes
-
New system-independent method for pooling: This version introduces a new function
pool.table()
that takes a tidy table of parameter estimates stemming fromm
repeated analyses. The input data must consist of three columns (parameter name, estimate, standard error) and a specification of the degrees of freedom of the model fitted to the complete data. Thepool.table()
function outputs 14 pooled statistics in a tidy form. The primary use ofpool.table()
is to support parameter pooling for techiques that have notidy()
orglance()
methods, either withinR
or outsideR
. Thepool.table()
function also allows for a novel workflows that 1) break apart the traditionalpool()
function into a data-wrangling part and a parameters-reducing part, and 2) does not necessarily depend on classed R objects. (#574). Contributed @stefvanbuuren
Bug fixes
- Fixes the “large logo” problem. (#574). Contributed @hanneoberman
mice 3.16.2
Major changes
-
Breaking change: The
complete(..., action = "long", ...)
command puts the columns named".imp"
and".id"
in the last two positions of the long data (instead of first two positions). In this way, the columns of the imputed data will have the same positions as in the original data, which is more user-friendly and easier to work with. Note that any existing code that assumes that variables".imp"
and".id"
are in columns 1 and 2 will need to be modified. The advice is to modify the code using the variable names".imp"
and".id"
. If you want the old behaviour, specify the argumentorder = "first"
. (#569). Contributed @stefvanbuuren
mice 3.16.1
Minor changes
- Adds support for the
dots
argument toranger::ranger(...)
inmice.impute.rf()
(#563). Contributed @edbonneville
mice 3.16.0
CRAN release: 2023-06-05
Major changes
Expands
futuremice()
functionality by allowing for external packages and user-written functions (#550). Contributed @thomvolkerAdds GH issue templates
bug_report
,feature_request
andhelp_wanted
(#560). Contributed @hanneoberman
Minor changes
- Removes documentation files for
rbind.mids()
andcbind.mids()
to conform to CRAN policy - Adds
mitml
andglmnet
to imports so that test code conforms to_R_CHECK_DEPENDS_ONLY=true
flag inR CMD check
- Initializes random number generator in
futuremice()
if there is no.Random.seed
yet. - Updates GitHub actions for package checking and site building
- Preserves user settings in
predictorMatrix
for case F by adding apredictorMatrix
argument tomake.predictorMatrix()
- Polishes
mice.impute.mpmm()
example code
Bug fixes
- Adds proper support for factors to
mice.impute.2lonly.pmm()
(#555) - Solves function naming problems for S3 generic functions
tidy()
,update()
,format()
andsum()
- Out-comments and weeds example&test code to silence
R CMD check
with_R_CHECK_DEPENDS_ONLY=true
- Fixes small bug in
futuremice()
that throws an error when the number of cores is not specified, but the number of available cores is greater than the number of imputations. - Solves a bug in
mice.impute.mpmm()
that changed the column order of the data
mice 3.15.0
CRAN release: 2022-11-19
Major changes
Adds a function
futuremice()
with support for parallel imputation using thefuture
package (#504). Contributed @thomvolker, @gerkovinkAdds multivariate predictive mean matching
mice.impute.mpmm()
. (#460). Contributed @Mingyang-CaiAdds
convergence()
for convergence evaluation (#484). Contributed @hanneobermanReverts the internal seed behaviour back to
mice 3.13.10
(#515). #432 introduced new local seed in response to #426. However, various issues arose with this facility (#459, #492, #502, #505). This version restores the old behaviour using global.Random.seed
. Contributed @gerkovinkAdds a
custom.t
argument topool()
that allows the advanced user to specify a custom rule for calculating the total variance . Contributed @gerkovinkAdds new argument
exclude
tomice.impute.pmm()
that excludes a user-specified vector of values from matching. Excluded values will not appear in the imputations. Since the observed values are not imputed, the user-specified values are still being used to fit the imputation model (#392, #519). Contributed @gerkovink
Minor changes
- Styles all
.R
and.Rmd
files - Makes post-processing assignment consistent with lines 85/86 in
sampler.R
(#511) - Edit test broken on R<4 (#501). Contributed @MichaelChirico
- Adds support for models reporting contrasts rather than terms (#498). Contributed @LukasWallrich
- Applies edits to autocorrelation function (#491). Contributed @hanneoberman
- Changes p-value calculation to more robust alternative (#494). Contributed @AndrewLawrence
- Uses
inherits()
to check on class membership - Adds decprecation notices to
parlmice()
- Adapt
prop
,patterns
andweights
matrices for pattern with only 1’s - Adds warning when patterns cannot be generated (#449, #317, #451)
- Adds warning on the order of model terms in
D1()
andD2()
(#420) - Adds example code to fit model on train data and apply to test data to
mice()
- Adds example code on synthetic data generation and analysis in
make.where()
- Adds testfile
test-mice.impute.rf.R
(#448)
Bug fixes
- Replaces
.Random.seed
reads from the.GlobalEnv
byget(".Random.seed", envir = globalenv(), mode = "integer", inherits = FALSE)
- Repairs capitalisation problems with
lastSeedValue
variable name - Solves
x$lastSeedValue
problem incbind.mids()
(#502) - Fixes problems with
ampute()
- Preserves stochastic nature of
mice()
by smarter random seed initialisation (#459) - Repairs a
drop = FALSE
buglet inmice.impute.rf()
(#447, #448) - @str-amg reported that the new dependency on
withr
package should have version 2.4.0 (published in January 2021) or higher. Versionswithr 2.3.0
and before may giveError: object 'local_seed' is not exported by 'namespace:withr'
. Either update manually, or install the patched versionmice 3.14.1
from GitHub. (#445). NOTE:withr
is no longer needed inmice 3.15.0
mice 3.14.0
CRAN release: 2021-11-24
Major changes
-
Adds four new univariate functions using the lasso for automatic variable selection. Contributed by @EdoardoCostantini (#438).
-
mice.impute.lasso.norm()
for lasso linear regression -
mice.impute.lasso.logreg()
for lasso logistic regression -
mice.impute.lasso.select.norm()
for lasso selector + linear regression -
mice.impute.lasso.select.logreg()
for lasso selector + logistic regression
-
Adds Jamshidian && Jalal’s non-parametric MCAR test,
mice::MCAR()
and associated plot method. Contributed by @cjvanlissa (#423).Adds two new functions
pool.syn()
andpool.scalar.syn()
that specialise pooling estimates from synthetic data. The"reiter2003"
pooling rule assumes that synthetic data were created from complete data. Thanks Thom Volker (#436).By default,
mice.impute.rf()
now uses the fasterranger
package as back-end instead ofrandomForest
package. If you want the old behaviour specify therfPackage = "randomForest"
argument to themice(...)
call. Contributed @prockenschaub (#431).
Minor changes
- Avoids changing the global
.Random.seed
(#426, #432) by implementingwithr::local_preserve_seed()
andwithr::local_seed()
. This change provides stabler behavior in complex scripts. The change does not appear to break reproducibility whenmice()
was run with a seed. Nevertheless, if you run into a reproducibility problem, installmice 3.13.12
or before. - Improves the imputation of parabolic data in
mice.impute.quadratic()
, adds a parameterquad.outcome
containing the name of the outcome variable in the complete-data model. Contributed @Mingyang-Cai, @gerkovink (#408) - Generalises
pool()
so that it processes the parameters from allgamlss
sub-models. Thanks Marcio Augusto Diniz (#406, #405) - Uses the robust standard error estimate for pooling when
pool()
can extractrobust.se
from the object returned bybroom::tidy()
(#310) - Replaces URL to jstatsoft with DOI
- Update reference to literature (#442)
- Informs the user that
pool()
cannot take amids
object (#433) - Updates documentation for post-processing functionality (#387)
- Adds Rcpp necessities
- Solves a problem with “last resort” initialisation of factors (#410)
- Documents the “flat-line behaviour” of
mice.impute.2l.lmer()
to indicate a problem in fitting the imputation model (#385) - Add reprex to test (#326)
- Documents that multivariate imputation methods do not support the
post
parameter (#326)
Bug fixes
- Contains an emergency solution as
install.on.demand()
broke the standard CRAN workflow. mice 3.14.0 does not callinstall.on.demand()
anymore for recommended packages. Also,install.on.demand()
will not run anymore in non-interactive mode. - Repairs an error in the
mice:::barnard.rubin()
function for infinitedfcom
. Thanks @huftis (#441). - Solves problem with
Xi <- as.matrix(...)
inmice.impute.2l.lmer()
that occurred when a cluster contains only one observation (#384) - Edits the
predictorMatrix
to a monotone pattern ifvisitSequence = "monotone"
andmaxit = 1
(#316) - Solves a problem with the plot produced by
md.pattern()
(#318, #323) - Fixes the intercept in
make.formulas()
(#305, #324) - Fixes seed when using
newdata
inmice.mids()
(#313, #325) - Solves a problem with row names of the
where
element created inrbind()
(#319) - Solves a bug in mnar imputation routine. Contributed by Margarita Moreno Betancur.
mice 3.13.0
CRAN release: 2021-01-27
Major changes
- Updated
mids2spss()
replaces theforeign
byhaven
package. Contributed Gerko Vink (#291)
Minor changes
- Repairs an error in
tests\testhat\test-D1.R
that failed onmitml 0.4-0
- Reverts
with.mids()
function to old version because the change in commit 4634094 broke downstream packagemetafor
(#292) - Solves a glitch in
mice.impute.rf()
in finding candidate donors (#288, #289)
mice 3.12.0
CRAN release: 2020-11-14
Major changes
Much faster predictive mean matching. The new
matchindex
C function makes predictive mean matching 50 to 600 times faster. The speed ofpmm
is now on par with normal imputation (mice.impute.norm()
) and with themiceFast
package, without compromising on the statistical quality of the imputations. Thanks to Polkas https://github.com/Polkas/miceFast/issues/10 and suggestions by Alexander Robitzsch. See #236 for more details.New
ignore
argument tomice()
. This argument is a logical vector ofnrow(data)
elements indicating which rows are ignored when creating the imputation model. We may use theignore
argument to split the data into a training set (on which the imputation model is built) and a test set (that does not influence the imputation model estimates). The argument is based on the suggestion in https://github.com/amices/mice/issues/32#issuecomment-355600365. See #32 for more background and techniques. Crafted by Patrick RockenschaubNew
filter()
function formids
objects. Newfilter()
method that subsets amids
object (multiply-imputed data set). The method accepts a logical vector of lengthnrow(data)
, or an expression to construct such a vector from the incomplete data. (#269). Crafted by Patrick Rockenschaub.Breaking change: The
matcher
algorithm inpmm
has changed tomatchindex
for speed improvements. If you want the old behavior, specifymice(..., use.matcher = TRUE)
.
Minor changes
- Corrected installation problem related to
cpp11
package (#286) - Simplifies
with.mids()
by callingeval_tidy()
on a quosure. Does not yet solve #265. - Improve documentation for
pool()
andpool.scalar()
(#142, #106, #190 and others) - Makes
tidy.mipo
more flexible (#276) - Solves a problem if
nelsonaalen()
gets atibble
(#272) - Add explanation to how
NA
s can appear in the imputed data (#267) - Add warning to
quickpred()
documentation (#268) - Styles all sources files with styler
- Improves consistency in code and documentation
- Moves internally defined functions to global namespace
- Solves bug in internal
sum.scores()
- Adds deprecated messages to
lm.mids()
,glm.mids()
,pool.compare()
- Removes
.pmm.match()
andexpandcov()
- Strips out all
return()
calls placed just before end-of-function - Remove all trailing spaces
- Repairs a bug in the routine for finding the
printFlag
value (#258) - Update URL’s after transfer to organisation
amices
mice 3.11.0
CRAN release: 2020-08-05
Major changes
- The Cox model does not return
df.residual
, which caused problematic behavior in theD1()
,D2()
,D3()
,anova()
andpool()
.mice
now extracts the relevant information from other parts of the objects returned bysurvival::coxph()
, which solves long-standing issues with the integration of the Cox model (#246).
mice 3.10.0
CRAN release: 2020-07-13
Major changes
- New functions
tidy.mipo()
andglance.mipo()
return standardized output that conforms tobroom
specifications. Kindly contributed by Vincent Arel Bundock (#240).
Minor changes
- Solves a problem with the
D3
testing script that produced an error on CRAN (#244).
mice 3.9.0
CRAN release: 2020-05-14
Major changes
The
D3()
function inmice
gave incorrect results. This version solves a problem in the calculation of theD3
-statistic. See #226 and #228 for more details. The documentation explains why results frommice::D3()
andmitml::testModels()
may differ.The
pool()
function is now more forgiving when there is noglance()
function (#233)It is possible to bypass
remove.lindep()
by settingeps = 0
(#225)
Minor changes
- Adds reference to Leacy’s thesis
- Adds an example to the
plot.mids()
documentation
mice 3.8.0
CRAN release: 2020-02-21
Major changes
This version adds two new NARFCS methods for imputing data under the Missing Not at Random (MNAR) assumption. NARFCS is generalised version of the so-called -adjustment method. Margarita Moreno-Betancur and Ian White kindly contributes the functions
mice.impute.mnar.norm()
andmice.impute.mnar.logreg()
. These functions aid in performing sensitivity analysis to investigate the impact of different MNAR assumptions on the conclusion of the study. An alternative for MNAR is the oldermice.impute.ri()
function.Installation of
mice
is faster. External packages needed for imputation and analyses are now installed on demand. The number of dependencies as estimated byrsconnect::appDepencies()
decreased from 132 to 83.The name clash with the
complete()
function oftidyr
should no longer be a problem.There is now a more flexible
pool()
function that integrates better with thebroom
andbroom.mixed
packages.
Bug fixes
- Deprecates
pool.compare()
. UseD1()
instead (#220) - Removes everything in
utils::globalVariables()
- Prevents name clashes with
tidyr
by definingcomplete.mids()
as an S3 method for thetidyr::complete()
generic (#212) - Extends the
pool()
function to deal with multiple sets of parameters. Currently supported keywords are:term
(allbroom
functions),component
(somebroom.mixed
functions) andy.values
(formultinom()
model) (#219) - Adds a new
install.on.demand()
function for lighter installation - Adds
toenail2
and remove dependency onHSAUR3
- Solves problem with
ampute
in extreme cases (#216) - Solves problem with
pool
withmgcv::gam
(#218) - Adds
.gitattributes
for consistent line endings
mice 3.7.0
CRAN release: 2019-12-13
- Solves a bug that made
polr()
always fail (#206) - Aborts if one or more columns are a
data.frame
(#208) - Update
mira-class
documentation (#207) - Remove links to deprecated package
CALIBERrfimpute
- Adds check on partial missing level-2 data to
2lonly.norm
and2lonly.pmm
- Change calculation of
a2
to elementwise division by a matrix of observations - Extend documentation for
2lonly.norm
and2lonly.pmm
- Repair return value from
2lonly.pmm
- Imputation method
2lonly.mean
now also works with factors - Replace deprecated
imputationMethod
argument in examples bymethod
- More informative error message when stopped after pre-processing (#194)
- Updated URL’s in DESCRIPTION
- Fix string matching in
check.predictorMatrix()
(#191)
mice 3.6.0
CRAN release: 2019-07-10
- Copy
toenail
data from orphanedDPpackage
package - Remove
DPpackage
fromSuggests
field inDESCRIPTION
- Adds support for rotated names in
md.pattern()
(#170, #177)
mice 3.5.0
CRAN release: 2019-05-13
- This version has some error fixes
- Fixes a bug in the sampler that ignored imputed values in variables outside the active block (#175, @alexanderrobitzsch)
- Adds a note to the documenation of
as.mids
() (#173) - Removes a superfluous warning from process_mipo() (#92)
- Fixes an error in the degrees of freedom of the P-value calculation (#171)
mice 3.4.0
CRAN release: 2019-03-07
- Add a hex sticker to the mice package. Designed by Jaden M. Walters.
- Specify the R3.5.0 random generator in order to pass CRAN tests
- Remove test-fix.coef.R from tests
- Adds a rotate.names argument to md.pattern() (#154, #160)
- Fix to solve the name-matching problem (#156, #149, #147)
- Fix that removes the pre-check for existence of
mice.impute.xxx()
so thatmice::mice()
works as expected (#55) - Solves a bug that crashed
mids2spss()
, thanks Edgar Schoreit (#149) - Solves a problem in the routing logic (#149) causing that passive imputation was not done when no predictors were specified. No passive imputation correctly will ignore any the specification of
predictorMatrix
. - Implements an alternative solution for #93 and #96. Instead of skipping imputation of variables without predictors,
mice 3.3.1
will impute those variables using the intercept only - Adds a routine contributed by Simon Grund that checks for deprecated arguments #137
- Improves the
nelsonaalen()
function for data where variablestime
orstatus
have already been defined (#140), thanks matthieu-faron
mice 3.3.0
CRAN release: 2018-07-27
- Solves bug in passive imputation (#130). Warning: This bug may have caused invalid imputations in
mice 3.0.0
-mice 3.2.0
under passive imputation. - Updates code to
broom 0.5.0
(#128) - Solves problem with
mice.impute.2l.norm()
(#129) - Use explicit foreign function calls in tests
mice 3.2.0
CRAN release: 2018-07-24
- Skip tests for
mice.impute.2l.norm()
(#129) - Skip tests for
D1()
(#128) - Solve problem with
md.pattern
(#126) - Evades warning in
rbind
andcbind
(#114) - Solves
rbind
problem whenmethod
is a list (#113) - More efficient use of
parlmice
(#109) - Add
dfcom
argument topool()
(#105, #110) - Updates to
parlmice
+ bugfix (#107)
mice 3.1.0
CRAN release: 2018-06-20
- New parallel functionality:
parlmice
(#104) - Incorporate suggestion of @JoergMBeyer to
flux
(#102) - Replace duplicate code by
estimice
(#101) - Better checking for empty methods (#99)
- Remove problem with
parent.frame
(#98) - Set empty method for complete data (#93)
- Add
NEWS.md
,index.Rmd
and online package documentation - Track
.R
instead of.r
- Patch issue with
updateLog
(#8, @alexanderrobitzsch) - Extend README
- Repair issue
md.pattern
(#90) - Repair check on
m
(#89)
mice 3.0.0
CRAN release: 2018-05-25
Version 3.0 represents a major update that implements the following features:
blocks
: The main algorithm iterates over blocks. A block is simply a collection of variables. In the common MICE algorithm each block was equivalent to one variable, which - of course - is the default; Theblocks
argument allows mixing univariate imputation method multivariate imputation methods. Theblocks
feature bridges two seemingly disparate approaches, joint modeling and fully conditional specification, into one framework;where
: Thewhere
argument is a logical matrix of the same size ofdata
that specifies which cells should be imputed. This opens up some new analytic possibilities;Multivariate tests: There are new functions
D1()
,D2()
,D3()
andanova()
that perform multivariate parameter tests on the repeated analysis from on multiply-imputed data;formulas
: The oldform
argument has been redesign and is now renamed toformulas
. This provides an alternative way to specify imputation models that exploits the full power of R’s native formula’s.Better integration with the
tidyverse
framework, especially for packagesdplyr
,tibble
andbroom
;Improved numerical algorithms for low-level imputation function. Better handling of duplicate variables.
Last but not least: A brand new edition AND online version of Flexible Imputation of Missing Data. Second Edition.
mice 2.46.9
- simplify code for
mids
object inmice
(thanks stephematician) (#61) - simplify code in
rbind.mids
(thanks stephematician) (#59) - repair bug in
pool.compare()
in handling factors (#60) - fixed bug in
rbind.mids
in handlingwhere
(#59) - add new arguments to
as.mids()
, addas()
- update contact info
- resolved problem
cart
not accepting a matrix (thanks Joerg Drechsler) - Adds generalized
pool()
to list of models - Switch to 3-digit versioning
- Date: 2017-12-08
mice 2.41
- Add new feature:
where
argument to mice - Add new
wy
argument to imputation functions - Add
mice.impute.2l.sys()
, author Shahab Jolani - Update with many simplifications and code enhancements
- Fixed broken
cbind()
function - Fixed Bug that made the pad element disappear from
mids
object - Date: 2017-07-10
mice 2.40
- Fixed integration with
lattice
package - Updates colors in
xyplot.mads
- Add support for factors in
mice.impute.2lonly.pmm()
- Create more robust version of as.mids()
- Update of
ampute()
by Rianne Schouten - Fix timestamp problem by rebuilding vignette using R 3.4.0.
- Date: 2017-07-07
mice 2.34
- Update to roxygen 6.0.1
- Stylistic changes to
mice
function (thanks Ben Ogorek) - Calls to
cbind.mids()
replaced by calls tocbind()
- Date: 2017-04-24
mice 2.31
- Add link to
miceVignettes
on github (thanks Gerko Vink) - Add package documentation
- Add
README
for GitHub - Add new ampute functions and vignette (thanks Rianne Schouten)
- Rename
ccn
–>ncc
,icn
–>nic
- Change helpers
cc()
,ncc()
,cci()
,ic()
,nic()
andici()
useS3
dispatch - Change issues tracker on Github - add BugReports URL #21
- Fixed
multinom
MaxNWts type fix inpolyreg
andpolr
#9 - Fix checking of nested models in
pool.compare
#12 - Fix
as.mids
if names not same as all columns #11 - Fix extension for
glmer
models #5 - Date: 2017-02-23
mice 2.29
- Add
midastouch
: predictive mean matching for small samples (thanks Philip Gaffert, Florian Meinfelder) - Date: 2016-10-05
mice 2.25
CRAN release: 2015-11-09
- Fix
as.mids()
bug that crashedmiceadds::mice.1chain()
- Date: 2015-11-09
mice 2.23
- Update of example code on /doc
- Remove lots of dependencies, general cleanup
- Fix
impute.polyreg()
bug that bombed if there were no predictors (thanks Jan Graffelman) - Fix
as.mids()
bug that gave incorrect (several users) - Fix
pool.compare()
error forlmer
object (thanks Claudio Bustos) - Fix error in
mice.impute.2l.norm()
if just oneNA
(thanks Jeroen Hoogland) - Date: 2015-11-04
mice 2.22
CRAN release: 2014-06-11
- Add about six times faster predictive mean matching
-
pool.scalar()
now can do Barnard-Rubin adjustment -
pool()
now handles classlmerMod
from thelme4
package - Added automatic bounds on donors in
.pmm.match()
for safety - Added donors argument to
mice.impute.pmm()
for increased visibility - Changes default number of trees in
mice.impute.rf()
from 100 to 10 (thanks Anoop Shah) -
long2mids()
deprecated. Useas.mids()
instead - Put
lattice
back into DEPENDS to find genericxyplot()
and friends - Fix error in
2lonly.pmm
(thanks Alexander Robitzsch, Gerko Vink, Judith Godin) - Fix number of imputations in
as.mids()
(thanks Tommy Nyberg, Gerko Vink) - Fix colors to
mdc()
in examplemice.impute.quadratic()
- Fix error in
mice.impute.rf()
if just oneNA
(thanks Anoop Shah) - Fix error in
summary.mipo()
whennames(x$qbar)
equalsNULL
(thanks Aiko Kuhn) - Fix improper testing in
ncol()
inmice.impute.2lonly.mean()
- Date: 2014-06-11
mice 2.21
CRAN release: 2014-02-05
- FIXED: compilation problem in match.cpp on solaris CC
- Date: 02-05-2014 SvB
mice 2.20
CRAN release: 2014-02-04
- ADDED: experimental fastpmm() function using Rcpp
- FIXED: fixes to mice.impute.cart() and mice.impute.rf() (thanks Anoop Shah)
- Date: 02-02-2014 SvB
mice 2.19
- ADDED: mice.impute.rf() for random forest imputation (thanks Lisa Doove)
- CHANGED: default number of donors in mice.impute.pmm() changed from 3 to 5. Use mice(…, donors = 3) to get the old behavior.
- CHANGED: speedup in .norm.draw() by using crossprod() (thanks Alexander Robitzsch)
- CHANGED: speedup in .imputation.level2() (thanks Alexander Robitzsch)
- FIXED: define MASS, nnet, lattice as imports instead of depends
- FIXED: proper handling of rare case in remove.lindep() that removed all predictors (thanks Jaap Brand)
- Date: 21-01-2014 SvB
mice 2.18
CRAN release: 2013-08-01
- ADDED: as.mids() for converting long format in a mids object (thanks Gerko Vink)
- FIXED: mice.impute.logreg.boot() now properly exported (thanks Suresh Pujar)
- FIXED: two bugs in rbind.mids() (thanks Gerko Vink)
- Date: 31-07-2013 SvB
mice 2.17
CRAN release: 2013-05-12
- ADDED: new form argument to mice() to specify imputation models using forms (contributed Ross Boylan)
- FIXED: with.mids(), is.mids(), is.mira() and is.mipo() exported
- FIXED: eliminated errors in the documentation of pool.scalar()
- FIXED: error in mice.impute.ri() (thanks Shahab Jolani)
- Date: 10-05-2013 SvB
mice 2.16
CRAN release: 2013-04-27
- ADDED: random indicator imputation by mice.impute.ri() for nonignorable models (thanks Shahab Jolani)
- ADDED: workhorse functions .norm.draw() and .pmm.match() are exported
- FIXED: bug in 2.14 and 2.15 in mice.impute.pmm() that produced an error on factors
- FIXED: bug that crashed R when the class variable was incomplete (thanks Robert Long)
- FIXED: bug in 2l.pan and 2l.norm by convert a class factor to integer (thanks Robert Long)
- FIXED: warning eliminated caused by character variables (thanks Robert Long)
- Date: 27-04-2013 SvB
mice 2.15
CRAN release: 2013-04-03
- CHANGED: complete reorganization of documentation and source files
- ADDED: source published on GitHub.com
- ADDED: new imputation method mice.impute.cart() (thanks Lisa Doove)
- FIXED: calculation of degrees of freedom in pool.compare() (thanks Lorenz Uhlmann)
- FIXED: error in DESCRIPTION file (thanks Kurt Hornik)
- Date: 02-04-2013 SvB
mice 2.14
CRAN release: 2013-03-19
- ADDED: mice.impute.2l.mean() for imputing class means at level 2
- ADDED: sampler(): new checks of degrees of freedom per variable at iteration 1
- ADDED: function check.df() to throw a warning about low degrees of freedom
- FIXED: tolower() added in “2l” test in sampler()
- FIXED: conversion of factors that have other roles (multilevel) in padModel()
- FIXED: family argument in call to glm() in glm.mids() (thanks Nicholas Horton)
- FIXED: .norm.draw(): evading NaN imputed values by setting df in rchisq() to a minimum of 1
- FIXED: bug in mice.df() that prevented the classic Rubin df calculation (thanks Jean-Batiste Pingaul)
- FIXED: bug fixed in mice.impute.2l.norm() (thanks Robert Long)
- CHANGED: faster .pmm.match2() from version 2.12 renamed to default .pmm.match()
- Date: 11-03-2013 / SvB
mice 2.13
CRAN release: 2012-07-04
- ADDED: new multilevel functions 2l.pan(), 2lonly.norm(), 2lonly.pmm() (contributed by Alexander Robitzsch)
- ADDED: new quadratic imputation function: quadratic() (contributed by Gerko Vink)
- ADDED: pmm2(), five times faster than pmm()
- ADDED: new argument data.init in mice() for initialization (suggested by Alexander Robitzsch)
- ADDED: mice() now accepts pmm as method for (ordered) factors
- ADDED: warning and a note to 2l.norm() that advises to use type=2 for the predictors
- FIXED: bug that chrashed plot.mids() if there was only one incomplete variable (thanks Dennis Prangle)
- FIXED: bug in sample() in .pmm.match() when donor=1 (thanks Alexander Robitzsch)
- FIXED: bug in sample() in mice.impute.sample()
- FIXED: fixed ‘?data’ bug in check.method()
- REMOVED: wp.twin(). Now available from the AGD package
- Date: 03-07-2012 / SvB
mice 2.12
CRAN release: 2012-03-25
- UPDATE: version for launch of Flexible Imputation of Missing Data (FIMD)
- ADDED: code fimd1.r-fim9.r to inst/doc for calculating solutions in FIMD
- FIXED: more robust version of supports.transparent() (thanks Brian Ripley)
- ADDED: auxiliary functions ifdo(), long2mids(), appendbreak(), extractBS(), wp.twin()
- ADDED: getfit() function
- ADDED: datasets: tbc, potthoffroy, selfreport, walking, fdd, fdgs, pattern1-pattern4, mammalsleep
- FIXED: as.mira() added to namespace
- ADDED: functions flux(), fluxplot() and fico() for missing data patterns
- ADDED: function nelsonaalen() for imputing survival data
- CHANGED: rm.whitespace() shortened
- FIXED: bug in pool() that crashed on nonstandard behavior of survreg() (thanks Erich Studerus)
- CHANGED: pool() streamlined, warnings about incompatibility in lengths of coef() and vcov()
- FIXED: mdc() bug that ignored transparent=FALSE argument, now made visible
- FIXED: bug in md.pattern() for >32 variables (thanks Sascha Vieweg, Joshua Wiley)
- Date: 25-03-2012 / SvB
mice 2.11
CRAN release: 2011-11-22
- UPDATE: definite reference to JSS paper
- ADDED: rm.whitespace() to do string manipulation (thanks Gerko Vink)
- ADDED: function mids2mplus() to export data to Mplus (thanks Gerko Vink)
- CHANGED: plot.mids() changed into trellis version
- ADDED: code used in JSS-paper
- FIXED: bug in check.method() (thanks Gerko Vink)
- Date: 21-11-2011 / SvB
mice 2.10
CRAN release: 2011-09-15
- FIXED: arguments dec and sep in mids2spss (thanks Nicole Haag)
- FIXED: bug in keyword “monotone” in mice() (thanks Alain D)
- Date: 14-09-2011 / SvB
mice 2.9
CRAN release: 2011-09-01
- FIXED: appropriate trimming of ynames and xnames in Trellis plots
- FIXED: exported: spss2mids(), mice.impute.2L.norm()
- ADDED: mice.impute.norm.predict(), mice.impute.norm.boot(), mice.impute.logreg.boot()
- ADDED: supports.transparent() to detect whether .Device can do semi-transparent colors
- FIXED: stringr package is now properly loaded
- ADDED: trellis version of plot.mids()
- ADDED: automatic semi-transparancy detection in mdc()
- FIXED: documentation of mira class (thanks Sandro Tsang)
- Date: 31-08-2011 / SvB
mice 2.8
CRAN release: 2011-03-26
- FIXED: bug fixed in find.collinear() that bombed when only one variable was left
- Date: 24-03-2011 / SvB
mice 2.7
CRAN release: 2011-03-16
- CHANGED: check.data(), remove.lindep(): fully missing variables are imputed if allow.na=TRUE (Alexander Robitzsch)
- FIXED: bug in check.data(). Now checks collinearity in predictors only (Alexander Robitzsch)
- CHANGED: abbreviations of arguments eliminated to evade linux warnings
- Date: 16-03-2011 / SvB
mice 2.6
CRAN release: 2011-03-04
- ADDED: bwplot(), stripplot(), densityplot() and xyplot() for creating Trellis graphs
- ADDED: function mdc() and mice.theme() for graphical parameters
- ADDED: argument passing from mice() to lower-level functions (requested by Juned Siddique)
- FIXED: erroneous rgamma() replaced by rchisq() in .norm.draw, lowers variance a bit for small n
- ADDED: with.mids() extended to handle expression objects
- FIXED: reporting bug in summary.mipo()
- CHANGED: df calculation in pool(), intervals may become slightly wider
- ADDED: internal functions mice.df() and df.residual()
- FIXED: error in rm calculation for “likelihood” in pool.compare()
- CHANGED: default ridge parameter changed
- Date: 03-03-2011 / SvB
mice 2.5
CRAN release: 2011-01-06
- ADDED: various stability enhancements and code clean-up
- ADDED: find.collinear() function
- CHANGED: automatic removal of constant and collinear variables
- ADDED: ridge parameter in .norm.draw() and .norm.fix()
- ADDED: mice.impute.polr() for ordered factors
- FIXED: chainMean and chainVar in mice.mids()
- FIXED: iteration counter for mice.mids and sampler()
- ADDED: component ‘loggedEvents’ to mids-object for logging actions
- REMOVED: annoying warnings about removed predictors
- ADDED: updateLog() function
- CHANGED: smarter handling of model setup in mice()
- CHANGED: .pmm.match() now draws from the three closest donors
- ADDED: mids2spss() for shipping a mids-object to SPSS
- FIXED: change in summary.mipo() to work with as.mira()
- ADDED: function mice.impute.2L.norm.noint()
- ADDED: function as.mira()
- FIXED: global assign() removed from mice.impute.polyreg()
- FIXED: improved handling of factors by complete()
- FIXED: improved labeling of nhanes2 data
- Date: 06-01-2011 / SvB
mice 2.4
CRAN release: 2010-10-18
- ADDED: pool() now supports class ‘polr’ (Jean-Baptiste Pingault)
- FIXED: solved problem in mice.impute.polyreg when one of the variables was named y or x
- FIXED: remove.lindep: intercept prediction bug
- ADDED: version() function
- ADDED: cc(), cci() and ccn() convenience functions
- Date: 17-10-2010 / SvB
mice 2.3
CRAN release: 2010-02-14
- FIXED: check.method: logicals are now treated as binary variables (Emmanuel Charpentier)
- FIXED: complete: the NULL imputation case is now properly handled
- FIXED: mice.impute.pmm: now creates between imputation variability for univariate predictor
- FIXED: remove.lindep: returns ‘keep’ vector instead of data
- Date: 14-02-2010 / SvB
mice 2.2
CRAN release: 2010-01-14
- ADDED: pool() now supports class ‘multinom’ (Jean-Baptiste Pingault)
- FIXED: bug fixed in check.data for data consisting of two columns (Rogier Donders, Thomas Koepsell)
- ADDED: new function remove.lindep() that removes predictors that are (almost) linearly dependent
- FIXED: bug fixed in pool() that produced an (innocent) warning message (Qi Zheng)
- Date: 13-01-2010 / SvB
mice 2.1
CRAN release: 2009-09-18
- ADDED: pool() now also supports class ‘mer’
- CHANGED: nlme and lme4 are now only loaded if needed (by pool())
- FIXED: bug fixed in mice.impute.polyreg() when there was one missing entry (Emmanuel Charpentier)
- FIXED: bug fixed in plot.mids() when there was one missing entry (Emmanuel Charpentier)
- CHANGED: NAMESPACE expanded to allow easy access to function code
- FIXED: mice() can now find mice.impute.xxx() functions in the .GlobalEnv
- Date: 14-09-2009 / SvB
mice 2.0
CRAN release: 2009-08-27
- Major upgrade for JSS manuscript
- ADDED: new functions cbind.mids(), rbind.mids(), ibind()
- ADDED: new argument in mice(): ‘post’ in post-processing imputations
- ADDED: new functions: pool.scaler(), pool.compare(), pool.r.squared()
- ADDED: new data: boys, popmis, windspeed
- FIXED: function summary.mipo all(object$df) command fixed
- REMOVED: data.frame.to.matrix replaced by the internal data.matrix function
- ADDED: new imputation method mice.impute.2l.norm() for multilevel data
- CHANGED: pool now works for any class having a vcov() method
- ADDED: with.mids() provides a general complete-data analysis
- ADDED: type checking in mice() to ensure appropriate imputation methods
- ADDED: warning added in mice() for constant predictors
- ADDED: prevention of perfect prediction in mice.impute.logreg() and mice.impute.polyreg()
- CHANGED: mice.impute.norm.improper() changed into mice.impute.norm.nob()
- REMOVED: mice.impute.polyreg2() deleted
- ADDED: new ‘include’ argument in complete()
- ADDED: support for the empty imputation method in mice()
- ADDED: new function md.pairs()
- ADDED: support for intercept imputation
- ADDED: new function quickpred()
- FIXED: plot.mids() bug fix when number of variables > 5
- Date: 26-08-2009 / SvB, KO
mice 1.21
CRAN release: 2009-03-17
- FIXED: Stricter type checking on logicals in mice() to evade warnings.
- CHANGED: Modernization of all help files.
- FIXED: padModel: treatment changed to contr.treatment
- CHANGED: Functions check.visitSequence, check.predictorMatrix, check.imputationMethod are now coded as local to mice()
- FIXED: existsFunction in check.imputationMethod now works both under S-Plus and R
- Date: 15/3/2009
mice 1.16
CRAN release: 2009-02-19
- FIXED: The impution function impute.logreg used convergence criteria that were too optimistic when fitting a GLM with glm.fit. Thanks to Ulrike Gromping.
- Date: 6/25/2007
mice 1.15
CRAN release: 2007-01-09
- FIXED: In the lm.mids and glm.mids functions, parameters were not passed through to glm and lm.
- Date: 01/09/2006
mice 1.14
CRAN release: 2006-04-04
- FIXED: Passive imputation works again. (Roel de Jong)
- CHANGED: Random seed is now left alone, UNLESS the argument “seed” is specified. This means that unless you specify identical seed values, imputations of the same dataset will be different for multiple calls to mice. (Roel de Jong)
- FIXED: (docs): Documentation for “impute.mean” (Roel de Jong)
- FIXED: Function ‘summary.mids’ now works (Roel de Jong)
- FIXED: Imputation function ‘impute.polyreg’ and ‘impute.lda’ should now work under R
- Date: 9/26/2005