Skip to content

Commit

Permalink
Deploying to gh-pages from @ adc194e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
yh202109 committed Jul 21, 2024
1 parent 5375778 commit 829f20d
Show file tree
Hide file tree
Showing 16 changed files with 196 additions and 192 deletions.
4 changes: 2 additions & 2 deletions _downloads/214d05cd65dcc9387b037da1ce5a5c33/report.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _downloads/9911a4d807ac9f1a695f0aa2cf687076/coverage.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage version="7.6.0" timestamp="1721587865858" lines-valid="1494" lines-covered="642" line-rate="0.4297" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="7.6.0" timestamp="1721588024613" lines-valid="1494" lines-covered="642" line-rate="0.4297" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.6.0 -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions _sources/statlab_kappa2.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,8 @@ and
To calculate :eq:`eq_kappa2_vn2`,
we can use the MGF, :math:`\left(\sum_{j}p_je^{t_j}\right)^R`, to derive
:math:`E\left(N_{ij}^2\right) = Rp_j + R(R-1)p_j^2`,
:math:`E\left(N_{ij}^3\right) = Rp_j + 3R(R-1)p_j^2 + R(R-1)(R-2)p_j^3`, and
:math:`E\left(N_{ij}^4\right) =` (Lab Exercise; to be used in :eq:`eq_kappa2_vn3`).
:math:`E\left(N_{ij}^2\right) = Rp_j + R(R-1)p_j^2`, and
:math:`E\left(N_{ij}^3\right) = Rp_j + 3R(R-1)p_j^2 + R(R-1)(R-2)p_j^3`.

The first element of :eq:`eq_kappa2_vn2` can be calculated as [2]_ :sup:`(Eq. 12)`

Expand Down
2 changes: 1 addition & 1 deletion _static/reports/coverage/coverage.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage version="7.6.0" timestamp="1721587865858" lines-valid="1494" lines-covered="642" line-rate="0.4297" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="7.6.0" timestamp="1721588024613" lines-valid="1494" lines-covered="642" line-rate="0.4297" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.6.0 -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
Expand Down
2 changes: 1 addition & 1 deletion _static/reports/junit/junit.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="38" time="8.804" timestamp="2024-07-21T18:50:47.403191+00:00" hostname="fv-az915-703"><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_invalid_input" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_missing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_with_difference" time="0.004" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_without_difference" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_existing_column" time="0.010" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_group" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_same_group_and_column" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_find_section_given_words" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_find_section_given_words_invalid_include" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_find_section_given_words_invalid_outfmt" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_load_list" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_show_ctoc_tree" time="0.199" /><testcase classname="tests.test_health_emt.TestEmt" name="test_expected_file_lists" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_files" time="0.005" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_hlgt" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_hlt" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_llt" time="0.007" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_pt" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_pt_given_soc" time="0.006" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_pt_given_soc_primary_only" time="0.006" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_soc" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_list_files" time="0.025" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_dataframe" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_json" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_list" time="0.000" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_string" time="0.000" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree" time="0.013" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree2" time="0.008" /><testcase classname="tests.test_statlab_corr.TestCorrCalculator" name="test_calculate_kendall_tau_with_dataframe" time="0.002" /><testcase classname="tests.test_statlab_corr.TestCorrCalculator" name="test_calculate_kendall_tau_with_list" time="0.002" /><testcase classname="tests.test_statlab_corr.TestCorrCalculator" name="test_plot_y_list" time="0.017" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_bootstrap_cohen_ci" time="0.223" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_cohen" time="0.067" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_fleiss_kappa" time="0.070" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_compare_file_size" time="0.751" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_get_outline_list" time="0.856" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_show_outline_tree" time="0.846" /></testsuite></testsuites>
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="38" time="8.802" timestamp="2024-07-21T18:53:26.025859+00:00" hostname="fv-az1055-998"><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_invalid_input" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_missing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_with_difference" time="0.005" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_without_difference" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_existing_column" time="0.010" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_group" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_same_group_and_column" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_find_section_given_words" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_find_section_given_words_invalid_include" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_find_section_given_words_invalid_outfmt" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_load_list" time="0.001" /><testcase classname="tests.test_health_ectd.TestCtocByFDA" name="test_show_ctoc_tree" time="0.197" /><testcase classname="tests.test_health_emt.TestEmt" name="test_expected_file_lists" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_files" time="0.005" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_hlgt" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_hlt" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_llt" time="0.007" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_pt" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_pt_given_soc" time="0.006" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_pt_given_soc_primary_only" time="0.006" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_soc" time="0.004" /><testcase classname="tests.test_health_emt.TestEmt" name="test_list_files" time="0.025" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_dataframe" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_json" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_list" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_string" time="0.000" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree" time="0.013" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree2" time="0.008" /><testcase classname="tests.test_statlab_corr.TestCorrCalculator" name="test_calculate_kendall_tau_with_dataframe" time="0.002" /><testcase classname="tests.test_statlab_corr.TestCorrCalculator" name="test_calculate_kendall_tau_with_list" time="0.002" /><testcase classname="tests.test_statlab_corr.TestCorrCalculator" name="test_plot_y_list" time="0.017" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_bootstrap_cohen_ci" time="0.231" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_cohen" time="0.068" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_fleiss_kappa" time="0.065" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_compare_file_size" time="0.765" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_get_outline_list" time="0.864" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_show_outline_tree" time="0.834" /></testsuite></testsuites>
4 changes: 2 additions & 2 deletions _static/reports/junit/report.html

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions example_cdtg.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,13 @@ <h1>U/Graph/Categorical Plots Using catPlotter<a class="headerlink" href="#u-gra
</div>
</div>
<div class="cell_output docutils container">
<img alt="_images/833bf347c2aca2fa4418132f6024d14cac03816c51d733a6cecd3b37f4f6c949.png" src="_images/833bf347c2aca2fa4418132f6024d14cac03816c51d733a6cecd3b37f4f6c949.png" />
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 15.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
warnings.warn(msg, UserWarning)
/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 10.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
warnings.warn(msg, UserWarning)
</pre></div>
</div>
<img alt="_images/933969f373f160b503820ede7fca91e75ac216d5454ffd427d75f27fef3b9a90.png" src="_images/933969f373f160b503820ede7fca91e75ac216d5454ffd427d75f27fef3b9a90.png" />
</div>
</div>
<p>To create a line plot:</p>
Expand All @@ -145,7 +151,7 @@ <h1>U/Graph/Categorical Plots Using catPlotter<a class="headerlink" href="#u-gra
</div>
</div>
<div class="cell_output docutils container">
<img alt="_images/542a85bd24c1987e4732c0b26f6649f4390a8c15e1a5ad716744c3c796163b41.png" src="_images/542a85bd24c1987e4732c0b26f6649f4390a8c15e1a5ad716744c3c796163b41.png" />
<img alt="_images/edbcb05be23c6de576d319f47189a8a15a4645ca09a373ee63d85bfe47ce2cb0.png" src="_images/edbcb05be23c6de576d319f47189a8a15a4645ca09a373ee63d85bfe47ce2cb0.png" />
</div>
</div>
</section>
Expand Down
74 changes: 37 additions & 37 deletions example_clinical.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ <h2>Example 1<a class="headerlink" href="#example-1" title="Link to this heading
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> study treatment subject visit meal calorie
0 STD1 TRT1 SUBJ01 VISIT1 1 1903
1 STD1 TRT1 SUBJ01 VISIT1 2 768
0 STD1 TRT1 SUBJ01 VISIT1 1 1208
1 STD1 TRT1 SUBJ01 VISIT1 2 1398
</pre></div>
</div>
</div>
Expand All @@ -149,12 +149,12 @@ <h2>Example 1<a class="headerlink" href="#example-1" title="Link to this heading
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> study treatment subject visit N(0&lt;=X&lt;500) N(500&lt;=X&lt;1000) \
0 STD1 TRT1 SUBJ01 VISIT1 0 3
1 STD1 TRT1 SUBJ01 VISIT2 0 4
0 STD1 TRT1 SUBJ01 VISIT1 1 2
1 STD1 TRT1 SUBJ02 VISIT1 0 1

N(1000&lt;=V&lt;=2000) N(all)
0 2 5
1 1 5
1 1 2
</pre></div>
</div>
</div>
Expand All @@ -169,22 +169,22 @@ <h2>Example 1<a class="headerlink" href="#example-1" title="Link to this heading
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> study treatment visit N(0&lt;=X&lt;3) N(3&lt;=X&lt;5) N(5&lt;=V&lt;=7) N(all)
0 STD1 TRT1 VISIT1 2 10 8 20
1 STD1 TRT1 VISIT2 4 6 7 17
2 STD1 TRT1 VISIT3 4 9 0 13
3 STD1 TRT1 VISIT4 2 1 2 5
4 STD1 TRT2 VISIT1 2 12 6 20
5 STD1 TRT2 VISIT2 5 3 3 11
6 STD1 TRT2 VISIT3 3 4 0 7
7 STD1 TRT2 VISIT4 2 0 2 4
8 STD2 TRT1 VISIT1 6 11 3 20
9 STD2 TRT1 VISIT2 6 7 3 16
10 STD2 TRT1 VISIT3 2 9 1 12
11 STD2 TRT1 VISIT4 1 3 1 5
12 STD2 TRT2 VISIT1 1 15 4 20
13 STD2 TRT2 VISIT2 4 7 5 16
14 STD2 TRT2 VISIT3 3 9 0 12
15 STD2 TRT2 VISIT4 1 2 0 3
0 STD1 TRT1 VISIT1 5 9 6 20
1 STD1 TRT1 VISIT2 4 9 4 17
2 STD1 TRT1 VISIT3 1 8 4 13
3 STD1 TRT1 VISIT4 3 3 0 6
4 STD1 TRT2 VISIT1 3 15 2 20
5 STD1 TRT2 VISIT2 1 10 2 13
6 STD1 TRT2 VISIT3 3 4 2 9
7 STD1 TRT2 VISIT4 1 2 1 4
8 STD2 TRT1 VISIT1 7 9 4 20
9 STD2 TRT1 VISIT2 5 6 5 16
10 STD2 TRT1 VISIT3 4 7 3 14
11 STD2 TRT1 VISIT4 2 0 0 2
12 STD2 TRT2 VISIT1 4 8 8 20
13 STD2 TRT2 VISIT2 4 11 3 18
14 STD2 TRT2 VISIT3 4 6 2 12
15 STD2 TRT2 VISIT4 3 3 2 8
</pre></div>
</div>
</div>
Expand All @@ -198,22 +198,22 @@ <h2>Example 1<a class="headerlink" href="#example-1" title="Link to this heading
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> study treatment visit Sum(0&lt;=X&lt;3) Sum(3&lt;=X&lt;5) Sum(5&lt;=V&lt;=7) Sum(all)
0 STD1 TRT1 VISIT1 4 36 40 80
1 STD1 TRT1 VISIT2 8 23 35 66
2 STD1 TRT1 VISIT3 8 33 0 41
3 STD1 TRT1 VISIT4 4 3 10 17
4 STD1 TRT2 VISIT1 4 43 30 77
5 STD1 TRT2 VISIT2 10 11 15 36
6 STD1 TRT2 VISIT3 6 13 0 19
7 STD1 TRT2 VISIT4 4 0 10 14
8 STD2 TRT1 VISIT1 12 41 15 68
9 STD2 TRT1 VISIT2 12 23 15 50
10 STD2 TRT1 VISIT3 4 33 5 42
11 STD2 TRT1 VISIT4 2 10 5 17
12 STD2 TRT2 VISIT1 2 56 20 78
13 STD2 TRT2 VISIT2 8 28 25 61
14 STD2 TRT2 VISIT3 6 32 0 38
15 STD2 TRT2 VISIT4 2 8 0 10
0 STD1 TRT1 VISIT1 10 33 30 73
1 STD1 TRT1 VISIT2 8 31 20 59
2 STD1 TRT1 VISIT3 2 27 20 49
3 STD1 TRT1 VISIT4 6 10 0 16
4 STD1 TRT2 VISIT1 6 53 10 69
5 STD1 TRT2 VISIT2 2 32 10 44
6 STD1 TRT2 VISIT3 6 14 10 30
7 STD1 TRT2 VISIT4 2 8 5 15
8 STD2 TRT1 VISIT1 14 29 20 63
9 STD2 TRT1 VISIT2 10 20 25 55
10 STD2 TRT1 VISIT3 8 24 15 47
11 STD2 TRT1 VISIT4 4 0 0 4
12 STD2 TRT2 VISIT1 8 29 40 77
13 STD2 TRT2 VISIT2 8 39 15 62
14 STD2 TRT2 VISIT3 8 20 10 38
15 STD2 TRT2 VISIT4 6 11 10 27
</pre></div>
</div>
</div>
Expand Down
Loading

0 comments on commit 829f20d

Please sign in to comment.