Closed tpyork closed 7 years ago
Here's a first pass at the summary stats table for AdeFit
.submodel | variable | maximum | mean | minimum | missing | variance |
---|---|---|---|---|---|---|
DZ | age | 0.3000 | 0.2372286 | 0.1700 | 0 | 0.0013891 |
bmi1 | 25.3704 | 21.4387574 | 18.9794 | 12 | 0.7451564 | |
bmi2 | 26.8383 | 21.4613151 | 19.2262 | 13 | 0.8199487 | |
MZ | age | 0.3000 | 0.2378735 | 0.1700 | 0 | 0.0013319 |
bmi1 | 25.5347 | 21.3533282 | 18.1125 | 19 | 0.7286775 | |
bmi2 | 26.5016 | 21.3388960 | 19.3835 | 19 | 0.7919063 |
I think it makes sense to place the stats in columns so the width is fixed and the table can scale vertically to accommodate additional submodels/variables.
Any thoughts on how rows should be ordered?
i don't think the row ordering makes too much difference as long as consistent across submodels.
It depends on the comparisons we want to facilitat; for example, this makes it easy to compare variables across submodels:
.variable | .submodel | mean | variance | minimum | maximum | missing |
---|---|---|---|---|---|---|
age | MZ | 0.2378735 | 0.0013319 | 0.1700 | 0.3000 | 0 |
age | DZ | 0.2372286 | 0.0013891 | 0.1700 | 0.3000 | 0 |
bmi1 | MZ | 21.3533282 | 0.7286775 | 18.1125 | 25.5347 | 19 |
bmi1 | DZ | 21.4387574 | 0.7451564 | 18.9794 | 25.3704 | 12 |
bmi2 | MZ | 21.3388960 | 0.7919063 | 19.3835 | 26.5016 | 19 |
bmi2 | DZ | 21.4613151 | 0.8199487 | 19.2262 | 26.8383 | 13 |
But is kind of ugly...
I think it's one of those things that we'll need user feedback from.
Okay, check the screen shot in #4 and let me know what you think.
See example from old Mx. Need good names, e.g. what is "VL" ?