{
  "_id": "6a33a8863efcd9bda43ab0ed",
  "Package": "flexCountReg",
  "Type": "Package",
  "Title": "Estimation of a Variety of Count Regression Models",
  "Version": "0.1.1",
  "Authors@R": "c(person(\"Jonathan\", \"Wood\", role = c(\"aut\", \"cre\"),\nemail = \"jwood2@iastate.edu\",\ncomment = c(ORCID = \"0000-0003-0131-6384\")),\nperson(\"Guillermo\", \"Basulto-Elias\", role = c(\"aut\"),\nemail = \"basulto@iastate.edu\",\ncomment = c(ORCID = \"0000-0002-5205-2190\")))",
  "Maintainer": "Jonathan Wood <jwood2@iastate.edu>",
  "Description": "An implementation of multiple regression models for count\ndata. These include various forms of the negative binomial\n(NB-1, NB-2, NB-P, generalized negative binomial, etc.),\nPoisson-Lognormal, other compound Poisson distributions, the\nGeneralized Waring model, etc. Information on the different\nforms of the negative binomial are described by Greene (2008)\n<doi:10.1016/j.econlet.2007.10.015>. For treatises on count\nmodels, see Cameron and Trivedi (2013)\n<doi:10.1017/CBO9781139013567> and Hilbe (2012)\n<doi:10.1017/CBO9780511973420>. For the implementation of\nunder-reporting in count models, see Wood et al. (2016)\n<doi:10.1016/j.aap.2016.06.013>. For prediction methods in\nrandom parameter models, see Wood and Gayah (2025)\n<doi:10.1016/j.aap.2025.108147>. For estimating random\nparameters using maximum simulated likelihood, see Greene and\nHill (2010) <doi:10.1108/S0731-9053(2010)26>; Gourieroux and\nMonfort (1996) <doi:10.1093/0198774753.001.0001>; or Hensher et\nal. (2015) <doi:10.1017/CBO9781316136232>.",
  "SystemRequirements": "GNU make",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Collate": "'Generalized-Waring.R' 'Lindley.R' 'RcppExports.R' 'cor2cov.R'\n'corr_haltons.R' 'helpers.R' 'plind.R' 'ppoisGE.R' 'psichel.R'\n'plindGamma.R' 'plindLnorm.R' 'ppoislogn.R' 'pinvgamma.R'\n'pinvgaus.R' 'countreg.R' 'createFlexCountReg.R' 'tri.R'\n'countregrp.R' 'cureplot.R' 'data.R' 'flexCountReg-Package.R'\n'flexCountRegClass.R' 'genexp.R' 'globals.R' 'halton_dists.R'\n'invgamma.R' 'metrics.R' 'mgf_lognormal.R' 'pcom.R'\n'poisLind.re.R' 'poisWeib.R' 'predict_flexCountReg.R'\n'regCompTest.R' 'regCompTable.R' 'renbLL.R' 'renb.R'\n'summary_flexCountReg.R'",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "URL": "https://jwood-iastate.github.io/flexCountReg/",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-18 08:06:39 UTC",
    "User": "root"
  },
  "Author": "Jonathan Wood [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0131-6384>), Guillermo\nBasulto-Elias [aut] (ORCID:\n<https://orcid.org/0000-0002-5205-2190>)",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-01-19 18:20:20 UTC",
  "RemoteUrl": "https://github.com/cran/flexCountReg",
  "RemoteRef": "HEAD",
  "RemoteSha": "d164064f5a9bca254ec709f59f2601143ec2a5b5",
  "MD5sum": "f2905869cf25e73207aad576f11bca4d",
  "_user": "cran",
  "_type": "src",
  "_file": "flexCountReg_0.1.1.tar.gz",
  "_fileid": "d9e4cca567bd856c4bcaa5250a285cc35bf398a59a41a224bdeef54c359e1989",
  "_filesize": 713143,
  "_sha256": "d9e4cca567bd856c4bcaa5250a285cc35bf398a59a41a224bdeef54c359e1989",
  "_created": "2026-06-18T08:06:39.000Z",
  "_published": "2026-06-18T08:12:54.447Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82083453729,
      "time": 264,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7717699244"
    },
    {
      "job": 82083453712,
      "time": 302,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7717712574"
    },
    {
      "job": 82083453647,
      "time": 326,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7717721763"
    },
    {
      "job": 82083453670,
      "time": 320,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7717718800"
    },
    {
      "job": 82082818840,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7717607058"
    },
    {
      "job": 82083453574,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7717655409"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27745520679",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/flexCountReg",
  "_commit": {
    "id": "d164064f5a9bca254ec709f59f2601143ec2a5b5",
    "author": "Jonathan Wood <jwood2@iastate.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1768846820
  },
  "_maintainer": {
    "name": "Jonathan Wood",
    "email": "jwood2@iastate.edu",
    "login": "jwood-iastate",
    "linkedin": "in/jonathan-wood-b738a689",
    "description": "",
    "uuid": 89786481,
    "orcid": "0000-0003-0131-6384"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "cureplots",
      "role": "Imports"
    },
    {
      "package": "gsl",
      "role": "Imports"
    },
    {
      "package": "gt",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "maxLik",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "modelr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "randtoolbox",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "lamW",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-01-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jwood-iastate",
      "count": 1,
      "uuid": 89786481
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 167,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/flexCountReg"
  },
  "_devurl": "https://github.com/jwood-iastate/flexcountreg",
  "_pkgdown": "https://jwood-iastate.github.io/flexCountReg/",
  "_searchresults": 4,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/flexCountReg.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jwood-iastate/flexcountreg",
  "_realowner": "jwood-iastate",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-01-19"
    }
  ],
  "_exports": [
    "cor2cov",
    "corr_haltons",
    "countreg",
    "countreg.rp",
    "cureplot",
    "dcom",
    "dgwar",
    "dinvgamma",
    "dlindley",
    "dpge",
    "dpinvgamma",
    "dpinvgaus",
    "dplind",
    "dplindGamma",
    "dplindLnorm",
    "dpLnorm",
    "dpoisweibull",
    "dsichel",
    "dtri",
    "halton_dists",
    "mae",
    "mgf_lognormal",
    "msg1",
    "myAIC",
    "myBIC",
    "pcom",
    "pgwar",
    "pinvgamma",
    "plindley",
    "poisLind.re",
    "ppge",
    "ppinvgamma",
    "ppinvgaus",
    "pplind",
    "pplindGamma",
    "pplindLnorm",
    "ppLnorm",
    "ppoisweibull",
    "psichel",
    "ptri",
    "qcom",
    "qgwar",
    "qinvgamma",
    "qlindley",
    "qpge",
    "qpinvgamma",
    "qpinvgaus",
    "qplind",
    "qplindGamma",
    "qplindLnorm",
    "qpLnorm",
    "qpoisweibull",
    "qsichel",
    "qtri",
    "rcom",
    "regCompTable",
    "regCompTest",
    "renb",
    "rgwar",
    "rinvgamma",
    "rlindley",
    "rmse",
    "rpge",
    "rpinvgamma",
    "rpinvgaus",
    "rplind",
    "rplindGamma",
    "rplindLnorm",
    "rpLnorm",
    "rpoisweibull",
    "rsichel",
    "rtri"
  ],
  "_datasets": [
    {
      "name": "washington_roads",
      "title": "Washington Road Crashes",
      "object": "washington_roads",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "Year",
        "AADT",
        "Length",
        "Total_crashes",
        "lnaadt",
        "lnlength",
        "speed50",
        "ShouldWidth04",
        "Fatal_crashes",
        "Injury_crashes",
        "Animal",
        "Rollover"
      ],
      "rows": 1501,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "COMDistribution",
      "title": "Conway-Maxwell-Poisson (COM) Distribution",
      "topics": [
        "COMDistribution",
        "dcom",
        "pcom",
        "qcom",
        "rcom"
      ]
    },
    {
      "page": "cor2cov",
      "title": "Generate a covariance matrix using a correlation matrix and vector of standard deviations",
      "topics": [
        "cor2cov"
      ]
    },
    {
      "page": "corr_haltons",
      "title": "Generate Correlated Random Variables Using Halton or Scrambled Halton Draws",
      "topics": [
        "corr_haltons"
      ]
    },
    {
      "page": "countreg",
      "title": "Count regression models",
      "topics": [
        "countreg"
      ]
    },
    {
      "page": "countreg.rp",
      "title": "Random Parameters Count Regression Models",
      "topics": [
        "countreg.rp"
      ]
    },
    {
      "page": "cureplot",
      "title": "Cumulative Residuals (CURE) Plot for Count Models",
      "topics": [
        "cureplot"
      ]
    },
    {
      "page": "Lindley",
      "title": "One-Parameter Lindley Distribution",
      "topics": [
        "dlindley",
        "plindley",
        "qlindley",
        "rlindley"
      ]
    },
    {
      "page": "flexCountReg-class",
      "title": "flexCountReg Class",
      "topics": [
        "flexCountReg-class"
      ]
    },
    {
      "page": "Generalized-Waring",
      "title": "Generalized Waring Distribution",
      "topics": [
        "dgwar",
        "Generalized-Waring",
        "pgwar",
        "qgwar",
        "rgwar"
      ]
    },
    {
      "page": "halton_dists",
      "title": "Generate pseudo-random draws from specified distributions using Halton draws",
      "topics": [
        "halton_dists"
      ]
    },
    {
      "page": "invgamma",
      "title": "Inverse Gamma Distribution",
      "topics": [
        "dinvgamma",
        "invgamma",
        "pinvgamma",
        "qinvgamma",
        "rinvgamma"
      ]
    },
    {
      "page": "mae",
      "title": "Calculate Mean Absolute Error (MAE)",
      "topics": [
        "mae"
      ]
    },
    {
      "page": "mgf_lognormal",
      "title": "Moment Generating Function for a Lognormal Distribution",
      "topics": [
        "mgf_lognormal"
      ]
    },
    {
      "page": "myAIC",
      "title": "Calculate Akaike Information Criterion (AIC)",
      "topics": [
        "myAIC"
      ]
    },
    {
      "page": "myBIC",
      "title": "Calculate Bayesian Information Criterion (BIC)",
      "topics": [
        "myBIC"
      ]
    },
    {
      "page": "NegativeBinomialLindley",
      "title": "Poisson-Lindley-Gamma (Negative Binomial-Lindley) Distribution",
      "topics": [
        "dplindGamma",
        "NegativeBinomialLindley",
        "pplindGamma",
        "qplindGamma",
        "rplindGamma"
      ]
    },
    {
      "page": "poisLindRE",
      "title": "Function for estimating a Random Effects Poisson-Lindley regression model",
      "topics": [
        "poisLind.re",
        "poisLindRE"
      ]
    },
    {
      "page": "PoissonGeneralizedExponential",
      "title": "Poisson-Generalized-Exponential Distribution",
      "topics": [
        "dpge",
        "PoissonGeneralizedExponential",
        "ppge",
        "qpge",
        "rpge"
      ]
    },
    {
      "page": "PoissonInverseGamma",
      "title": "Poisson-Inverse-Gamma Distribution",
      "topics": [
        "dpinvgamma",
        "PoissonInverseGamma",
        "ppinvgamma",
        "qpinvgamma",
        "rpinvgamma"
      ]
    },
    {
      "page": "PoissonInverseGaussian",
      "title": "Poisson-Inverse-Gaussian Distribution",
      "topics": [
        "dpinvgaus",
        "PoissonInverseGaussian",
        "ppinvgaus",
        "qpinvgaus",
        "rpinvgaus"
      ]
    },
    {
      "page": "PoissonLindley",
      "title": "Poisson-Lindley Distribution",
      "topics": [
        "dplind",
        "msg1",
        "PoissonLindley",
        "pplind",
        "qplind",
        "rplind"
      ]
    },
    {
      "page": "PoissonLindleyLognormal",
      "title": "Poisson-Lindley-Lognormal Distribution",
      "topics": [
        "dplindLnorm",
        "PoissonLindleyLognormal",
        "pplindLnorm",
        "qplindLnorm",
        "rplindLnorm"
      ]
    },
    {
      "page": "PoissonLognormal",
      "title": "Poisson-Lognormal Distribution",
      "topics": [
        "dpLnorm",
        "PoissonLognormal",
        "ppLnorm",
        "qpLnorm",
        "rpLnorm"
      ]
    },
    {
      "page": "PoissonWeibull",
      "title": "Poisson-Weibull Distribution Functions",
      "topics": [
        "dpoisweibull",
        "PoissonWeibull",
        "ppoisweibull",
        "qpoisweibull",
        "rpoisweibull"
      ]
    },
    {
      "page": "predict.flexCountReg",
      "title": "Predictions for flexCountReg models",
      "topics": [
        "predict.flexCountReg"
      ]
    },
    {
      "page": "regCompTable",
      "title": "Create a Table Comparing Regression Models with AIC, BIC, and McFadden's Pseudo-R-Squared",
      "topics": [
        "regCompTable"
      ]
    },
    {
      "page": "regCompTest",
      "title": "Compare Regression Models with Likelihood Ratio Test, AIC, and BIC",
      "topics": [
        "regCompTest"
      ]
    },
    {
      "page": "renb",
      "title": "Estimate a Random Effects Negative Binomial regression model",
      "topics": [
        "renb"
      ]
    },
    {
      "page": "rmse",
      "title": "Calculate Root Mean Squared Error (RMSE)",
      "topics": [
        "rmse"
      ]
    },
    {
      "page": "SichelDistribution",
      "title": "Sichel Distribution",
      "topics": [
        "dsichel",
        "psichel",
        "qsichel",
        "rsichel",
        "SichelDistribution"
      ]
    },
    {
      "page": "summary.flexCountReg",
      "title": "Custom summary method for flexCountReg models",
      "topics": [
        "summary.flexCountReg"
      ]
    },
    {
      "page": "tidy.flexCountReg",
      "title": "Tidy a flexCountReg object",
      "topics": [
        "tidy.flexCountReg"
      ]
    },
    {
      "page": "Triangular",
      "title": "Triangle Distribution",
      "topics": [
        "dtri",
        "ptri",
        "qtri",
        "rtri",
        "Triangular"
      ]
    },
    {
      "page": "washington_roads",
      "title": "Washington Road Crashes",
      "topics": [
        "washington_roads"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/flexCountReg/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/flexCountReg/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bigD",
    "bitops",
    "broom",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "cureplots",
    "curl",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gsl",
    "gt",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "MASS",
    "maxLik",
    "memoise",
    "mime",
    "miscTools",
    "modelr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "randtoolbox",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "rlang",
    "rmarkdown",
    "rngWELL",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "truncnorm",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 1.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "flexcountreg",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://jwood-iastate.r-universe.dev/flexCountReg",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-18T08:09:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d164064f5a9bca254ec709f59f2601143ec2a5b5",
      "fileid": "d62d796857e3cb88ba9dd3f54cc5dd8f7e4880ca8d5fd0ba9ff1ec22a8cf130b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27745520679"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-18T08:09:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d164064f5a9bca254ec709f59f2601143ec2a5b5",
      "fileid": "458e14bb78f203ebe84e78f29112f897b1bd207f700f69191b83e1bbafd18939",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27745520679"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-18T08:10:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d164064f5a9bca254ec709f59f2601143ec2a5b5",
      "fileid": "f72649fcd78cc234885e0d4dc999ef0c1add951a23004f15f4f47fc59faf4a8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27745520679"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-18T08:09:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d164064f5a9bca254ec709f59f2601143ec2a5b5",
      "fileid": "d48ce1771de9634e509f365c9cea842b5c69e6383933084b9126a0f40f9c5afd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27745520679"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-18T08:09:19.000Z",
      "arch": "emscripten",
      "commit": "d164064f5a9bca254ec709f59f2601143ec2a5b5",
      "fileid": "c679d84cfa0741fe4866431ebdcecbcf985bffb05f3eefc3765de0f07017d53f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27745520679"
    }
  ]
}