Releases: ncn-foreigners/singleRcapture
Release list
1.1.0
singleRcapture 1.0.0
singleRcapture 0.2.3
- BugFix for anova and other not working methods
- Tests for not working methods added
- Small changes to the documentation
Full Changelog: 0.2.2...0.2.3
singleRcapture version 0.2.2
Changes from each particular update from the last GitHub release:
singleRcapture 0.2.2
- Fixing documentation typos and errors
plotnow has a default value ofqq- vignette added based on the paper submitted to the JSS
singleRcapture 0.2.1.2
- Bugfix for interaction terms in formula not being considered
- Small changes in summary for marginal count distributions
- Small fixes for standard errors in predicted means
- Code coverage raised to nearly 90%
- The
logLik.singleRStaticCountDatamethod now has atypeargument that,
if set to"function"makes the function return the minus log-likelihood
function (by default) or ifderivargument is set to1or2respectively
either a gradient or hessian of log-likelihood function.
singleRcapture 0.2.1.1
- Bugfix for tests failing with
noLongDouble
What's Changed
- Merging progress on main to dev by @Kertoo in #47
- Pull from main by @Kertoo in #48
- Small changes and revering doSNOW switch by @Kertoo in #49
- Small bugfixes by @Kertoo in #50
- pulling changes from main by @Kertoo in #51
- hopefully a fix for coverage .yaml not uploading files by @Kertoo in #52
- Pull changes from main by @Kertoo in #53
- Pull from development ready for CRAN submission by @Kertoo in #54
Full Changelog: 0.2.1...0.2.2
singleRcapture version 0.2.1
GitHub releases should now be more frequent.
Changes from each particular update from last GitHub release:
singleRcapture 0.2.1
- Fixed bugs in
IRLSfitting when providingweightsargument when calling
estimatePopsize - The
weightsAsCountsoption incontrolModelnow works properly,
dfbetaanddfpopsizedecrease weight of selected row in a model matrix
instead of deleting it when this is set toTRUE simulatemethod now works for both family object (likeztpoisson()) and
for objects returned byestimatePopsize- Introduced
singleRStaticCountDatasub class forsingleRclassand made
estimatePopsizea method so that a new packagesingleRcaptureExtra
(under development) can make all necessary calculations for pop size estimation
when providing object fitted bycountreg::zerotruncorVGAM::vglm/VGAM::vgam - Some bugfixes for multicore bootstrap
- Code was re-factored to make further development/maintenance for the package
much easier - Update will be uploaded to
CRAN semiparametricbootstrap now has a much faster sampling algorithm (that does the same job)
Unit tests:
- Reduced computational burden of unit tests
- Multicore tests will only be performed after
TEST_SINGLERCAPTURE_MULTICORE_DEVELOPER
is set to"true"viaSys.setenvand_R_CHECK_LIMIT_CORES_tofalse
singleRcapture 0.2.0.1
- Added
offsetargument toestimatePopsize - Added options for parallel computing in
bootstrapand indfbeta - Added deviance for all negative binomial based models.
(NOTE: They are very slow for now and I believe it may change after I verify
one theoretical results that will lead to significant speed increase for
these computations) - Overhaul of starting points (new methods and added linear predictors start in
IRLS) - Code for weights in
IRLSfitting was speed up - Minor bugfixes
singleRcapture 0.2.0
The package is now at CRAN
-
features and improvements:
- Added final
Hurdleztnegbinmodel - Vastly improved
redoPopSizewhich now handles bootstrap on a fitted model
non standard covariance matrixesnewdataargument user suppliedcoefetc. - Added
predict.singleRmethod which offers standard error for bothlink,
responseas well asmeanpredictions - No unexpected warnings should occur now in main function when using
the package correctly - All control arguments are now verified before being passed
- Fitting is now more reliable
- Added information about
stats::optimerror codes - Added warnings for functions computing deviance
- Added final
-
bugfixes:
- fixed bugs occurring when using mathematical functions as part of formulas
i.e. when setting formula to something like:y ~ log(x) + I(x ^ t) + I(t ^ 2)
- fixed bugs occurring when using mathematical functions as part of formulas
singleRcapture 0.1.4
-
features
- Added
ztoinegbin,oiztnegbinandztHurdlenegbinmodels - Added an optional arguments to all family-functions to specify a link
function for distribution parameters - Updated and standardized documentation
- Added more warnings
- Added some more methods for
singleRclass in some commonly usedglm
functions, in particulartexreg::screenregshould work well now
- Added
-
changes
- Changed some default arguments
- Added option to save logs from
IRLSfitting
-
bugfixes
- Fixed some issues with intercept only models
- Fixed some slight miscalculations in information matrixes for one inflated
models making fitting them much more reliable
-
github repository
- More and better
Rcmdtests
- More and better
singleRcapture 0.1.3.2 -- NTTS
-
features:
- Added function that implements population size estimates for stratas
- More warnings in fitting
- More options in control functions
- Corrected/implemented deviance residuals for more models
-
changes:
- Now the whole package uses
cammelCase - Performance upgrades
- Corrected some miss calculated moments
- Change exported data so that factors are actually factors not just characters
- Removed unused dependency
- Now the whole package uses
-
github repository
- Added automated
R-cmdcheck
- Added automated
singleRcapture 0.1.3.1
- features:
- Basically all of documentation was redone and now features most of important
theory on SSCR methods and some information on (v)glms - Added checks on positivity of working weights matrixes to stabilise
"IRLS"algorithm - Added most of sandwich capabilities to the package, in particular:
- S3 method for
vcovHCwas implemented vcovCLshould work onsingleRclass objects
should work with"HC0"and"HC1"typeargument values
- S3 method for
- Basic version of function
redoPopEstimationfor updating the
population size estimation after post-hoc procedures was implemented popSizeEstfunction for extracting population size estimation
results was implemented- Minor improvements to memory usage were made and
computation was speed up a little - Changed names of mle and robust fitting methods to optim and IRLS
respectively - Some bugfixes
- More warnings messages in
estimate_popsize.fit
- Basically all of documentation was redone and now features most of important
singleRcapture 0.1.3
- features:
- Multiple new models
IRLSgeneralised for distributions with multiple parameters- bugfixes
- QOL improvements
- extended bootstrap and most other methods for new models
singleRcapture 0.1.2
- features:
- control parameters for model
- control parameters for regression in bootstrap sampling
- leave one out diagnostics for popsize and regression parameters (
dfbetaswere corrected) - fixes for Goodness of fit tests in zero one truncated models
- computational improvements in
IRLS - other small bugfixes
singleRcapture 0.1.1
- bug fixes and some of the promised features for 0.2.0 in particular
- More tiny tests
- Some fixes for marginal frequencies
- Deviance implemented
- dfbetas and levarage matrix
- Parametric bootstraps work correctly for the most part there is just some polishing left to do
Full Changelog: v0.1.0...0.2.1
singleRcapture 0.1.0
The first version of the singleRcapture package that is somewhat suitable for use.
Features:
-
Zero truncated count data regression with Poisson, Geometric and Negative Binomial models and their application to population size estimate, analytic, nonparametric and parametric bootstrap variance estimations are available. Two methods of constructing analytic confidence intervals are supported studentised and by logarithmic transformation.
-
Zero truncated count data regression with Poisson, Geometric and Negative Binomial models and their application to population size estimate, analytic and non parametric bootstrap variance estimations are available.
-
Two mixture models, chao and zelterman, utilising logit regression for population size estimation, analytic and nonparametric variance estimations are available.
-
The above models are applied with their respective
familyclass functions (modelparameter) that are passed to main functionestimate_popsize. -
Two fitting algorithms,
IRLSand simple MLE byoptim. -
summarymethod for the model. It is handled differently insingleRcapturethan in glm's. -
marginalFreqfunction for creating a table of marginal frequencies. -
summarymethod for marginal frequencies that applies chisq and G tests for goodness of fit -
vcovfunction for extracting the covariance matrix of regression parameters. -
basic
control.pop.varparameters for variance estimation.