predict.ah {surveillance}R Documentation

Predictions from a HHH model

Description

Use a ah object for prediction.

Usage

  predict.ah(object,newdata, type=c("response","endemic"),...)

Arguments

object object of class ah
newdata optionally, a disProgObject with which to predict; if omitted, the fitted mean is returned.
type the type of prediction required. The default is on the scale of the response variable (endemic and epidemic part) the alternative "endemic" returns only the endemic part (i.e. n_{it} * nu_{it})
... not really used

Details

this function is still experimental

Value

matrix of values containing the mean mu_{it} for each region and time point.


[Package surveillance version 0.9-6 Index]