{"id":14066172,"url":"https://github.com/mplatzer/BTYDplus","last_synced_at":"2025-07-29T22:31:02.562Z","repository":{"id":17063089,"uuid":"19827804","full_name":"mplatzer/BTYDplus","owner":"mplatzer","description":"R package for Customer Behavior Analysis","archived":false,"fork":false,"pushed_at":"2024-04-08T20:49:19.000Z","size":951,"stargazers_count":189,"open_issues_count":12,"forks_count":48,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-06-09T05:49:28.272Z","etag":null,"topics":["crm","customer-behavior","marketing-science","predictive-analytics","rstats"],"latest_commit_sha":null,"homepage":"https://cran.r-project.org/web/packages/BTYDplus","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mplatzer.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-15T17:00:07.000Z","updated_at":"2025-03-06T10:13:33.000Z","dependencies_parsed_at":"2024-08-13T07:10:50.336Z","dependency_job_id":"71719a3f-ba72-4902-9d5e-dd5ad060c90f","html_url":"https://github.com/mplatzer/BTYDplus","commit_stats":{"total_commits":304,"total_committers":9,"mean_commits":33.77777777777778,"dds":"0.35526315789473684","last_synced_commit":"7e8331f7e4a3ae5377b1da97feae7931d95d1705"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/mplatzer/BTYDplus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplatzer%2FBTYDplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplatzer%2FBTYDplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplatzer%2FBTYDplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplatzer%2FBTYDplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mplatzer","download_url":"https://codeload.github.com/mplatzer/BTYDplus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplatzer%2FBTYDplus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267772257,"owners_count":24142086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crm","customer-behavior","marketing-science","predictive-analytics","rstats"],"created_at":"2024-08-13T07:04:58.349Z","updated_at":"2025-07-29T22:31:02.263Z","avatar_url":"https://github.com/mplatzer.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# BTYDplus\n\n[![Travis-CI Build Status](https://travis-ci.org/mplatzer/BTYDplus.svg?branch=master)](https://travis-ci.org/mplatzer/BTYDplus)\n[![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/BTYDplus)](https://CRAN.R-project.org/package=BTYDplus)\n![CRAN Downloads month](https://cranlogs.r-pkg.org/badges/BTYDplus)\n![CRAN Downloads overall](https://cranlogs.r-pkg.org/badges/grand-total/BTYDplus)\n\u003c!-- [![Coverage Status](https://img.shields.io/codecov/c/github/mplatzer/BTYDplus/master.svg)](https://codecov.io/github/mplatzer/BTYDplus?branch=master) --\u003e\n\nThe BTYDplus [R](https://www.r-project.org/) package provides advanced statistical methods to describe and predict customer's purchase behavior. It uses historic transaction records to fit a probabilistic model, which then allows to compute quantities of managerial interest on a cohort- as well as on a customer level (Customer Lifetime Value, Customer Equity, P(alive), etc.).\n\nThis package complements the [BTYD](https://cran.r-project.org/package=BTYD) package by providing several additional buy-till-you-die models, that have been published in the marketing literature, but whose implementation are complex and non-trivial. These models are: NBD, MBG/NBD, BG/CNBD-k, MBG/CNBD-k, Pareto/NBD (HB), Pareto/NBD (Abe) and Pareto/GGG.\n\n## Installation\n\n```\n# install.packages(\"devtools\")\ndevtools::install_github(\"mplatzer/BTYDplus\", dependencies=TRUE)\nlibrary(BTYDplus)\n```\n\n## Getting Started\n\n```\ndemo(\"cdnow\")        # Demonstration of fitting various models to the CDNow dataset\ndemo(\"mbg-cnbd-k\")   # Demonstration of MBG/CNBD-k model with grocery dataset\ndemo(\"pareto-abe\")   # Demonstration of Abe's Pareto/NBD variant with CDNow dataset\ndemo(\"pareto-ggg\")   # Demonstration of Pareto/NBD (HB) \u0026 Pareto/GGG model with grocery dataset\n```\n\n## Implemented Models\n\nThese R source files extend the functionality of the BTYD package by providing functions for parameter estimation and scoring for NBD, MBG/NBD, BG/CNBD-k, MBG/CNBD-k, Pareto/NBD (HB), Pareto/NBD (Abe) and Pareto/GGG.\n\n* **NBD** Ehrenberg, Andrew SC. \"The pattern of consumer purchases.\" Applied Statistics (1959): 26-41. \\doi{10.2307/2985810}\n* **MBG/NBD** Batislam, E.P., M. Denizel, A. Filiztekin. 2007. Empirical validation and comparison of models for customer base analysis. International Journal of Research in Marketing 24(3) 201–209. \\doi{10.1016/j.ijresmar.2006.12.005}\n* **(M)BG/CNBD-k** Reutterer, T., Platzer, M., \u0026 Schroeder, N. (2020). \"Leveraging purchase regularity for predicting customer behavior the easy way.\" International Journal of Research in Marketing. \\doi{10.1016/j.ijresmar.2020.09.002}\n* **Pareto/NBD (HB)** Ma, Shao-Hui, and Jin-Lan Liu. \"The MCMC approach for solving the Pareto/NBD model and possible extensions.\" Natural Computation, 2007. ICNC 2007. Third International Conference on. Vol. 2. IEEE, 2007. \\doi{10.1109/ICNC.2007.728}\n* **Pareto/NBD (Abe)** Abe, Makoto. \"Counting your customers one by one: A hierarchical Bayes extension to the Pareto/NBD model.\" Marketing Science 28.3 (2009): 541-553. \\doi{10.1287/mksc.1090.0502}\n* **Pareto/GGG** Platzer, Michael, and Thomas Reutterer. \"Ticking Away the Moments: Timing Regularity Helps to Better Predict Customer Activity.\" Marketing Science (2016). \\doi{10.1287/mksc.2015.0963}\n\n## Contributions\n\nWe certainly welcome all feedback and contributions to this package! Please use [GitHub Issues](https://github.com/mplatzer/BTYDplus/issues) for filing bug reports and feature requests, and provide your contributions in the form of [Pull Requests](https://help.github.com/articles/about-pull-requests/). See also [these general guidelines](https://guides.github.com/activities/contributing-to-open-source/#contributing) to contribute to Open Source projects on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmplatzer%2FBTYDplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmplatzer%2FBTYDplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmplatzer%2FBTYDplus/lists"}