An estimate might consists of uncorrelated and correlated variables. This is reflected
in the input file structure, which is described in the following.
CSV input file structures
The estimate is read from one or two csv files: the marginal csv file which is mandatory and
the correlation csv file which is optional. The marginal csv file contains the definition of
the distribution of all variables ignoring potential correlations. The correlation csv file
only defines correlations.
The structure of the marginal distributions input file
(mandatory)
File name structure: <marginal-filename>.csv
Mandatory columns:
Column name |
R-type |
Explanation |
variable |
character vector |
Variable names |
distribution |
character vector |
Marginal distribution types |
lower |
numeric vector |
Marginal 5%-quantiles |
Frequent optional columns are:
Column name |
R-type |
Explanation |
description |
character |
Short description of the variable. |
median |
cf. estimate |
Marginal 50%-quantiles |
Columns without names are ignored. Rows where the variable
field is empty are also dropped.The structure of the correlation file (optional)
File name structure: <marginal-filename>_cor.csv
Columns and rows are named by the corresponding variables. Only those variables need to be
present which are correlated with others.
The element ["rowname","columnname"]
contains the correlation between the variables
rowname
and columnname
. Uncorrelated elements have to be set to 0
. The
diagonal element ["name","name"]
has to be set to 1
.
The matrix must be given in symmetric form.
Deprecated input standard (estimate_read_csv_old
)
File name structure of the correlation file: <marginal-filename>.csv_correlations.csv