diff --git a/tests/testthat/_snaps/model_parameters.fixest.md b/tests/testthat/_snaps/model_parameters.fixest.md index 6106b566f..c095a3fe0 100644 --- a/tests/testthat/_snaps/model_parameters.fixest.md +++ b/tests/testthat/_snaps/model_parameters.fixest.md @@ -1,7 +1,7 @@ # model_parameters.fixest Code - model_parameters(m1, summary = TRUE, verbose = FALSE) + model_parameters(m1, include_info = TRUE, verbose = FALSE) Output # Fixed Effects @@ -11,6 +11,7 @@ phq4 | -3.66 | 0.67 | [-4.98, -2.34] | -5.45 | < .001 Model: QoL ~ time + phq4 (564 Observations) - Residual standard deviation: 12.365 (df = 561) + Sigma: 12.365 (df = 561) r2: 0.743; ar2: 0.613; wr2: 0.180; war2: 0.175 + RMSE : 10.069 diff --git a/tests/testthat/_snaps/model_parameters.fixest.new.md b/tests/testthat/_snaps/model_parameters.fixest.new.md deleted file mode 100644 index c095a3fe0..000000000 --- a/tests/testthat/_snaps/model_parameters.fixest.new.md +++ /dev/null @@ -1,17 +0,0 @@ -# model_parameters.fixest - - Code - model_parameters(m1, include_info = TRUE, verbose = FALSE) - Output - # Fixed Effects - - Parameter | Coefficient | SE | 95% CI | t(187) | p - ----------------------------------------------------------------- - time | 1.09 | 0.67 | [-0.23, 2.41] | 1.63 | 0.106 - phq4 | -3.66 | 0.67 | [-4.98, -2.34] | -5.45 | < .001 - - Model: QoL ~ time + phq4 (564 Observations) - Sigma: 12.365 (df = 561) - r2: 0.743; ar2: 0.613; wr2: 0.180; war2: 0.175 - RMSE : 10.069 - diff --git a/tests/testthat/_snaps/model_parameters.glm.md b/tests/testthat/_snaps/model_parameters.glm.md index c4b65f584..716d9eeb0 100644 --- a/tests/testthat/_snaps/model_parameters.glm.md +++ b/tests/testthat/_snaps/model_parameters.glm.md @@ -9,8 +9,9 @@ wt | -5.34 | 0.56 | [-6.49, -4.20] | -9.56 | < .001 Model: mpg ~ wt (32 Observations) - Residual standard deviation: 3.046 (df = 30) + Sigma: 3.046 (df = 30) R2: 0.753; adjusted R2: 0.745 + RMSE : 2.949 --- diff --git a/tests/testthat/_snaps/model_parameters.glm.new.md b/tests/testthat/_snaps/model_parameters.glm.new.md deleted file mode 100644 index 716d9eeb0..000000000 --- a/tests/testthat/_snaps/model_parameters.glm.new.md +++ /dev/null @@ -1,39 +0,0 @@ -# print digits model_parameters.lm - - Code - params - Output - Parameter | Coefficient | SE | 95% CI | t(30) | p - ------------------------------------------------------------------ - (Intercept) | 37.29 | 1.88 | [33.45, 41.12] | 19.86 | < .001 - wt | -5.34 | 0.56 | [-6.49, -4.20] | -9.56 | < .001 - - Model: mpg ~ wt (32 Observations) - Sigma: 3.046 (df = 30) - R2: 0.753; adjusted R2: 0.745 - RMSE : 2.949 - ---- - - Code - params - Output - Parameter | Coefficient | SE | 95% CI | t(30) | p - ------------------------------------------------------------------ - (Intercept) | 37.29 | 1.88 | [33.45, 41.12] | 19.86 | < .001 - wt | -5.34 | 0.56 | [-6.49, -4.20] | -9.56 | < .001 - -# model_parameters.glm - Gamma - print - - Code - mp - Output - Parameter | Prevalence Ratio | SE | 95% CI | t(7) | p - --------------------------------------------------------------------------- - (Intercept) | 245.48 | 46.72 | [173.66, 351.67] | 28.92 | < .001 - u [log] | 0.55 | 0.03 | [ 0.49, 0.61] | -10.88 | < .001 - Message - - Uncertainty intervals (profile-likelihood) and p-values (two-tailed) - computed using a Wald t-distribution approximation. - diff --git a/tests/testthat/_snaps/model_parameters.mixed.md b/tests/testthat/_snaps/model_parameters.mixed.md index 9955f33b9..c89fefb71 100644 --- a/tests/testthat/_snaps/model_parameters.mixed.md +++ b/tests/testthat/_snaps/model_parameters.mixed.md @@ -52,7 +52,7 @@ --- Code - model_parameters(m1, effects = "fixed", summary = TRUE) + model_parameters(m1, effects = "fixed", include_info = TRUE) Output # Fixed Effects @@ -62,8 +62,9 @@ cyl | 0.40 | 0.08 | [ 0.25, 0.56] | 5.29 | < .001 Model: wt ~ cyl (32 Observations) - Residual standard deviation: 0.594 (df = 28) + Sigma: 0.594 (df = 28) Conditional R2: 0.628; Marginal R2: 0.550 + RMSE : 0.564 Message Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed diff --git a/tests/testthat/_snaps/model_parameters.mixed.new.md b/tests/testthat/_snaps/model_parameters.mixed.new.md deleted file mode 100644 index c89fefb71..000000000 --- a/tests/testthat/_snaps/model_parameters.mixed.new.md +++ /dev/null @@ -1,72 +0,0 @@ -# print-model_parameters - - Code - model_parameters(model, effects = "fixed") - Output - Parameter | Coefficient | SE | 95% CI | t(558) | p - ------------------------------------------------------------------- - (Intercept) | 71.53 | 1.56 | [68.48, 74.59] | 45.98 | < .001 - time | 1.09 | 0.64 | [-0.17, 2.34] | 1.70 | 0.089 - - # Within-Effects - - Parameter | Coefficient | SE | 95% CI | t(558) | p - ------------------------------------------------------------------- - phq4 within | -3.66 | 0.41 | [-4.46, -2.86] | -8.95 | < .001 - - # Between-Effects - - Parameter | Coefficient | SE | 95% CI | t(558) | p - -------------------------------------------------------------------- - phq4 between | -6.28 | 0.50 | [-7.27, -5.30] | -12.53 | < .001 - Message - - Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed - using a Wald t-distribution approximation. - ---- - - Code - model_parameters(m1, effects = "all") - Output - # Fixed Effects - - Parameter | Coefficient | SE | 95% CI | t(28) | p - ----------------------------------------------------------------- - (Intercept) | 0.65 | 0.50 | [-0.38, 1.68] | 1.29 | 0.206 - cyl | 0.40 | 0.08 | [ 0.25, 0.56] | 5.29 | < .001 - - # Random Effects - - Parameter | Coefficient | SE | 95% CI - -------------------------------------------------------- - SD (Intercept: gear) | 0.27 | 0.24 | [0.05, 1.54] - SD (Residual) | 0.59 | 0.08 | [0.46, 0.77] - Message - - Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed - using a Wald t-distribution approximation. Uncertainty intervals for - random effect variances computed using a Wald z-distribution - approximation. - ---- - - Code - model_parameters(m1, effects = "fixed", include_info = TRUE) - Output - # Fixed Effects - - Parameter | Coefficient | SE | 95% CI | t(28) | p - ----------------------------------------------------------------- - (Intercept) | 0.65 | 0.50 | [-0.38, 1.68] | 1.29 | 0.206 - cyl | 0.40 | 0.08 | [ 0.25, 0.56] | 5.29 | < .001 - - Model: wt ~ cyl (32 Observations) - Sigma: 0.594 (df = 28) - Conditional R2: 0.628; Marginal R2: 0.550 - RMSE : 0.564 - Message - - Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed - using a Wald t-distribution approximation. -