![]() |
Prev | Next |
dismodat.py database db2csv
dismod_at.db2csv_command( database )
null
value in the database corresponds
to an empty string in the csv files.
dir
for the directory where
database
is located.
simulate_index
below.
Otherwise, zero is used for
simulate_index
below.
dir/option.csv
is written by this command.
It is a CSV file with one row for each possible row in the
option_table
.
The columns in option.csv
are
option_name
and
option_value
.
If a row does not appear in the option table, the corresponding
default value is written to option.csv
.
If the parent_node_id
appears
in the option table, the
parent_node_name
row of option.csv
is filled in with the corresponding node name.
dir/log.csv
is written by this command.
It is a CSV file with one row for each message in the log_table
.
The columns in this table are
message_type
,
table_name
,
row_id
,
unix_time
, and
message
.
dir/age_avg.csv
is written by this command.
It is a CSV file with the contents of the age_avg table.
The only column in this table is age
.
Note that a set_command
may change the value of
ode_step_size
or
age_avg_split
but it will not
write out the new age_avg table.
dir/hes_fixed.csv
.
The columns in this table are
row_var_id
,
col_var_id
,
hes_fixed_value
.
dir/hes_random.csv
.
The columns in this table are
row_var_id
,
col_var_id
,
hes_random_value
.
dir/trace_fixed.csv
.
The columns in this table have the same name as in the corresponding table
with the exception that the column
regularization_size
is called
reg_size
.
dir/mixed_info.csv
.
dir/variable.csv
is written by this command.
It is a CSV file with one row for each of the model_variables
and has the following columns:
true
if this variable is a
fixed effect
,
otherwise it is false
.
none
if neither the data nor the prior depends on this variable,
data
if only the data depends on this variable,
prior
if only the prior depends on this variable,
both
if both the data and the prior depend on this variable.
var_id
.
var_id
.
If there is only one
sample_index
in the sample table,
this column is empty because the standard deviation cannot be estimated
from one sample.
field_character
for
character
equal to v
, a
and t
and for
field
equal to
mean
,
lower
,
upper
,
std
,
eta
,
nu
and
density
.
v
denotes this is the prior information for a value,
a
the prior information for an age difference, and
t
the prior information for a time difference.
null
,
the const_value
prior is displayed.
null
, or has no affect, it is displayed as empty.
Note that the fields
eta_v
are always displayed for fixed
effects because they have a
scaling
affect.
dir/data.csv
is written by this command.
It is a CSV file with one row for each row in the data_subset_table
and has the following columns:
data.csv
file.
delta
to denote the
adjusted standard deviation
for this row.
If the density for this row is
linear
meas_delta = delta
Otherwise, the density is log scaled and
delta = log(meas_value + eta + meas_delta) - log(meas_value + eta)
The value
delta
is computed by dividing by the residual,
which is plus infinity and not valid when the residual is zero.
This value is reported as empty if the calculation for
meas_delta
is greater than the maximum python float
value.
simulate_index
in the previous fit command, the
value zero is used for the
simulate_index
.
covariate_name
.
For each covariate column and measurement row, the value in the
covariate column is covariate value for this measurement minus
the reference value for this covariate, i.e., the corresponding
covariate difference
x_ij
in the model for the average integrand.
dir/predict.csv
is written.
For each row of the predict_table
there is a corresponding row in predict.csv
.
predict.csv
file.
s_index
.
Otherwise,
s_index
is empty and
the model variables correspond to the
fit_var
or
truth_var
table
depending on the source for the last predict command executed.
s_index
, and measurement subscript @(@
i
@)@
denotes to the avgint_table
information
for this row of predict.csv
; i.e.,
age_lo
,
age_up
,
...
covariate_name
.
For each covariate column and measurement row, the value in the
covariate column is covariate value in the avgint_table
minus the reference value for this covariate. i.e., the corresponding
covariate difference
x_ij
in the model for the average integrand.
db2csv
for a
dismod_at database on the IHME cluster.