- Initial submission to CRAN.
- Changed Makevars per exchange with Stan developers.
- Changed find_inverted_chains() and invert_chains() to be compatible with dplyr 0.8 release. Specifically, removed deprecated group_by_() and summarise_() functions and changed code to remove unused factor levels.
- Changed Makevars and Makevars.win to rely on CXX_STD = CXX14 from CXX11. Also added vignette related to inclusion of covariates
- Added additional functionality to relax limits on AR(1) parameter (phi), MA(1) parameter (theta), and flexibility in estimated the standard deviation of latent trends. Also modified the data object passed in to be either a wide matrix (as previously done) or a long format data frame. The latter allows for multiple observations / time step. Finally, an additional and alternative constraint was introduced for Z, allowing elements to be modeled as a Dirchlet process, rather than conventional DFA.
- Removed warning related to vignette and noLD test
- Added non-gaussian families (poisson, negative binomial, bernoulli, Gamma, lognormal). Also included a function for doing cross validation and calculating the expected log posterior density. Another new feature included smooth models (Gaussian process, B-splines) as alternative models for trends conventionally modeled as random walks. Added functions dfa_trends(), dfa_loadings() and dfa_fitted() for extracting trends, loadings, and fitted values.
- Added constraint on diagonal of Z matrix to keep parameter estimates from ‘flipping’ within MCMC chains. Ensures convergence for problematic cases. This was present in 0.1.1, but later removed.
- Following 1.0.0, included a new argument to fit_dfa() function ‘expansion_prior’ that allows user to toggle on / off the constraint. If not included (default=FALSE), there is no constraint on the Z diagonal, and post-hoc MCMC chain inverting resolves identifiability. If ‘expansion_prior’ = TRUE, then the positive constraint is applied, in combination with the expansion prior for trends and loadings.
Add penalized spline models, so that the ‘trend_model’ argument may take on “rw” for conventional random walks, “bs” for B-splines, “ps” for “P-splines”, or “gp” for Gaussian processes
Change to new Stan syntax
- Add compatibility with new rstan
- Changed weights argument to ‘inv_var_weights’ and ‘likelihood_weights’ for the glmmTMB/sdmTMB/brms style
- Add compatibility with new loo 2.7