Package: Countr 3.5.8

Georgi N. Boshnakov
Countr: Flexible Univariate Count Models Based on Renewal Processes
Flexible univariate count models based on renewal processes. The models may include covariates and can be specified with familiar formula syntax as in glm() and package 'flexsurv'. The methodology is described by Kharrat et all (2019) <doi:10.18637/jss.v090.i13> (included as vignette 'Countr_guide' in the package). If the suggested package 'pscl' is not available from CRAN, it can be installed with 'remotes::install_github("cran/pscl")'. It is no longer used by the functions in this package but is needed for some of the extended examples.
Authors:
Countr_3.5.8.tar.gz
Countr_3.5.8.tar.gz(r-4.5-noble)Countr_3.5.8.tar.gz(r-4.4-noble)
Countr_3.5.8.tgz(r-4.4-emscripten)Countr_3.5.8.tgz(r-4.3-emscripten)
Countr.pdf |Countr.html✨
Countr/json (API)
NEWS
# Install 'Countr' in R: |
install.packages('Countr', repos = 'https://cloud.r-project.org') |
Bug tracker:https://github.com/geobosh/countr/issues2 issues
Pkgdown site:https://geobosh.github.io
Last updated 1 years agofrom:d0e937534e. Checks:3 OK. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 10 2025 |
R-4.5-linux-x86_64 | OK | Mar 10 2025 |
R-4.4-linux-x86_64 | OK | Mar 10 2025 |
Exports:addBootSampleObjectchiSq_gofchiSq_pearsoncompareToGLMcount_tableCountrFormuladCount_conv_bidCount_conv_loglik_bidCount_conv_loglik_userdCount_conv_userdmodifiedCount_bidWeibullCountdWeibullCount_loglikdWeibullgammaCountdWeibullgammaCount_loglikevCount_conv_bievCount_conv_userevWeibullCountevWeibullgammaCountfrequency_plotgetParNamesprob_predictrenewalrenewal.controlrenewal.convParsrenewal.seriesParsrenewal.weiMethodrenewalCoefrenewalCoefListrenewalCountrenewalNamesresiduals_plotse.coefsurv
Dependencies:abindassertthatbackportsbbmlebdsmatrixBHbootbroomcarcarDataclicolorspacecowplotcpp11data.tableDerivdeSolvedoBydplyrfansifarverfastGHQuadflexsurvFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmstatemuhazmunsellmvtnormnlmenloptrnnetnumDerivoptimxpbkrtestpillarpkgconfigpracmapurrrquadprogquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstpm2scalesSparseMstandardizestatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsVGAMviridisLitewithrxtablezoo
Comparing performance of computational methods
Rendered fromComputationalPerformance.Rnw
usingutils::Sweave
on Mar 10 2025.Last update: 2017-11-20
Started: 2017-11-20
Computation of variance-covariance matrix
Rendered fromVarianceCovariance.Rnw
usingutils::Sweave
on Mar 10 2025.Last update: 2017-11-20
Started: 2017-11-20
Example with fertility data
Rendered fromexampleFertility.Rnw
usingutils::Sweave
on Mar 10 2025.Last update: 2017-11-20
Started: 2017-11-20
Example with football data
Rendered fromexampleFootball.Rnw
usingutils::Sweave
on Mar 10 2025.Last update: 2017-11-20
Started: 2017-11-20
Example with quine data
Rendered fromModelSelectionAndComparison.Rnw
usingutils::Sweave
on Mar 10 2025.Last update: 2017-11-20
Started: 2017-11-20
Guide for package Countr
Rendered fromCountr_guide.Rnw
usingutils::Sweave
on Mar 10 2025.Last update: 2017-11-20
Started: 2017-11-20
Citation
To cite Countr in publications use:
Kharrat T, Boshnakov GN, McHale I, Baker R (2019). “Flexible Regression Models for Count Data Based on Renewal Processes: The Countr Package.” Journal of Statistical Software, 90(13), 1–35. doi:10.18637/jss.v090.i13.
Corresponding BibTeX entry:
@Article{, title = {Flexible Regression Models for Count Data Based on Renewal Processes: The {Countr} Package}, author = {Tarak Kharrat and Georgi N. Boshnakov and Ian McHale and Rose Baker}, journal = {Journal of Statistical Software}, year = {2019}, volume = {90}, number = {13}, pages = {1--35}, doi = {10.18637/jss.v090.i13}, }
Readme and manuals
Installing Countr
The latest stable version is on CRAN.
install.packages("Countr")
You can install the development version of
Countr
from Github:
library(devtools)
install_github("GeoBosh/Countr")
Overview
Flexible univariate count models based on renewal processes. The models may
include covariates and can be specified with familiar formula syntax as in glm()
and package 'flexsurv'. The methodology is described in a forthcoming paper in
the Journal of Statistical Software. The paper is included as vignette
vignette("Countr_guide")
along wth several additional vignettes containing
worked examples and additional details, see
Countr CRAN page.
The package is developed by Tarak Kharrat and Georgi N.Boshnakov.