plot.bass {BASS}R Documentation

BASS Plot Diagnostics

Description

Generate diagnostic plots for BASS model fit.

Usage

## S3 method for class 'bass'
plot(x, quants = c(0.025, 0.975), ...)

Arguments

x

a bass object.

quants

quantiles for intervals, if desired. NULL if not desired.

...

graphical parameters.

Details

The first two plots are trace plots for diagnosing convergence. The third plot is posterior predicted vs observed, with intervals for predictions. The fourth plot is a histogram of the residuals (of the posterior mean model), with a red curve showing the assumed Normal density (using posterior mean variance). If bass was run with save.yhat = FALSE, the third and fourth plots are omitted.

See Also

bass, predict.bass, sobol

Examples

# See examples in bass documentation.


[Package BASS version 1.2.2 Index]