Learn R Programming

BTYDplus (version 0.7.2)

mcmc.PAlive: Calculates P(alive) based on MCMC parameter draws

Description

Calculates P(alive) based on MCMC parameter draws

Usage

mcmc.PAlive(draws)

Arguments

draws

Value

Numeric vector with the customers' probabilities of being still alive at end of calibration period

Examples

Run this code
# NOT RUN {
cbs <- cdnow.sample()$cbs
param.draws <- pnbd.mcmc.DrawParameters(cbs, mcmc = 200, burnin = 100, thin = 20, chains = 1)
mcmc.PAlive(param.draws)
# }

Run the code above in your browser using DataLab