NEWS
- Streamline vignette building to be precompiled and move tests to limit burden on CRAN check
- Switch dependency from broomtobroom.mixedbecause of upstream package reorganization
Bug fixes
- Fixed an issue where averageObscould not be calculated when model weights were specified in the original model (closes #110)
New Features
- subBootnow works with- glmerModobjects as well
- reMarginsa new function that allows the user to marginalize the prediction over breaks in the distribution of random effect distributions, see- ?reMarginsand the new- reMarginsvignette (closes #73)
Bug fixes
- Fixed an issue where known convergence errors were issuing warnings and causing the test suite to not work
- Fixed an issue where models with a random slope, no intercept, and no fixed term were unable to be predicted (#101)
- Fixed an issue with shinyMer not working with substantive fixed effects (#93)
New Features
- Parallel fitting of merModListsis now supported using thefuture.applypackage and thefuture_lapplyfunctions, optionally
- Reduced package installation surface by eliminating unnecessary packages in the Suggestsfield
Bug fixes
- Fixed a bug (#94) where predictInterval()would return a data.frame of the wrong dimensions when predicting a single row of observations for aglm
- Fixed a bug (#96) related to rstanarmdependencies in the package vignette
- Switched from dontruntodonttestfor long-running examples (CRAN compliance)
- Fixed and made more clear the generics applying to merModListobjects (#92)
New Features
- Standard errors reported by merModListfunctions now apply the Rubin correction for multiple imputation
Bug fixes
- Contribution by Alex Whitworth (@alexWhitworth) adding error checking to plotting functions
- The vignettes have been shortened and unit tests reorganized to facilitate Travis-CI builds and reduce CRAN build burden
New Features
- Added vignette on using multilevel models with multiply imputed data
- Added fixefandranefgenerics formerModListobjects
- Added fastdispgeneric formerModList
- Added summarygeneric formerModList
- Added printgeneric formerModList
- Documented all generics for merModListincluding examples and a new imputation vignette
- Added modelInfogeneric formerModobjects that provides simple summary stats about a whole model
Bug Fixes
- Fix bug that returned NaN for std.errorof a multiply imputedmerModListwhen callingmodelRandEffStats
- Fixed bug in REimpactwhere some column names innewdatawould prevent the prediction intervals from being computed correctly. Users will now be warned.
- Fixed bug in wigglewhere documentation incorrectly stated the arguments to the function and the documentation did not describe function correctly
- Update the readme.rmdto package graphics with the R package, per CRAN
- Improve handling of formulas. If the original merModhas functions specified in the formula, thedrawandwigglefunctions will check for this and attempt to respect these variable transformations. Where this is not possible a warning will be issued. Most common transformations are respected as long as the the original variable is passed untransformed to the model.
- Change the calculations of the residual variance. Previously residual variance was used to inflate both the variance around the fixed parameters and around the predicted values themselves. This was incorrect and resulted in overly conservative estimates. Now the residual variance is appropriately only used around the final predictions
- Rebuilt the readme.md to include new information about new features
- New option for predictIntervalthat allows the user to return the full interval, the fixed component, the random component, or the fixed and each random component separately for each observation
- Fixed a bug with slope+intercept random terms that caused a miscalculation of the random component
- Add comparison to rstanarmto the Vignette
- Make expectedRankoutput moretidylike and allow function to calculate expected rank for all terms at once
- Note, this breaks the API by changing the names of the columns in the output of this function
 
- Remove tests that test for timing to avoid issues with R-devel JIT compiler
- Remove plyrand replace withdplyr
- Fix issue #62 varListwill now throw an error if==is used instead of=
- Fix issue #54 predictIntervaldid not included random effects in calculations whennewdatahad more than 1000 rows and/or user specifiedparallel=TRUE. Note: fix was to disable the.paroptsoption forpredictInterval… user can still specify for temporary backward compatibility but this should be either removed or fixed in the permanent solution.
- Fix issue #53 about problems with predictIntervalwhen only specific levels of a grouping factor are innewdatawith the colon specification of interactions
- Fix issue #52 ICC wrong calculations … we just needed to square the standard deviations that we pulled
- Fix dependency on lme4to ensure compatibility with latest changes.
Bug fixes
- Coerce dplyrtblandtbl_dfobjects to data.frames when they are passed topredictIntervaland issue a warning
- Try to coerce other data types passed to newdatainpredictIntervalbefore failing if coercion is unsuccessful
- Numeric stabilization of unit tests by including seed values for random tests
- Fix handling of models with nested random effect terms (GitHub #47)
- Fix vignette images
New Functionality
- Substantial performance enhancement for predictIntervalwhich includes better handling of large numbers of parameters and simulations, performance tweaks for added speed (~10x), and parallel backend support (currently not optimized)
- Add support for probitmodels and limited support for otherglmmlink functions, with warning (still do not know how to handle sigma parameter for these)
- Add ability for user-specified seed for reproducibility
- Add support for blmerobjects from theblmepackage
- Add a merModListobject for lists ofmerModobjects fitted to subsets of a dataset, useful for imputation or for working with extremely large datasets
- Add a printmethod formerModListto mimic output ofsummary.merMod
- Add a VarCorrmethod formerModList
- Add new package data to demonstrate replication from selected published texts on multilevel modeling using different software (1982 High School and Beyond Survey data)
Other changes
- Changed the default n.simsfor thepredictIntervalfunction from 100 to 1,000 to give better coverage and reflect performance increase
- Changed the default for levelinpredictIntervalto be 0.8 instead of 0.95 to reflect that 0.95 prediction intervals are more conservative than most users need
Future changes
- For the next release (1.0) we are considering a permanent switch to C++ RMVN sampler courtesy of Giri Gopalan ’s excellent FastGP
New Functions
- Provides predictIntervalto allow prediction intervals fromglmerandlmerobjects
- Provides FEsimandREsimto extract distributions of model parameters
- Provides shinyMeran interactiveshinyapplication for exploringlmerandglmermodels
- Provides expectedRankfunction to interpret the ordering of effects
- Provides REimpactto simulate the impact of grouping factors on the outcome
- Provides drawfunction to allow user to explore a specific observation
- Provides wigglefunction for user to build a simulated set of counterfactual cases to explore