Prev Next depend_var_table

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\W}[1]{ \; #1 \; }@)@ This is dismod_at-20221105 documentation: Here is a link to its current documentation .
Which Variables The Model Depends On

Purpose
depend_var_id
data_depend
prior_depend
Example

Purpose
This table is created by the depend_command and is not used by any commands. It is only meant as a diagnostic to see if the model has more variables than necessary; e.g., random effects with not associated data.

depend_var_id
This column has type integer and is the primary key for this table. Its initial value is zero, and it increments by one for each row. The depend_var_id column is also a foreign key for the var_table ; i.e.,
   
depend_var_id = var_id
In addition, the size of both tables is the same.

data_depend
This column type integer and is either zero or one. If it is one (zero), the model for the data does (does not) depend on the model_variable corresponding to this var_id .

prior_depend
This column type integer and is either zero or one. If it is one (zero), the model for the prior does (does not) depend on the model_variable corresponding to this var_id .

Example
See the depend_command.py example and test.
Input File: omh/table/depend_var_table.omh