Learn R Programming

diffusion (version 0.4.0)

Nortonbass_error: Fits Norton Bass curve and estimated RMSE

Description

Fits Norton Bass curve and estimated RMSE

Usage

Nortonbass_error(x, param, gstart = NULL, flexpq = F)

Value

yhat, the predicted values

actuals, the actual values

RMSE, the root mean squared error for each generation

Arguments

x

matrix with generations

param

the parameters for curve to estimated

gstart

optional vector of starting points for the generations

flexpq

flexible p and q

Author

Oliver Schaer, info@oliverschaer.ch