Generate a marketing mix modeling covariates data set
generateCovariatesData.Rd
This function generates a marketing mix modeling covariates data set based on the parameters given. It uses many different stochastical processes to accomplish this and the dynamics behind them are not available to the user to manipulate. This is supposed to generate all tha variables you use in a marketing mix model except for the response variable i.e. the dependent variable.
Usage
generateCovariatesData(
fromDate = Sys.Date() - 1 * 365,
toDate = Sys.Date(),
sector = "retail",
onlineInsertionNames = c("display", "facebook", "search_branded"),
offlineInsertionNames = c("tv", "radio", "ooh", "print"),
priceNames = c("price_product_a", "price_product_b", "price_product_c"),
distributionNames = c("dist_product_a", "dist_product_b", "dist_product_c"),
weatherNames = c("sunshine", "precipitation", "temperature"),
competitorNames = c("competitor_a", "competitor_b", "competitor_c"),
macroNames = c("cpi", "cci", "gdp"),
eventNames = c("event_a", "event_b")
)
Arguments
- fromDate
the beginning of the time series
- toDate
the end of the time series
- sector
the name of the sector to simulate (currently not used)
- onlineInsertionNames
the names of each online media insertion you wish to use
- offlineInsertionNames
the names of each offline media insertion you wish to use
- priceNames
the names of the different product prices
- distributionNames
the names of the different product distributions
- weatherNames
the names of the weather data measurements to use
- competitorNames
the names of each competitor considered
- macroNames
the names of the macroeconomical factors to simulate
- eventNames
the names of events to add