Skip to content

Commit 492d475

Browse files
committed
fixed overly long vignette build
1 parent c27224f commit 492d475

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

vignettes/BTYDplus-HowTo.Rmd

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ par(op)
438438

439439
Analogous to MLE-based models, we can also plot weekly transaction counts, as well as frequency plots at an aggregated level. These methods can be applied to all provided MCMC-based models in the following way.
440440

441-
```{r, fig.show="hold", fig.width=7, fig.height=3, fig.cap="Diagnostic plots for model fit in calibration period and actuals vs. model predictions"}
441+
```{r, eval = FALSE}
442442
# runs for ~120secs on a MacBook Pro 2015
443443
op <- par(mfrow = c(1, 2))
444444
nil <- mcmc.PlotFrequencyInCalibration(pnbd.draws, groceryCBS)
@@ -511,15 +511,7 @@ Note that the BTYDplus package can establish via simulations that its provided i
511511

512512
@platzer2016pggg presented another extension of the Pareto/NBD model. The Pareto/GGG generalizes the distribution for the intertransaction times from the exponential to the Gamma distribution, whereas its shape parameter $k$ is also allowed to vary across customers following a $\text{Gamma}(t, \gamma)$ distribution. Hence, the purchase process follows a Gamma-Gamma-Gamma (GGG) mixture distribution, that is capable of capturing a varying degree of regularity across customers. For datasets which exhibit regularity in their timing patterns, and the degree of regularity varies across the customer cohort, leveraging that information can yield significant improvements in terms of forecasting accuracy. This results from improved inferences about customers' latent state in the presence of regularity.
513513

514-
```{r, echo = FALSE}
515-
data("groceryElog")
516-
groceryCBS <- elog2cbs(groceryElog, T.cal = "2006-12-31")
517-
# estimte Pareto/GGG
518-
pggg.draws <- pggg.mcmc.DrawParameters(groceryCBS) # ~2mins on 2015 MacBook Pro
519-
520-
```
521-
522-
```{r, eval=FALSE, fig.cap="Distribution of regularity parameter k"}
514+
```{r, eval=FALSE}
523515
# load grocery dataset, if it hasn't been done before
524516
if (!exists("groceryCBS")) {
525517
data("groceryElog")

0 commit comments

Comments
 (0)