diff options
| -rw-r--r-- | tests/testthat/summary_saem_biphasic_s.txt | 52 | ||||
| -rw-r--r-- | tests/testthat/test_mixed.R | 2 | 
2 files changed, 27 insertions, 27 deletions
| diff --git a/tests/testthat/summary_saem_biphasic_s.txt b/tests/testthat/summary_saem_biphasic_s.txt index b30e35b8..58bcddfb 100644 --- a/tests/testthat/summary_saem_biphasic_s.txt +++ b/tests/testthat/summary_saem_biphasic_s.txt @@ -24,9 +24,9 @@ Variance model: Constant variance  Mean of starting values for individual parameters:        parent_0           k_m1 f_parent_to_m1             k1             k2  -       1.0e+02        4.6e-03        4.8e-01        6.4e-02        1.1e-02  +         1e+02          5e-03          5e-01          6e-02          1e-02                g  -       4.6e-01  +         5e-01   Fixed degradation parameter values:  None @@ -38,39 +38,39 @@ Likelihood computed by importance sampling    2681 2690  -1328  Optimised parameters: -                  est.   lower   upper -parent_0       1.0e+02 1.0e+02 1.0e+02 -k_m1           4.9e-03 4.2e-03 5.6e-03 -f_parent_to_m1 4.8e-01 4.3e-01 5.3e-01 -k1             6.2e-02 4.7e-02 7.6e-02 -k2             1.2e-02 9.6e-03 1.4e-02 -g              4.6e-01 4.1e-01 5.1e-01 +                est. lower upper +parent_0       1e+02 1e+02 1e+02 +k_m1           5e-03 4e-03 6e-03 +f_parent_to_m1 5e-01 4e-01 5e-01 +k1             6e-02 5e-02 8e-02 +k2             1e-02 1e-02 1e-02 +g              5e-01 4e-01 5e-01  Correlation:  -               prn_0 k_m1  f___1 k1    k2    -k_m1           -0.17                         -f_parent_to_m1 -0.14  0.38                   -k1              0.13 -0.01 -0.02             -k2              0.04  0.14  0.03  0.20       -g              -0.07 -0.21 -0.06 -0.40 -0.53 +               pr_0 k_m1 f___ k1   k2   +k_m1           -0.2                     +f_parent_to_m1 -0.1  0.4                +k1              0.1  0.0  0.0           +k2              0.0  0.1  0.0  0.2      +g              -0.1 -0.2 -0.1 -0.4 -0.5  Random effects: -                    est. lower upper -SD.parent_0       1.2032  0.27  2.13 -SD.k_m1           0.0027 -8.31  8.31 -SD.f_parent_to_m1 0.3358  0.21  0.46 -SD.k1             0.4210  0.26  0.58 -SD.k2             0.2800  0.17  0.39 -SD.g              0.0100 -2.72  2.74 +                   est. lower upper +SD.parent_0       1.203   0.3   2.1 +SD.k_m1           0.003  -8.3   8.3 +SD.f_parent_to_m1 0.336   0.2   0.5 +SD.k1             0.421   0.3   0.6 +SD.k2             0.280   0.2   0.4 +SD.g              0.010  -2.7   2.7  Variance model:      est. lower upper -a.1  2.9   2.7     3 +a.1    3     3     3  Resulting formation fractions: -              ff -parent_m1   0.48 -parent_sink 0.52 +             ff +parent_m1   0.5 +parent_sink 0.5  Estimated disappearance times:         DT50 DT90 DT50back DT50_k1 DT50_k2 diff --git a/tests/testthat/test_mixed.R b/tests/testthat/test_mixed.R index dbcc66ce..130d4596 100644 --- a/tests/testthat/test_mixed.R +++ b/tests/testthat/test_mixed.R @@ -41,7 +41,7 @@ test_that("saemix results are reproducible for biphasic fits", {    test_summary$date.summary <- "Dummy date for testing"    test_summary$time <- c(elapsed = "test time 0") -  expect_known_output(print(test_summary, digits = 2), "summary_saem_biphasic_s.txt") +  expect_known_output(print(test_summary, digits = 1), "summary_saem_biphasic_s.txt")    dfop_sfo_pop <- as.numeric(dfop_sfo_pop)    no_k1 <- c(1, 2, 3, 5, 6) | 
