This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
table [2019/11/18 13:34] 127.0.0.1 external edit |
table [2020/03/09 14:46] erik |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Table ====== | ====== Table ====== | ||
- | Tables present simulation output data in tabular form. Depending | + | Tables present simulation output data in tabular form. Data can be organized in different ways depending |
- | * [[Time_table|Time | + | For instance, a table might display concentrations of three contaminants, |
- | * [[Index_table|Index table]] - Displays | + | |
- | * [[Compare_table|Compare table]] - Displays | + | ^Time^Nickel^Lead^Silver^ |
- | * [[Statistics_table|Statistics table]] - Displays data with different statistics. | + | ^0.0|1|2|3| |
- | | + | ^5.0|2|8|5| |
- | | + | ^...|...|...|...| |
+ | ^100.0|3|9|5| | ||
+ | |||
+ | by contaminants (rows) and contaminants (columns): | ||
+ | |||
+ | ^Contaminants^0.0^5.0^...^100.0^ | ||
+ | ^Nickel|1|2|...|3| | ||
+ | ^Lead|2|8|...|9| | ||
+ | ^Silver|3|5|...|5| | ||
+ | |||
+ | If the data is probabilistic the dimension increases to three. With n=1000 iterations, the table would then become: | ||
+ | |||
+ | ^Time^Nickel/ | ||
+ | ^0.0|1|2|3|4|3|2|...|5|3|2| | ||
+ | ^5.0|2|8|5|2|6|1|...|8|6|8| | ||
+ | ^...|...|...|...|...|...|...|...|...|...|...| | ||
+ | ^100.0|3|9|5|6|2|4|...|9|6|5| | ||
+ | |||
+ | === Reduction === | ||
+ | |||
+ | For probabilistic data, it is more common to display statistics rather than data for each iteration. For example, by showing the mean and standard deviation the probabilistic dimension is reduced from thousands of items to just two: | ||
+ | |||
+ | ^Time^Nickel/ | ||
+ | ^0.0|3|1|3|7|9|4| | ||
+ | ^5.0|7|3|1|2|6|3| | ||
+ | ^...|...|...|...|...|...|...| | ||
+ | ^100.0|5|3|6|1|8|5| | ||
+ | |||
+ | The same can be done for time: instead of showing all time points, just show the first and last time point: | ||
+ | |||
+ | ^Time^Nickel/ | ||
+ | ^First|3|1|3|7|9|4| | ||
+ | ^Last|5|3|6|1|8|5| | ||
+ | |||
+ | If only the last time point is shown, the dimension of the data is reduced so that we can use rows for contaminants instead: | ||
+ | |||
+ | ^Contaminant^mean, | ||
+ | ^Nickel|5|1| | ||
+ | ^Lead|3|8| | ||
+ | ^Silver|6|5| | ||
+ | |||
+ | ==== Order ==== | ||
+ | |||
+ | When a table is created, Ecolego will automatically determine which dimensions it will have. The user can reduce dimensions | ||
+ | |||
+ | The user can also select the order in which the dimensions of the data are displayed. First, one dimension is selected for rows, then the priority of the column dimensions can be selected. | ||
+ | |||
+ | The following table shows data for the two outputs | ||
+ | |||
+ | Row: Outputs | ||
+ | Columns: Country, Gender | ||
+ | |||
+ | ^Output^Sweden/Male^Denmark/Male^Sweden/Female^Denmark/Female^ | ||
+ | ^Weight| | | | | | ||
+ | ^Length| | | | | | ||
+ | |||
+ | Switching the order of the columns would yield | ||
+ | |||
+ | Row: Outputs | ||
+ | Columns: Gender, Country | ||
+ | |||
+ | ^Output^Male/ | ||
+ | ^Weight| | | | | | ||
+ | ^Length| | | | | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Table types ==== | ||
+ | |||
+ | The base version of Ecolego offers two types of tables: | ||
+ | |||
+ | | ||
+ | | ||
===== See also ===== | ===== See also ===== |