BASSGeneralized: Function that estimates a Generalized Bass model

Description Usage Arguments Author(s) See Also

Description

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).

Usage

1
2
3
BASS.generalized(sales, shock = c("exp", "rett", "mixed", "harmonic"),
                 nshock, prelimestimates, alpha = 0.05, ous = 100,
                 display = T,max.iter=100)

Arguments

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

Author(s)

Zanghi Federico federico.zanghi.11@gmail.com

See Also

BASS.standard

BASS.standard.generator

BASS.plot

make.instantaneous

GG.model

UCRCD

predict_SARMAX.refinement


federicozanghi/DIMORA documentation built on Nov. 6, 2021, 2:32 a.m.