From e514f8235ee5398da5c5c83d472ca99dd5324066 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 25 Oct 2022 10:35:39 +0200 Subject: 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. --- tests/testthat/summary_hfit_sfo_tc.txt | 9 ++++++--- tests/testthat/summary_saem_biphasic_s.txt | 22 +++++++++++++++------- 2 files changed, 21 insertions(+), 10 deletions(-) (limited to 'tests') 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 -- cgit v1.2.1