Agenda
- Who am I?
- Different Approaches to Attribution
- Rule-Based: Canned Approaches
- Ad-hoc Pre-Post Testing
- A/B Testing & Experimental Methods
- Markov Chain Models in R
September 12, 2018
Some Examples:
An example:
Statistical Approaches:
The 3rd Variable Problem:
Central Limit Theorem & Random Assignment
Statistical Approaches:
library(dplyr) head(mtcars) mtcars <- mtcars %>% mutate(row_id = row_number()) test <- mtcars %>% sample_frac(.5) control <- mtcars %>% filter(!row_id %in% test$row_id)
Incorporating additional Predictors: Linear Method
counts <- c(18,17,15,20,10,20,25,13,12) outcome <- gl(3,1,9) treatment <- gl(3,3) print(d.AD <- data.frame(treatment, outcome, counts)) glm.D93 <- glm(counts ~ outcome + treatment, family = poisson()) summary(glm.D93)
Incorporating additional Predictors: xgBoost
ChannelAttribution Package in R
Allows us to:
Don't forget about the Data Cleaning! Yikes