Countr3.6 package

Flexible Univariate Count Models Based on Renewal Processes

addBootSampleObject

Create a bootsrap sample for coefficient estimates

alphagen

Matrix of alpha terms

chiSq_gof

Formal Chi-square goodness-of-fit test

chiSq_pearson

Pearson Chi-Square test

compareToGLM

Compare renewals fit to glm models fit

count_table

Summary of a count variable

Countr-package

Flexible Univariate Count Models Based on Renewal Processes

CountrFormula

Create a formula for renewalCount

dCount_allProbs_bi

Compute count probabilities using simple convolution

dCount_conv_bi

Compute count probabilities using convolution

dCount_conv_loglik_bi

Log-likelihood of a count probability computed by convolution (bi)

dCount_dePril_bi

Compute count probabilities using dePril convolution (bi)

dCount_naive_bi

Compute count probabilities using naive convolution (bi)

dmodifiedCount_bi

Compute count probabilities based on modified renewal process (bi)

dWeibullCount

Probability calculations for Weibull count models

dWeibullCount_mat

Univariate Weibull Count Probability

dWeibullgammaCount

Fast Univariate Weibull Count Probability with gamma heterogeneity

dWeibullgammaCount_mat

Univariate Weibull Count Probability with gamma heterogeneity

dWeibullgammaCount_mat_Covariates

Univariate Weibull Count Probability with gamma and covariate heteroge...

evCount_conv_bi

Expected value and variance of renewal count process

frequency_plot

Plot a frequency chart

getParNames

Return the names of distribution parameters

predict.renewal

Predict method for renewal objects

prob_predict

Probability predictions

renewal.control

Creates the renewal control list

renewal.convPars

Creates the convolution inputs setting

renewal

Deprecated old name of renewalCount()

renewal.seriesPars

Creates the series expansion inputs setting

renewal.weiMethod

Check weibull computation algorithm

renewal_methods

Methods for renewal objects

renewalCoef

Get named vector of coefficients for renewal objects

renewalCoefList

Split a vector using the prefixes of the names for grouping

renewalCount

Fit renewal count processes regression models

renewalNames

Get names of parameters of renewal regression models

residuals_plot

Method to visualise the residuals

se.coef

Extract Standard Errors of Model Coefficients

surv

Wrapper to built-in survival functions

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).

  • Maintainer: Georgi N. Boshnakov
  • License: GPL (>= 2)
  • Last published: 2025-12-06