-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d22158
commit 3b3a157
Showing
12 changed files
with
149 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# 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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters