Commit f5a550a
tommyod
Integrate probabilit
- Use probabilit for random variable generation
- Add option 'correlation_iterations' in general input sheet (default=0 => ImanConover)
- Since variable sampling is not done in the same order, RNG is different and snapshot had to be used
- Slight discrepancies in Mac and Linux RNG. Fixed by letting snapshot compare 6 siginificant digits
- Added a test file with 6 lognorms, that showcases how we get better correlation matrices if correlation_iterations > 0
- Deleted ImanConover, nearest_correlation_matrix, etc. These are all in probabilit1 parent 8ce85cd commit f5a550a
13 files changed
Lines changed: 6122 additions & 7242 deletions
File tree
- src/semeio/fmudesign
- tests/fmudesign
- data/config
- snapshots/test_create_design/test_generate_full_mc_snapshot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
201 | 211 | | |
202 | 212 | | |
203 | 213 | | |
| |||
0 commit comments