fit_novelty: Fit Model for detecting novelty effect from Averate Treatment...

Description Usage Arguments Value See Also Examples

View source: R/basic_stats.R View source: R/detect_novelty.R

Description

Fit Model for detecting novelty effect from Averate Treatment Effect

Usage

1
fit_novelty(ate, alpha = 0.35, gamma = 2)

Arguments

ate

Averate Treatment Effect, i.e. Expecttaion of Treatment - Expecttaion of Control

alpha

parameter alpha

gamma

parameter gamma

Value

linear model object

See Also

How A/B Tests Could Go Wrong: Automatic Diagnosis of Invalid Online Experiments, WSDM2019

Examples

1
2
3
4
5
6
7
8
## Not run: 
ate <- rev(1.3^(rnorm(14, 0, 0.3) + 1:14) / 10)
fit <- fit_novelty(ate)
summary(fit)
fit <- fit_novelty(ate, alpha = 0.3, gamma = 2)
summary(fit)

## End(Not run)

okiyuki99/abstats documentation built on Jan. 29, 2020, 6:48 p.m.