\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\W}[1]{ \; #1 \; }\)
age_avg_table¶
View page sourceThe Age Average Table¶
Age Average Grid¶
We use age_min , age_max , to denote the minimum and maximum ages in the age table. We use ode_step_size to denote its value in the option table. Let N >= 1 be the minimum integer such that
s = ( age_max
-age_min ) / N <= ode_step_size
Define the set of age points \(a_i = i * s\) for \(i = 0, \ldots , N\), and define the set
Note that \(a_0\) is age_min and \(a_N\) is age_max . The age average grid is the union of the set \(S\) and the set of age points in age_avg_split . This grid is used both for approximating averages and for approximation the solution of the dismod_at Ordinary Differential Equation . If age_avg_split is the empty set, the age average grid is the set \(S\).
Creation¶
This table changes each time the ode_step_size or the age_avg_split changes. These value can change without having to re-execute the init_command . For this reason, this table is re-written for each command with the exception of the following: set , db2csv , csv2db , and modify .
age_avg_id¶
This column has type integer and is the primary key for
the this table.
Its initial value is zero, and it increments by one for each row.
age¶
This column has type real and is a monotone
increasing values in the age average grid.
The values are unique; i.e.,
none of the values are repeated.