Description Usage Arguments Author(s) See Also
This function allows to estimate parameters of a Generalized Bass model, GBM, (Bass et al., 1994) with Exponential, Rectangular, Harmonic or Mixed shock, (Guseo et al. 2007).
1 2 3 | BASS.generalized(sales, shock = c("exp", "rett", "mixed", "harmonic"),
nshock, prelimestimates, alpha = 0.05, ous = 100,
display = T,max.iter=100)
|
sales |
Instantaneous sales |
shock |
Function characterizing the shock. Available options are: Exponential ('exp'), Rectangular ('rett'), Harmonic ('harmonic') and Mixed ('mixed'). |
nshock |
Number of shocks desired (from 1 to 3) |
prelimestimates |
Vector containing the preliminary estimates of the parameters |
alpha |
Desired significance level, the default value is 0.05 |
ous |
Numeric value for the out-of-sample forecasts, the default value is 100 |
display |
T or F, to display the plot of the model or not, the default value is T |
max.iter |
Maximum number of iterations, the default value is 100 |
Zanghi Federico federico.zanghi.11@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.