A boolean or named vector with a value of
for each age group. If TRUE, the prior has zero mean. If FALSE,
the prior has nonzero mean centered around the observed mean age
profile (i.e., the average of over time and levels of the
geographic index for each age group). Default: FALSE.
Ha.sigma
This can be set in one of three ways: (1) a scalar
which sets , the prior standard deviation of ,
indicating how much to smooth over age groups (which may vary
over geographic areas and time periods, and with the standard
deviations averaged over age groups). 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 with respect to age, 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 with respect to age (such as 0.05). The vector
may also include a fifth element, which is the target value of the
total standard deviation of 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.
Ha.sigma.sd
A scalar; the standard deviation of parameter
Ha.sigma (for Gibbs sampling only). Default: 0.1.
Ha.deriv
A numeric vector, each element of which is
,
the degree of a (discrete) derivative of the smoothness functional
with respect to the age group. Element of this vector refers to
the 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 age 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 age groups; and lowest specified
derivative controls the form of prior indifference. Default: c(0,
0, 1), which usually works well.
Ha.age.weight
A scalar or a numeric vector with weights that
determine how much smoothing occurs for different age groups. If
set to 0 or NA, age groups are weighted equally; if set to a nonzero
scalar, the weight for age group is set proportional to
Ha.age.weight; if a vector of length A, the th element
is the weight of age group . Default: 0.
Ha.time.weight
A scalar or a numeric vector with weights that
determine how much smoothing occurs for different time periods when
smoothing over age groups. If 0 or NA, time periods are weighted
equally; if set to a nonzero scalar value, the weight for time
period in smoothing age groups is proportional to
Ha.time.weight; if the argument is a vector of length T, the
th element is the weight of time period . Default: 0.