surveillance (version 1.12.1)

predict.ah: Predictions from a HHH model

Description

Use a ah or ahg object for prediction.

Usage

## S3 method for class 'ah':
predict(object,newdata=NULL, 
   type=c("response","endemic","epi.own","epi.neighbours"), ...)

Arguments

object
object of class ah or ahg
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}$), "epi.own" and "epi.neighbours" return t
...
not really used

Value

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

encoding

latin1

Details

this function is still experimental