{
  "_id": "6a213788cd65a98ecbd26fd5",
  "Package": "CLVTools",
  "Title": "Tools for Customer Lifetime Value Estimation",
  "Version": "0.12.1",
  "Date": "2025-11-06",
  "Authors@R": "c(\nperson(given=\"Patrick\", family=\"Bachmann\",    email = \"pbachma@ethz.ch\", role = c(\"cre\",\"aut\")),\nperson(given=\"Niels\",   family=\"Kuebler\",     email = \"niels.kuebler@uzh.ch\", role = \"aut\"),\nperson(given=\"Markus\",  family=\"Meierer\",     email = \"markus.meierer@business.uzh.ch\", role = \"aut\"),\nperson(given=\"Jeffrey\", family=\"Naef\",        email = \"naef@stat.math.ethz.ch\",role = \"aut\"),\nperson(given=\"E. Shin\", family=\"Oblander\",    email = \"eoblander23@gsb.columbia.edu\",role = \"aut\"),\nperson(given=\"Patrik\",  family=\"Schilter\",    email = \"patrik.schilter@gmail.com\",role = \"aut\")\n)",
  "Description": "A set of state-of-the-art probabilistic modeling\napproaches to derive estimates of individual customer lifetime\nvalues (CLV). Commonly, probabilistic approaches focus on\nmodelling 3 processes, i.e. individuals' attrition,\ntransaction, and spending process. Latent customer attrition\nmodels, which are also known as \"buy-'til-you-die models\",\nmodel the attrition as well as the transaction process. They\nare used to make inferences and predictions about transactional\npatterns of individual customers such as their future purchase\nbehavior. Moreover, these models have also been used to predict\nindividuals’ long-term engagement in activities such as playing\nan online game or posting to a social media platform. The\nspending process is usually modelled by a separate\nprobabilistic model. Combining these results yields in lifetime\nvalues estimates for individual customers. This package\nincludes fast and accurate implementations of various\nprobabilistic models for non-contractual settings (e.g.,\ngrocery purchases or hotel visits). All implementations support\ntime-invariant covariates, which can be used to control for\ne.g., socio-demographics. If such an extension has been\nproposed in literature, we further provide the possibility to\ncontrol for time-varying covariates to control for e.g.,\nseasonal patterns. Currently, the package includes the\nfollowing latent attrition models to model individuals'\nattrition and transaction process: [1] Pareto/NBD model\n(Pareto/Negative-Binomial-Distribution), [2] the Extended\nPareto/NBD model (Pareto/Negative-Binomial-Distribution with\ntime-varying covariates), [3] the BG/NBD model\n(Beta-Gamma/Negative-Binomial-Distribution) and the [4]\nGGom/NBD (Gamma-Gompertz/Negative-Binomial-Distribution).\nFurther, we provide an implementation of the Gamma/Gamma model\nto model the spending process of individuals.",
  "License": "GPL-3",
  "URL": "https://github.com/bachmannpatrick/CLVTools",
  "BugReports": "https://github.com/bachmannpatrick/CLVTools/issues",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GNU GSL",
  "LazyLoad": "yes",
  "Encoding": "UTF-8",
  "Collate": "'CLVTools.R' 'RcppExports.R' 'all_generics.R'\n'catch-routine-registration.R' 'class_clv_time.R'\n'class_clv_data.R' 'class_clv_model.R' 'class_clv_fitted.R'\n'class_clv_fitted_transactions.R'\n'class_clv_model_nocorrelation.R' 'class_clv_model_bgnbd.R'\n'class_clv_bgnbd.R' 'class_clv_fitted_transactions_staticcov.R'\n'class_clv_data_staticcovariates.R'\n'class_clv_model_bgnbd_staticcov.R'\n'class_clv_bgnbd_staticcov.R'\n'class_clv_data_dynamiccovariates.R'\n'class_clv_fitted_spending.R'\n'class_clv_fitted_transactions_dynamiccov.R'\n'class_clv_model_gg.R' 'class_clv_gg.R'\n'class_clv_model_ggomnbd_nocov.R' 'class_clv_ggomnbd.R'\n'class_clv_model_ggomnbd_staticcov.R'\n'class_clv_ggomnbd_staticcov.R'\n'class_clv_model_withcorrelation.R' 'class_clv_model_pnbd.R'\n'class_clv_model_pnbd_staticcov.R'\n'class_clv_model_pnbd_dynamiccov.R' 'class_clv_pnbd.R'\n'class_clv_pnbd_dynamiccov.R' 'class_clv_pnbd_staticcov.R'\n'class_clv_time_date.R' 'class_clv_time_datetime.R'\n'class_clv_time_days.R' 'class_clv_time_hours.R'\n'class_clv_time_weeks.R' 'class_clv_time_years.R'\n'clv_template_controlflow_estimate.R'\n'clv_template_controlflow_pmf.R'\n'clv_template_controlflow_predict.R' 'data.R'\n'f_DoExpectation.R' 'f_clvdata_inputchecks.R'\n'f_clvfitted_inputchecks.R' 'f_generics_clvdata.R'\n'f_generics_clvdatadyncov.R' 'f_generics_clvdatastaticcov.R'\n'f_generics_clvfitted.R' 'f_generics_clvfitted_estimate.R'\n'f_generics_clvfittedspending.R'\n'f_generics_clvfittedtransactions.R'\n'f_generics_clvfittedtransactionsdyncov.R'\n'f_generics_clvfittedtransactionsstaticcov.R'\n'f_generics_clvfittedtransactionsstaticcov_estimate.R'\n'f_generics_clvpnbddyncov.R' 'f_interface_bgbb.R'\n'f_interface_bgnbd.R' 'f_interface_bootstrappedapply.R'\n'f_interface_clvdata.R' 'f_interface_gg.R'\n'f_interface_ggomnbd.R' 'f_interface_hessian.R'\n'f_interface_latentattrition.R' 'f_interface_lrtest.R'\n'f_interface_newcustomer.R' 'f_interface_pmf.R'\n'f_interface_pnbd.R' 'f_interface_predict_clvfittedspending.R'\n'f_interface_predict_clvfittedtransactions.R'\n'f_interface_setdynamiccovariates.R'\n'f_interface_setstaticcovariates.R' 'f_interface_spending.R'\n'f_s3generics_clvdata.R' 'f_s3generics_clvdata_dynamiccov.R'\n'f_s3generics_clvdata_plot.R'\n'f_s3generics_clvdata_staticcov.R' 'f_s3generics_clvfitted.R'\n'f_s3generics_clvfittedspending_plot.R'\n'f_s3generics_clvfittedtransactions_plot.R'\n'f_s3generics_clvfittedtransactions_staticcov.R'\n'f_s3generics_clvtime.R' 'interlayer_callLL.R'\n'interlayer_callnextinterlayer.R' 'interlayer_constraints.R'\n'interlayer_correlation.R' 'interlayer_manager.R'\n'interlayer_regularization.R' 'pnbd_dyncov_ABCD.R'\n'pnbd_dyncov_BkSum.R' 'pnbd_dyncov_CET.R' 'pnbd_dyncov_DECT.R'\n'pnbd_dyncov_createwalks.R' 'pnbd_dyncov_expectation.R'\n'pnbd_dyncov_palive.R'",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr, R.rsp",
  "Config/testthat/parallel": "false",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libgsl0-dev libuv1-dev",
  "Repository": "https://bachmannpatrick.r-universe.dev",
  "Date/Publication": "2025-11-06 19:07:36 UTC",
  "RemoteUrl": "https://github.com/bachmannpatrick/clvtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
  "Packaged": {
    "Date": "2026-06-04 08:16:59 UTC",
    "User": "root"
  },
  "Author": "Patrick Bachmann [cre, aut],\nNiels Kuebler [aut],\nMarkus Meierer [aut],\nJeffrey Naef [aut],\nE. Shin Oblander [aut],\nPatrik Schilter [aut]",
  "Maintainer": "Patrick Bachmann <pbachma@ethz.ch>",
  "MD5sum": "a729a3aa46edf25634c63e1dfe678997",
  "_user": "bachmannpatrick",
  "_type": "src",
  "_file": "CLVTools_0.12.1.tar.gz",
  "_fileid": "095fcb9b6edbc32b5bbcb7ee93c740b84e7e8ce13fa5f2092002c0e137af1566",
  "_filesize": 2838556,
  "_sha256": "095fcb9b6edbc32b5bbcb7ee93c740b84e7e8ce13fa5f2092002c0e137af1566",
  "_created": "2026-06-04T08:16:59.000Z",
  "_published": "2026-06-04T08:30:00.414Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79478197133,
      "time": 299,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406533192"
    },
    {
      "job": 79478197142,
      "time": 294,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406529491"
    },
    {
      "job": 79478197164,
      "time": 273,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406524226"
    },
    {
      "job": 79478197198,
      "time": 295,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406530047"
    },
    {
      "job": 79478197193,
      "time": 329,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406529192"
    },
    {
      "job": 79478197355,
      "time": 665,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406644615"
    },
    {
      "job": 79478197327,
      "time": 287,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406512353"
    },
    {
      "job": 79478197136,
      "time": 525,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406596373"
    },
    {
      "job": 79477287657,
      "time": 346,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406436077"
    },
    {
      "job": 79478197121,
      "time": 184,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406494322"
    },
    {
      "job": 79478197091,
      "time": 384,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406558374"
    },
    {
      "job": 79478197088,
      "time": 427,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406572032"
    },
    {
      "job": 79478197123,
      "time": 366,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406553124"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bachmannpatrick/clvtools",
  "_commit": {
    "id": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
    "author": "Patrik Schilter <patrik.schilter@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release v0.12.1 (#300)\n\nAs went to CRAN:\n\n* Version bump\n* Update readme & vignette abstract (#298)\n* Predict newcustomer(): Include initial order (1+expectation) (#299)\n* Prepare release",
    "time": 1762456056
  },
  "_maintainer": {
    "name": "Patrick Bachmann",
    "email": "pbachma@ethz.ch",
    "login": "bachmannpatrick",
    "description": "",
    "uuid": 5851114
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.11.4.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "RcppGSL",
      "version": ">= 0.3.7",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "data.table",
      "version": ">= 1.12.0",
      "role": "Imports"
    },
    {
      "package": "digest",
      "version": ">= 0.6.0",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "version": ">= 1.2-4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.2.0",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "version": ">= 1.7.8",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "version": ">= 2016.8-1.1",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.2-17",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "optimx",
      "version": ">= 2019-12.02",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.12",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "bachmannpatrick",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.12.0",
      "date": "2025-10-29"
    },
    {
      "name": "v0.12.1",
      "date": "2025-11-06"
    }
  ],
  "_topics": [
    "clv",
    "customer-lifetime-value",
    "customer-relationship-management",
    "openblas",
    "gsl",
    "cpp",
    "openmp"
  ],
  "_stars": 59,
  "_contributors": [
    {
      "user": "pschil",
      "count": 184,
      "uuid": 11665059
    },
    {
      "user": "mmeierer",
      "count": 9,
      "uuid": 5850777
    },
    {
      "user": "niels89",
      "count": 4,
      "uuid": 2183622
    },
    {
      "user": "bachmannpatrick",
      "count": 4,
      "uuid": 5851114
    }
  ],
  "_userbio": {
    "uuid": 5851114,
    "type": "user",
    "name": "Patrick Bachmann"
  },
  "_downloads": {
    "count": 337,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CLVTools"
  },
  "_devurl": "https://github.com/bachmannpatrick/clvtools",
  "_searchresults": 28,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CLVTools.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bachmannpatrick/clvtools",
  "_realowner": "bachmannpatrick",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2020-05-08"
    },
    {
      "version": "0.6.0",
      "date": "2020-06-24"
    },
    {
      "version": "0.7.0",
      "date": "2020-08-26"
    },
    {
      "version": "0.8.0",
      "date": "2021-03-23"
    },
    {
      "version": "0.8.1",
      "date": "2021-10-19"
    },
    {
      "version": "0.9.0",
      "date": "2022-01-09"
    },
    {
      "version": "0.10.0",
      "date": "2023-10-23"
    },
    {
      "version": "0.11.0",
      "date": "2024-08-17"
    },
    {
      "version": "0.11.1",
      "date": "2024-10-13"
    },
    {
      "version": "0.11.2",
      "date": "2024-12-02"
    },
    {
      "version": "0.12.0",
      "date": "2025-09-22"
    },
    {
      "version": "0.12.1",
      "date": "2025-11-06"
    }
  ],
  "_exports": [
    "as.clv.data",
    "bgbb",
    "bgnbd",
    "clv.bootstrapped.apply",
    "clvdata",
    "gg",
    "ggomnbd",
    "hessian",
    "latentAttrition",
    "lrtest",
    "newcustomer",
    "newcustomer.dynamic",
    "newcustomer.spending",
    "newcustomer.static",
    "plot",
    "pmf",
    "pnbd",
    "predict",
    "SetDynamicCovariates",
    "SetStaticCovariates",
    "show",
    "spending"
  ],
  "_datasets": [
    {
      "name": "apparelDynCov",
      "title": "Time-varying Covariates for the Apparel Retailer Dataset",
      "object": "apparelDynCov",
      "file": "apparelDynCov.rda",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "Id",
        "Cov.Date",
        "High.Season",
        "Gender",
        "Channel"
      ],
      "rows": 187800,
      "table": true,
      "tojson": true
    },
    {
      "name": "apparelDynCovFuture",
      "title": "Future Time-varying Covariates for the Apparel Retailer Dataset",
      "object": "apparelDynCovFuture",
      "file": "apparelDynCovFuture.rda",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "Id",
        "Cov.Date",
        "High.Season",
        "Gender",
        "Channel"
      ],
      "rows": 56400,
      "table": true,
      "tojson": true
    },
    {
      "name": "apparelStaticCov",
      "title": "Time-invariant Covariates for the Apparel Retailer Dataset",
      "object": "apparelStaticCov",
      "file": "apparelStaticCov.rda",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "Id",
        "Gender",
        "Channel"
      ],
      "rows": 600,
      "table": true,
      "tojson": true
    },
    {
      "name": "apparelTrans",
      "title": "Apparel Retailer Dataset",
      "object": "apparelTrans",
      "file": "apparelTrans.rda",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "Id",
        "Date",
        "Price"
      ],
      "rows": 3187,
      "table": true,
      "tojson": true
    },
    {
      "name": "cdnow",
      "title": "CDNOW dataset",
      "object": "cdnow",
      "file": "cdnow.rda",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "Id",
        "Date",
        "CDs",
        "Price"
      ],
      "rows": 6696,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CLVTools-package",
      "title": "Customer Lifetime Value Tools",
      "topics": [
        "CLVTools-package",
        "CLVTools"
      ]
    },
    {
      "page": "apparelDynCov",
      "title": "Time-varying Covariates for the Apparel Retailer Dataset",
      "topics": [
        "apparelDynCov"
      ]
    },
    {
      "page": "apparelDynCovFuture",
      "title": "Future Time-varying Covariates for the Apparel Retailer Dataset",
      "topics": [
        "apparelDynCovFuture"
      ]
    },
    {
      "page": "apparelStaticCov",
      "title": "Time-invariant Covariates for the Apparel Retailer Dataset",
      "topics": [
        "apparelStaticCov"
      ]
    },
    {
      "page": "apparelTrans",
      "title": "Apparel Retailer Dataset",
      "topics": [
        "apparelTrans"
      ]
    },
    {
      "page": "as.clv.data",
      "title": "Coerce to clv.data object",
      "topics": [
        "as.clv.data",
        "as.clv.data.data.frame",
        "as.clv.data.data.table"
      ]
    },
    {
      "page": "as.data.frame.clv.data",
      "title": "Coerce to a Data Frame",
      "topics": [
        "as.data.frame.clv.data"
      ]
    },
    {
      "page": "as.data.table.clv.data",
      "title": "Coerce to a Data Table",
      "topics": [
        "as.data.table.clv.data"
      ]
    },
    {
      "page": "bgbb",
      "title": "BG/BB models - Work In Progress",
      "topics": [
        "bgbb",
        "bgbb,clv.data-method",
        "bgbb,clv.data.dynamic.covariates-method",
        "bgbb,clv.data.static.covariates-method"
      ]
    },
    {
      "page": "bgnbd",
      "title": "BG/NBD models",
      "topics": [
        "bgnbd",
        "bgnbd,clv.data-method",
        "bgnbd,clv.data.dynamic.covariates-method",
        "bgnbd,clv.data.static.covariates-method"
      ]
    },
    {
      "page": "bgnbd_CET",
      "title": "BG/NBD: Conditional Expected Transactions",
      "topics": [
        "bgnbd_CET",
        "bgnbd_nocov_CET",
        "bgnbd_staticcov_CET"
      ]
    },
    {
      "page": "bgnbd_expectation",
      "title": "BG/NBD: Unconditional Expectation",
      "topics": [
        "bgnbd_expectation",
        "bgnbd_nocov_expectation",
        "bgnbd_staticcov_expectation"
      ]
    },
    {
      "page": "bgnbd_LL",
      "title": "BG/NBD: Log-Likelihood functions",
      "topics": [
        "bgnbd_LL",
        "bgnbd_nocov_LL_ind",
        "bgnbd_nocov_LL_sum",
        "bgnbd_staticcov_LL_ind",
        "bgnbd_staticcov_LL_sum"
      ]
    },
    {
      "page": "bgnbd_PAlive",
      "title": "BG/NBD: Probability of Being Alive",
      "topics": [
        "bgnbd_nocov_PAlive",
        "bgnbd_PAlive",
        "bgnbd_staticcov_PAlive"
      ]
    },
    {
      "page": "bgnbd_pmf",
      "title": "BG/NBD: Probability Mass Function (PMF)",
      "topics": [
        "bgnbd_nocov_PMF",
        "bgnbd_pmf",
        "bgnbd_staticcov_PMF"
      ]
    },
    {
      "page": "cdnow",
      "title": "CDNOW dataset",
      "topics": [
        "cdnow"
      ]
    },
    {
      "page": "clv.bootstrapped.apply",
      "title": "Bootstrapping: Fit a model again on sampled data and apply method",
      "topics": [
        "clv.bootstrapped.apply"
      ]
    },
    {
      "page": "clvdata",
      "title": "Create an object for transactional data required to estimate CLV",
      "topics": [
        "clvdata"
      ]
    },
    {
      "page": "fitted.clv.fitted",
      "title": "Extract Unconditional Expectation",
      "topics": [
        "fitted.clv.fitted"
      ]
    },
    {
      "page": "gg",
      "title": "Gamma/Gamma Spending model",
      "topics": [
        "gg",
        "gg,clv.data-method"
      ]
    },
    {
      "page": "gg_LL",
      "title": "Gamma-Gamma: Log-Likelihood Function",
      "topics": [
        "gg_LL"
      ]
    },
    {
      "page": "ggomnbd",
      "title": "Gamma-Gompertz/NBD model",
      "topics": [
        "ggomnbd",
        "ggomnbd,clv.data-method",
        "ggomnbd,clv.data.dynamic.covariates-method",
        "ggomnbd,clv.data.static.covariates-method"
      ]
    },
    {
      "page": "ggomnbd_CET",
      "title": "GGompertz/NBD: Conditional Expected Transactions",
      "topics": [
        "ggomnbd_CET",
        "ggomnbd_nocov_CET",
        "ggomnbd_staticcov_CET"
      ]
    },
    {
      "page": "ggomnbd_expectation",
      "title": "GGompertz/NBD: Unconditional Expectation",
      "topics": [
        "ggomnbd_expectation",
        "ggomnbd_nocov_expectation",
        "ggomnbd_staticcov_expectation"
      ]
    },
    {
      "page": "ggomnbd_LL",
      "title": "GGompertz/NBD: Log-Likelihood functions",
      "topics": [
        "ggomnbd_LL",
        "ggomnbd_nocov_LL_ind",
        "ggomnbd_nocov_LL_sum",
        "ggomnbd_staticcov_LL_ind",
        "ggomnbd_staticcov_LL_sum"
      ]
    },
    {
      "page": "ggomnbd_PAlive",
      "title": "GGompertz/NBD: Probability of Being Alive",
      "topics": [
        "ggomnbd_nocov_PAlive",
        "ggomnbd_PAlive",
        "ggomnbd_staticcov_PAlive"
      ]
    },
    {
      "page": "ggomnbd_PMF",
      "title": "GGompertz/NBD: Probability Mass Function (PMF)",
      "topics": [
        "ggomnbd_nocov_PMF",
        "ggomnbd_PMF",
        "ggomnbd_staticcov_PMF"
      ]
    },
    {
      "page": "hessian",
      "title": "Calculate hessian for a fitted model",
      "topics": [
        "hessian",
        "hessian,clv.fitted-method",
        "hessian.clv.fitted"
      ]
    },
    {
      "page": "latentAttrition",
      "title": "Formula Interface for Latent Attrition Models",
      "topics": [
        "latentAttrition"
      ]
    },
    {
      "page": "lrtest",
      "title": "Likelihood Ratio Test of Nested Models",
      "topics": [
        "lrtest",
        "lrtest,clv.fitted-method",
        "lrtest.clv.fitted"
      ]
    },
    {
      "page": "newcustomer",
      "title": "New customer prediction data",
      "topics": [
        "newcustomer",
        "newcustomer.dynamic",
        "newcustomer.spending",
        "newcustomer.static"
      ]
    },
    {
      "page": "nobs.clv.data",
      "title": "Number of observations",
      "topics": [
        "nobs.clv.data"
      ]
    },
    {
      "page": "nobs.clv.fitted",
      "title": "Number of observations",
      "topics": [
        "nobs.clv.fitted"
      ]
    },
    {
      "page": "plot.clv.data",
      "title": "Plot Diagnostics for the Transaction data in a clv.data Object",
      "topics": [
        "plot.clv.data"
      ]
    },
    {
      "page": "plot.clv.fitted.spending",
      "title": "Plot expected and actual mean spending per transaction",
      "topics": [
        "plot,clv.fitted.spending-method",
        "plot.clv.fitted.spending"
      ]
    },
    {
      "page": "plot.clv.fitted.transactions",
      "title": "Plot Diagnostics for a Fitted Transaction Model",
      "topics": [
        "plot",
        "plot,clv.fitted.transactions-method",
        "plot.clv.fitted.transactions"
      ]
    },
    {
      "page": "pmf",
      "title": "Probability Mass Function",
      "topics": [
        "pmf",
        "pmf,clv.fitted.transactions-method"
      ]
    },
    {
      "page": "pnbd",
      "title": "Pareto/NBD models",
      "topics": [
        "pnbd",
        "pnbd,clv.data-method",
        "pnbd,clv.data.dynamic.covariates-method",
        "pnbd,clv.data.static.covariates-method"
      ]
    },
    {
      "page": "pnbd_CET",
      "title": "Pareto/NBD: Conditional Expected Transactions",
      "topics": [
        "pnbd_CET",
        "pnbd_nocov_CET",
        "pnbd_staticcov_CET"
      ]
    },
    {
      "page": "pnbd_DERT",
      "title": "Pareto/NBD: Discounted Expected Residual Transactions",
      "topics": [
        "pnbd_DERT",
        "pnbd_nocov_DERT",
        "pnbd_staticcov_DERT"
      ]
    },
    {
      "page": "pnbd_expectation",
      "title": "Pareto/NBD: Unconditional Expectation",
      "topics": [
        "pnbd_expectation",
        "pnbd_nocov_expectation",
        "pnbd_staticcov_expectation"
      ]
    },
    {
      "page": "pnbd_LL",
      "title": "Pareto/NBD: Log-Likelihood functions",
      "topics": [
        "pnbd_LL",
        "pnbd_nocov_LL_ind",
        "pnbd_nocov_LL_sum",
        "pnbd_staticcov_LL_ind",
        "pnbd_staticcov_LL_sum"
      ]
    },
    {
      "page": "pnbd_PAlive",
      "title": "Pareto/NBD: Probability of Being Alive",
      "topics": [
        "pnbd_nocov_PAlive",
        "pnbd_PAlive",
        "pnbd_staticcov_PAlive"
      ]
    },
    {
      "page": "pnbd_pmf",
      "title": "Pareto/NBD: Probability Mass Function (PMF)",
      "topics": [
        "pnbd_nocov_PMF",
        "pnbd_pmf",
        "pnbd_staticcov_PMF"
      ]
    },
    {
      "page": "predict.clv.fitted.spending",
      "title": "Infer customers' spending",
      "topics": [
        "predict,clv.fitted.spending-method",
        "predict.clv.fitted.spending"
      ]
    },
    {
      "page": "predict.clv.fitted.transactions",
      "title": "Predict CLV from a fitted transaction model",
      "topics": [
        "predict",
        "predict,clv.fitted.transactions-method",
        "predict.clv.fitted.transactions"
      ]
    },
    {
      "page": "SetDynamicCovariates",
      "title": "Add Dynamic Covariates to a CLV data object",
      "topics": [
        "SetDynamicCovariates"
      ]
    },
    {
      "page": "SetStaticCovariates",
      "title": "Add Static Covariates to a CLV data object",
      "topics": [
        "SetStaticCovariates"
      ]
    },
    {
      "page": "spending",
      "title": "Formula Interface for Spending Models",
      "topics": [
        "spending"
      ]
    },
    {
      "page": "subset.clv.data",
      "title": "Subsetting clv.data",
      "topics": [
        "subset",
        "subset.clv.data"
      ]
    },
    {
      "page": "summary.clv.fitted",
      "title": "Summarizing a fitted CLV model",
      "topics": [
        "print.summary.clv.fitted",
        "summary.clv.fitted",
        "summary.clv.fitted.transactions.static.cov"
      ]
    },
    {
      "page": "vcov.clv.fitted",
      "title": "Calculate Variance-Covariance Matrix for CLV Models fitted with Maximum Likelihood Estimation",
      "topics": [
        "vcov.clv.fitted"
      ]
    }
  ],
  "_readme": "https://github.com/bachmannpatrick/clvtools/raw/HEAD/README.md",
  "_rundeps": [
    "brio",
    "callr",
    "cli",
    "cpp11",
    "crayon",
    "data.table",
    "desc",
    "diffobj",
    "digest",
    "evaluate",
    "farver",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "nloptr",
    "numDeriv",
    "optimx",
    "pkgbuild",
    "pkgload",
    "pracma",
    "praise",
    "processx",
    "ps",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppGSL",
    "rlang",
    "rprojroot",
    "S7",
    "scales",
    "testthat",
    "timechange",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libgsl",
      "package": "libgsl27",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.7.1+dfsg-6ubuntu2",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "CLVTools_advanced_techniques.pdf.asis",
      "filename": "CLVTools_advanced_techniques.pdf",
      "title": "Advanced and Very Advanced Modeling Techniques in CLVTools",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2025-10-29 22:58:17",
      "modified": "2025-10-29 22:58:17",
      "commits": 1
    },
    {
      "source": "CLVTools_classes.pdf.asis",
      "filename": "CLVTools_classes.pdf",
      "title": "Classes in CLVTools",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2025-10-29 22:58:17",
      "modified": "2025-10-29 22:58:17",
      "commits": 1
    },
    {
      "source": "CLVTools_intuitive_explanations.pdf.asis",
      "filename": "CLVTools_intuitive_explanations.pdf",
      "title": "Probabilistic Models for Analyzing Customer Purchase Behavior: A Primer",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2025-10-29 22:58:17",
      "modified": "2025-10-29 22:58:17",
      "commits": 1
    },
    {
      "source": "CLVTools.Rmd",
      "filename": "CLVTools.html",
      "title": "Walkthrough for the CLVTools Package",
      "author": "Patrick Bachmann, Patrik Schilter, Jeffrey Näf, Markus Meierer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Prerequisites: Setup the R environment",
        "Apply the CLVTools Package",
        "General workflow",
        "Load sample data provided in the package",
        "Initialize the CLV-Object",
        "Check the clvdata Object",
        "Estimate Model Parameters",
        "Estimating the model using formula interface:",
        "Estimating the model using non-formula interface:",
        "Predict Customer Behavior",
        "Plotting",
        "Covariates",
        "Add Correlation to the model",
        "Advanced Options for Covariates",
        "Customer Spending",
        "Estimate Model Parameters",
        "Predict Customer Spending",
        "Plot Spendings",
        "Literature"
      ],
      "created": "2020-05-08 23:14:39",
      "modified": "2025-11-06 19:07:36",
      "commits": 10
    }
  ],
  "_score": 7.297191289031988,
  "_indexed": true,
  "_nocasepkg": "clvtools",
  "_universes": [
    "bachmannpatrick"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.12.1",
      "date": "2026-06-04T08:20:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "05ad007ced22e3a21e9301d66cfb84ed0c398d3bd5073fc3ccae2eba3742c803",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.12.1",
      "date": "2026-06-04T08:20:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "c2f53c56d51c849b52075472cc798ac26672bd120eae16582662aec10b101a30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.12.1",
      "date": "2026-06-04T08:20:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "22001da86c870af56cbd4da91beb56b758b9cfc0adc90499119cef548d5c59f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.12.1",
      "date": "2026-06-04T08:20:38.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "1ec4e63025e128dbaf24df7a95bbed30df5e5b4737e0a2794c0fd0a00d4bbcbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.12.1",
      "date": "2026-06-04T08:21:10.000Z",
      "arch": "aarch64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "3211bdb65ce573cd1b97b37ddb01a1c2775edc36547c59e41813692a464613a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.12.1",
      "date": "2026-06-04T08:23:55.000Z",
      "arch": "x86_64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "9d66c491329f5f6b627a958a1258c5397a42df45390c1823c69cd5d34f4185d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.12.1",
      "date": "2026-06-04T08:20:10.000Z",
      "arch": "aarch64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "151ecfe8b954c84ab3af162d216badcc217303ee7fca04953d385b064b27ee0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.12.1",
      "date": "2026-06-04T08:22:23.000Z",
      "arch": "x86_64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "8ed00a077fbe04124fe36bfb682c25d5bba6ed7240499db9b6bf01229863cd57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.12.1",
      "date": "2026-06-04T08:20:36.000Z",
      "arch": "emscripten",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "f346321a199560cf493a0f4cf2daacb0c8aabfb670b0d0842668f3e334fed63f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.12.1",
      "date": "2026-06-04T08:19:44.000Z",
      "arch": "x86_64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "495a63161c5cefb8bebb5f64dc4da30e60ffd60bb6965cd99241e26ebf03f210",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.12.1",
      "date": "2026-06-04T08:20:22.000Z",
      "arch": "x86_64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "681011b460ab8e5c47b2dda0f8255be41ef7e8b37baf6f7c5cf79d2d02a00f03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.12.1",
      "date": "2026-06-04T08:19:47.000Z",
      "arch": "x86_64",
      "commit": "1b06356b0ec07640b532c666aff29e2a3b8393fa",
      "fileid": "0f4114dd4dbd363986bc4a8bdf97203d35051e0b5fe194af10045173876a5552",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bachmannpatrick/actions/runs/26939509632"
    }
  ]
}