![]() |
Prev | Next |
smooth_grid
table specifies an
age, time, value prior, age difference prior, and time difference prior
for a single model_variable
.
(The difference priors represent the smoothing in a mathematical sense.)
A set of rows with the same
smooth_id
,
defines a statistical prior for a function of age and time.
integer
and is the primary key for
the smooth_grid
table.
Its initial value is zero, and it increments by one for each row.
integer
and is the primary key for
the smooth_table
.
Each
smooth_id
value corresponds to a different
statistical prior for a function of age and time.
smooth_id
is null, the corresponding row of the
smooth grid table is not used.
This can be useful for deleting a row or column corresponding to a
smooth_id
.
integer
and is a
age_id
in the age table.
The
age_id
value corresponds to a specific age.
integer
and is a
time_id
in the time table.
Each
time_id
value corresponds to a specific time.
integer
and is the
prior_id
for the function's values
at the corresponding age and time.
value_prior_id
is null,
const_value
must not be null and is used for the value prior
at the corresponding age and time.
integer
and is the
prior_id
for the function's
forward difference w.r.t age
at the corresponding age and time; see age difference function
A^s
.
The corresponding
density_id
cannot specify a
censored density
.
dage_prior_id
at the maximum age is not used.
dage_prior_id
is null, the corresponding prior is
a uniform from minus to plus infinity.
integer
and is the
prior_id
for the function's
forward difference w.r.t time
at the corresponding age and time; see time difference function
T^s
.
The corresponding
density_id
cannot specify a
censored density
.
dtime_prior_id
at the maximum time is not used.
dtime_prior_id
is null, the corresponding prior is
a uniform from minus to plus infinity.
real
and specifies a specific value for a function using this smoothing
at this age and time (when it is not null).
This case is equivalent to
lower
,
upper
, and
mean
, equal to
const_value
and
density
is uniform
.
const_value
is null,
value_prior_id
must not be null.
If
const_value
is not null,
value_prior_id
must be null.
smooth_id
the set of
age_id
,
time_id
pairs is rectangular.
In other words,
if an
age_id
value appears,
it appears once with each
time_id
that appears with this
smooth_id
.
This also means,
if a
time_id
value appears,
it appears once with each
age_id
that appears with this
smooth_id
.
smooth
table.