aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-25 10:35:39 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-25 10:35:39 +0200
commite514f8235ee5398da5c5c83d472ca99dd5324066 (patch)
treee096590d36e900d8b087ba5282624474b770d05a /tests
parent5ac21a5495d984eb6a281973211b2b79a78cda82 (diff)
Complete documentation and fix a bug
The bug was introduced by the changes in summary.saem.mmkin.R and surfaced in the tests when using saemix transformations.
Diffstat (limited to 'tests')
-rw-r--r--tests/testthat/summary_hfit_sfo_tc.txt9
-rw-r--r--tests/testthat/summary_saem_biphasic_s.txt22
2 files changed, 21 insertions, 10 deletions
diff --git a/tests/testthat/summary_hfit_sfo_tc.txt b/tests/testthat/summary_hfit_sfo_tc.txt
index e3e2f7e4..49765187 100644
--- a/tests/testthat/summary_hfit_sfo_tc.txt
+++ b/tests/testthat/summary_hfit_sfo_tc.txt
@@ -31,9 +31,12 @@ Likelihood computed by importance sampling
533 531 -261
Optimised parameters:
- est. lower upper
-parent_0 101 100 102
-log_k_parent -3 -4 -3
+ est. lower upper
+parent_0 101.01 99.57 102.45
+log_k_parent -3.32 -3.53 -3.11
+a.1 0.90 0.64 1.17
+b.1 0.05 0.04 0.06
+SD.log_k_parent 0.27 0.11 0.42
Correlation:
pr_0
diff --git a/tests/testthat/summary_saem_biphasic_s.txt b/tests/testthat/summary_saem_biphasic_s.txt
index 6b203991..7c337843 100644
--- a/tests/testthat/summary_saem_biphasic_s.txt
+++ b/tests/testthat/summary_saem_biphasic_s.txt
@@ -38,13 +38,21 @@ Likelihood computed by importance sampling
2334 2344 -1153
Optimised parameters:
- est. lower upper
-parent_0 1e+02 1e+02 1e+02
-k_m1 7e-03 6e-03 7e-03
-f_parent_to_m1 5e-01 4e-01 5e-01
-k1 1e-01 9e-02 1e-01
-k2 2e-02 2e-02 3e-02
-g 5e-01 5e-01 5e-01
+ est. lower upper
+parent_0 1e+02 1e+02 1e+02
+k_m1 7e-03 6e-03 7e-03
+f_parent_to_m1 5e-01 4e-01 5e-01
+k1 1e-01 9e-02 1e-01
+k2 2e-02 2e-02 3e-02
+g 5e-01 5e-01 5e-01
+a.1 9e-01 8e-01 1e+00
+b.1 5e-02 5e-02 6e-02
+SD.parent_0 3e-02 -5e+01 5e+01
+SD.k_m1 2e-01 1e-01 3e-01
+SD.f_parent_to_m1 3e-01 2e-01 4e-01
+SD.k1 4e-01 2e-01 5e-01
+SD.k2 3e-01 2e-01 5e-01
+SD.g 2e-01 6e-02 4e-01
Correlation:
pr_0 k_m1 f___ k1 k2

Contact - Imprint