NEWS
randomLCA 1.1-4 (2024-09-23)
- fixed error in outcomeProbs manual entry causing CRAN check failure
- change of e-mail address
randomLCA 1.1-3 (2023-06-22)
- revert to previous code for random effects models, as more reliable
- reduced default number of cores used in bootstarp of outcomeProbs to half available less 1. Using more doesn't improve speed and can cause problems.
- fixed problem with CRAN check related to S3 methods
randomLCA 1.1-2 (2022-05-09)
randomLCA 1.1-1 (2021-02-15)
- more informative error message if convergence failed when fitting
- added 0.1s delay before starting parallel process fitting on Windows to avoid bug in RStudio. It seems that it is necessary to allow all plotting to complete.
randomLCA 1.1-0 (2021-01-07)
- used parallel processing for performing multiple starting values
- used multiple starting values for single level random effects models
randomLCA 1.0-16 (2020-06-16)
- replaced dontrun with donttest for examples
- improved calculations
- changed default for outcomeProbs with boot to be "perc" and R=999 always, as "norm" was sometimes giving problems
- outcomeProbs with boot now using multiple cores if available
- general tidyup of help files
randomLCA 1.0-15 (2018-01-16)
- corrected exports to allow some methods to be called
randomLCA 1.0-14 (2018-01-08)
- added method to obtain class with maximum posterior probability
randomLCA 1.0-13 (2017-11-06)
- change citation to refer to Journal of Statistical Software article
- added extra examples
randomLCA 1.0-12 (2017-07-23)
- add option to obtain outcome probabilities on either the probability or transformed scale
- add extra documentation to postClassProbs method
randomLCA 1.0-11 (2017-03-01)
- add vignette of Journal of Statistical Software article (without logos) and code
- added registration for C routines
randomLCA 1.0-10 (2016-08-09)
- remove test of best minimum loglikelihood as this was producing too many unnecessary error messages
- incorporate penalised likelihood into EM algorithm
- changes to starting values to improve speed
- added parameter to allow choice of convergence tolerance for EM algorithm
randomLCA 1.0-9 (2016-06-24)
- removed reliance on SciencePo package by implementing Dirichlet density directly
- fixed minor bug in calculating penalty
- changed default penalty to 0.01 increasing speed and with only very minor change in estimates
- various modifications to code to improve speed
- avoid error messages due to problems in inverting Hessian in certain cases
randomLCA 1.0-8 (2016-05-20)
- Removed spaces after doi: in description file
randomLCA 1.0-7
- Improved speed of random effects models
- Fixed bug with 2 level models with constant loadings which caused crashing
randomLCA 1.0-6 (2015-12-08)
- Added warning if only one set of starting values produced the maximum value of the maximum likelihood
- Changed likelihood penalty from product of beta to Dirichlet to match the Galindo Garre paper
- Changed default penalty to 0.001, which produces neglible effect except to remove some numerical instabilities
- Changed most of the Depends to Imports which removes the messages on loading
randomLCA 1.0-5 (2015-11-12)
- Added argument to refit method to use the estimates from current model for the initial values
- Changed outcomeProbs to use the initial values from the current model when bootstrapping. This avoids problems with label switching.
randomLCA 1.0-4
- Added check for rank of Hessian and give warning that model may not be identified or there may be boundary estimates.
- Improve starting values for random effects models
- For refit now totally redetermine starting values rather than using those from model, as this produces more reliable results
randomLCA 1.0-3 (2015-09-30)
- When selecting initial starting values only perform the EM algorithm to choose the best starting values, and then use the quasi-Newton to perform the final optimisation to increase speed.
- To avoid possible problems removed "." from some method names. Changed class.probs to classProbs, post.class.probs to postClassProbs, outcome.probs to outcomeProbs, calc.cond.prob to calcCondProb, calc.cond2.prob to calcCond2Prob, calc.marg.prob to calcMargProb
- add AIC3 method to calculate AIC with a penalty of 3, and added this to the summary
- reduced number of S3 methods to only those that are necessary
- added print method for randomLCA objects that just calls summary
- with plots use outcome labels from the data
- improved graphing code to incorporate better labels and allow these to be overriden from the plot command
- added penalty parameter to AIC to conform to stats arguments
randomLCA 1.0-2 (2015-01-09)
- fixed bug that caused some non-dentifiable models to be missed
randomLCA 1.0-1 (2014-11-17)
- improvements to help documentation
- added check for non-identifiability of model
- include patterns with zero frequency in fitting if supplied - this increases fitting time but gives the predictions for these patterns
- fixed errors in examples vignette
randomLCA 1.0-0 (2014-10-14)
- changed default graph to marginal for random effects models
- removed graphtype of both
randomLCA 0.9-0 (2014-09-07)
- there have been major changes in this version
- added constload parameter to specify that loadings are constant for each outcome and modified use of blocksize parameter so it now refers only to size of level2 units or repeated outcomes in single level models.
- reduce stepmax in nlm to reduce chance of not finding true maximum
- use routine from fastGHQuad for Gauss-Hermite quadrature
- remove initmodel parameter
- changed fitting algorithm for both random effects models to use generalised EM algorithm.
- tidy up namespace requirements.
- change default method for standard errors with outcome.probs to normal bootstrap with 50 simulations.
- increased the quadrature points in the calculation of marginal probabilities, just to be safe. This should be converted to use adaptive quadrature.
- change name of class.probs to post.class.probs to better reflect what it does, and add class.probs function to return overall probability of each class
randomLCA 0.8-7 (2013-12-14)
- moved vignettes to correct folder
- added imports from lattice and boot to fix error message in check
randomLCA 0.8-6 (2013-03-14)
randomLCA 0.8-5
- reduced examples execution time
randomLCA 0.8-4
- changed fitting parameters fro examples to fix convergence problem on SPARC machines
randomLCA 0.8-3 (2011-08-30)
- remove patterns when supplied frequencies are zero
- fixed documentation of symptoms dataset
randomLCA 0.8-2 (2011-08-28)
- output both standard an penalised log likelihood and added penalty parameter
randomLCA 0.8-1 (2011-08-13)
- simplified code
- fixed bug which caused stop when using verbose=TRUE
- added parameter to control the number of quasi-Newton steps between each adaptive step, and reduced the default to 5
- restricted the outcome probabilities using a penalty, to prevent numerical problems
randomLCA 0.7-5 (2011-06-17)
- improved output formatting in summary
- more information in vignette
randomLCA 0.7-4 (2011-02-26)
- fixed problems with import of AIC and BIC
randomLCA 0.7-3 (2010-05-27)
- added bibliography to vignette
- changes to documentation to improve readability
- added check for valid patterns must be 0 or 1
randomLCA 0.7-2 (2010-05-22)
- changes to documentation to improve readability
randomLCA 0.7-1 (2009-04-14)
- added simulate method to produce random data from fitted models
- changed default calculation of standard errors to true
- added bootstrap estimation of confidence intervals for outcome probabilities
- removed most of the warnings about generated NaN during fitting
- checked for excessive number of adaptive iterations
randomLCA 0.6-2 (2009-03-08)
- increased speed of fitting for standard latent class models
- added Gender Roles dataset
- updated vignette to allow for label switching
randomLCA 0.6-1 (2008-11-10)
- added an accessor for outcome probabilities with confidence intervals
- standard latent class now allows probit (this obviously wont affect the
outcome probabilities but will change the confidence intervals)
- allowable quadrature points increased to 190
- changed handling of random seeds for random starting values
randomLCA 0.5-3 (2008-07-22)
- added marginal outcome probabilities and link to summary
- added accessors for logLik, AIC, BIC
- changed log.Lik to logLik
randomLCA 0.5-2 (2008-07-16)
- split summary to have separate print method
- in summary print names for loadings
randomLCA 0.5-1 (2008-07-12)
- added new example to vignette
- improved summary function
- increased speed of multilevel models by recode in C
- fixed bug with returned outcoem probabilities in multilevel models
randomLCA 0.3-2 (2008-06-12)
- changes to vignette to allow running on some systems
randomLCA 0.3-1
- recode of algorithm for single level random effects in C
- for standard LC always perform Quasi-Newton to guarantee convergence
randomLCA 0.2-1
- fixed bug which could cause very occaisonal crash when outcome
probabilities approached 0 or 1
- recode of EM algorith for standard LC models in C, so very much faster
randomLCA 0.1-4 (2008-05-30)
- fixed bug in adaptive random by class model fit
randomLCA 0.1-3 (2008-04-04)
- made vignette creation faster
randomLCA 0.1-2
- fixed bug where convergence failure wasn't identified for some
models, resulting in infinite loops
- fixed bug causing outcome probabilities of 0 or 1 not to be plotted
- included vignette for examples
First realease version 0.1-1