Learn R Programming

Robyn: Continuous & Semi-Automated MMM

The Open Source Marketing Mix Model Package from Meta Marketing Science

Project Robyn aims to radically change Marketing Mix Modelling (MMM) practice by utilizing automation, ground-truth calibration, and incorporating AI in an open-source approach. While demystifying the use of these techniques, Robyn helps to reduce and minimize human bias in MMM, ensuring that the results are based on objective and validated statistical analysis. The AI algorithms & ground-truth calibration used in Robyn aim to minimize the potential for subjective interpretations and decision making. This leads to a more accurate representation of the impact of marketing investments, enabling organizations of all sizes to make impartial data-driven decisions. Project Robyn, along with strong community support, represents a step towards the future of MMM, where the use of AI and automation will become the norm, providing unbiased and reliable results every time. By creating an open-source platform, Project Robyn is democratizing access to underlying technology, enabling organizations of all sizes to benefit from unbiased MMM analysis either as final end-users or agencies & consultancies building their own businesses upon Robyn. The data science, the code, and various business case studies are available for everyone to learn from and use.

R Quick Start

  • Install Robyn latest package version:
## CRAN VERSION
install.packages("Robyn")

## DEV VERSION
# If you don't have remotes installed yet, first run: install.packages("remotes")
remotes::install_github("facebookexperimental/Robyn/R")
  • If it's taking too long to download, you have a slow or unstable internet connection, and have issues while installing the package, try setting options(timeout=400).

  • Robyn requires the Python library Nevergrad. If encountering Python-related

error during installation, please check out the step-by-step guide to get more info.

  • For Windows, if you get openssl error, please see instructions

here and here to install and update openssl.

License

Meta's Robyn is MIT licensed, as found in the LICENSE file.

Copy Link

Version

Install

install.packages('Robyn')

Monthly Downloads

2,722

Version

3.11.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Bernardo Lares

Last Published

June 27th, 2024

Functions in Robyn (3.11.1)

robyn_save

Export Robyn Model to Local File [DEPRECATED]
robyn_run

Robyn Modelling Function
robyn_clusters

Clustering to Reduce Number of Models based on ROI and Errors
robyn_response

Response and Saturation Curves
robyn_outputs

Evaluate Models and Output Results into Local Files
robyn_train

Train Robyn Models
robyn_inputs

Input Data Check & Transformation
robyn_mmm

Core MMM Function
robyn_refresh

Build Refresh Model
robyn_converge

Check Models Convergence
robyn_update

Update Robyn Version
saturation_hill

Hill Saturation Transformation
robyn_write

Import and Export Robyn JSON files
set_holidays

Detect and set date variable interval
dt_prophet_holidays

Robyn Dataset: Holidays by Country
hyper_names

Get correct hyperparameter names
hyper_limits

Check hyperparameter limits
robyn_allocator

Budget Allocator
adstock_geometric

Adstocking Transformation (Geometric and Weibull)
fit_spend_exposure

Fit a nonlinear model for media spend and exposure
Robyn

Robyn MMM Project from Meta Marketing Science
prophet_decomp

Conduct prophet decomposition
mic_men

Michaelis-Menten Transformation
dt_simulated_weekly

Robyn Dataset: MMM Demo Data