Gary King Homepage Previous: Smoothing over Age Groups Up: Inputs Next: Smoothing over Age and

Smoothing over Time

Ht.sigma
This can be set in one of three ways: (1) a scalar which sets $ \sigma_t$, the prior standard deviation of $ E(Y)$, indicating how much to smooth $ E(Y)$ over time periods (which may vary over geographic areas and age groups, and with the standard deviations averaged over time periods). A larger standard deviation represents more prior uncertainty, which allows the data to play a greater role. (2) NA to not smooth in this way. (3) To have YourCast search for a good value based on a target value of the derivative of $ E(Y)$ with respect to time, set to a vector of elements containing the start and end of a range in sigma in which to look (such as 0.05 and 1.5), the number of values to look at within this range (such as 5), and the target value of the derivative of $ E(Y)$ with respect to time (such as 0.05). The vector may also include a fifth element, which is the target value of the total standard deviation of $ E(Y)$ over all dimensions of the prior (such as 0.1). (You may choose to run YourCast with model=EBAYES on a related data set to find an approximate target value of the derivative and standard deviation automatically.) Default: 0.30.

Ht.sigma.sd
A scalar; the standard deviation of parameter Ht.sigma (for Gibbs sampling only). Default: 0.1.

Ht.deriv
A numeric vector, each element of which is $ \mathbbm{n}$, the degree of a (discrete) derivative of the smoothness functional with respect to time. Element $ k$ of this vector refers to the $ (k-1)$th derivative, where 0 excludes the derviative, 1 includes it, and values in between include the derivative but weight it down proportionally. The first element of the vector corresponds to the weight on the derivative with respect to time of order 0 (the identity operator), the second to the weight on the derivative of order 1 (the 1st derivative), etc. For example, c(0, 1, 1) corresponds to a mixed functional that penalizes the first and second derivatives equally. The higher the order of derivative, the more local smoothness over time; and lowest specified derivative controls the form of prior indifference. Default: c(0, 0, 1), which usually works well.

Ht.age.weight
A scalar or a numeric vector with weights that determine how much smoothing occurs for different age groups when smoothing over time. If set to 0 or NA, age groups are weighted equally in smoothing over time; if set to a nonzero scalar, the weight for age group $ a$ is set proportional to $ a^$Ht.age.weight; if a vector of length A, the $ a$th element is the weight of age group $ a$. Default: 0.

Ht.time.weight
A scalar or a numeric vector with weights that determine how much smoothing occurs for different time periods when smoothing over time. If 0 or NA, time periods are weighted equally; if set to a nonzero scalar value, the weight for time period $ t$ in smoothing time periods is proportional to $ t^$Ht.time.weight; if the argument is a vector of length T, the $ t$th element is the weight of time period $ t$. Default: 0.



Gary King 2009-07-13