set.seed(123)
historical <- rnorm(50, mean = 10, sd = 2)
current <- rnorm(30, mean = 10.5, sd = 2)
comparison <- compare_discounting(
historical,
current,
a0_values = c(0, 0.25, 0.5, 0.75, 1.0)
)
print(comparison)
Run the code above in your browser using DataLab