![]() |
Prev | Next |
dismod_at database set option name value
dismod_at database set avgint data
dismod_at database set table_out source
dismod_at database set table_out source sample_index
dismod_at
input
tables which are not modified.
option
follows set
.
value
is the empty string, null is used for the corresponding
value in the database; see
text can be null, not empty
.
init
to be run first.
In addition, if
option_name
is not parent_node_id
,
the model_variables
do not change and you do not have to
re-run the init_command
.
avgint
follows set
.
In this case data
must follow avgint
and the avgint_table
is set to be equal to the data_table
.
The only difference is that the column name
data_id
in the data table has column name
avgint_id
in the avgint table.
table_out
cases set the values in
table_out
using the values specified by
source
.
If this table exists before the command,
the values originally in the table are lost.
table_out
is start_var
,
the start_var
table is created.
Note that this table may also be created directly by the user
(with the aid of the var_table
).
table_out
is scale_var
,
the scale_var
table is created.
Note that this table may also be created directly by the user
(with the aid of the var_table
).
table_out
is truth_var
,
the truth_var
table is created.
Note that this table may also be created directly by the user
(with the aid of the var_table
).
source
must be one of the
possibilities listed below
(and not be the same as
table_out
).
Only the case where
source
is
sample
has the extra argument
sample_index
.
source
is sample
,
sample_index
must be present.
In this case the model_variables
in the sample table,
and corresponding to the specified sample index,
are used for the values in
table_out
.
source
is prior_mean
,
the mean of the priors is used for the values in
table_out
.
source
is fit_var
,
the results of the previous fit is used for the values in
table_out
.
source
is
start_var
,
scale_var
, or
truth_var
,
the contents of this table are copied to
table_out
.