-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add snaps for bland-altman function (#1201)
closes #1175 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Joe Zhu <[email protected]>
- Loading branch information
1 parent
0d4487f
commit ed3b84a
Showing
3 changed files
with
209 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# s_bland_altman works with default settings | ||
|
||
Code | ||
res | ||
Output | ||
$df | ||
average difference | ||
1 0.14626178 -1.5454312 | ||
2 0.48288981 -0.5984930 | ||
3 -0.38053181 -0.9101936 | ||
4 -0.19703545 3.5846325 | ||
5 0.47466676 -0.2903180 | ||
6 -0.43829856 -0.7643396 | ||
7 0.16581677 0.6432246 | ||
8 -0.36621383 2.2090771 | ||
9 0.04881564 1.0539314 | ||
10 0.05627658 -0.7233299 | ||
11 1.43523036 0.1531016 | ||
12 0.14352775 0.4926310 | ||
13 -0.11678449 -1.0089122 | ||
14 -1.13425246 -2.1608949 | ||
15 -0.12606432 2.5019905 | ||
16 -0.22996409 0.3700609 | ||
17 -0.20524011 0.3780997 | ||
18 0.44226140 1.0031496 | ||
19 0.96062329 -0.2788042 | ||
20 0.67853853 -0.1692744 | ||
$difference_mean | ||
[1] 0.1969954 | ||
$ci_mean | ||
[1] -0.3414723 0.7354631 | ||
$difference_sd | ||
[1] 1.392664 | ||
$difference_se | ||
[1] 0.3114091 | ||
$upper_agreement_limit | ||
[1] 2.487724 | ||
$lower_agreement_limit | ||
[1] -2.093733 | ||
$agreement_limit_se | ||
[1] 0.5393764 | ||
$upper_agreement_limit_ci | ||
[1] 1.555070 3.420377 | ||
$lower_agreement_limit_ci | ||
[1] -3.026386 -1.161079 | ||
$t_value | ||
[1] 1.729133 | ||
$n | ||
[1] 20 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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