Skip to content

Commit

Permalink
Deploying to gh-pages from @ c93388c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
yh202109 committed Jul 19, 2024
1 parent cc174e3 commit b6004de
Show file tree
Hide file tree
Showing 19 changed files with 238 additions and 218 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="1721323042672" 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="1721410850177" 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
14 changes: 11 additions & 3 deletions _sources/statlab_kappa2.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,19 @@ where
and

.. math::
:label: eq_kappa2
:label: eq_kappa2_vn2
var\left(\sum_{j} N_{ij}^2 \right)
=& E\left(\sum_{j} N_{ij}^4\right) + E\left(\sum_j\sum_k N_{ij}^2 N_{ik}^2 \right) - \left(E\left(\sum_{j} N_{ij}^2\right)\right)^2 \\
=& 2R(R-1)\left(\sum_j p_j^2 - (2R-3)\left(\sum_j p_j^2\right)^2 + 2(R-2)\sum_j p_j^3\right).
=& E\left( \left(\sum_{j} N_{ij}^2\right)^2\right) - \left(E\left(\sum_{j} N_{ij}^2\right)\right)^2 \\
=& E\left(\sum_{j} N_{ij}^4\right) + E\left(\sum_j\sum_{k \neq j} N_{ij}^2 N_{ik}^2 \right) - \left(E\left(\sum_{j} N_{ij}^2\right)\right)^2.
:eq:`eq_kappa2_vn2` can be calculated as [2]_ :sup:`(Eq. 15)`

.. math::
var\left(\sum_{j} N_{ij}^2 \right)
=& 2R(R-1)\left(\sum_j p_j^2 - (2R-3)\left(\sum_j p_j^2\right)^2 + 2(R-2)\sum_j p_j^3\right),
*************
Lab Exercise
Expand Down
11 changes: 8 additions & 3 deletions _sources/std_cdisc.ipynb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The connection requires personal key. \n",
"Therefore, this pages does not include test code demonstrations.\n",
"Please see API Reference for functions included in `stdcdisc.lib`."
"### Get CT Packages\n",
"\n",
"To get a list of newest CT packages available:\n",
"\n",
"```python\n",
"cl.get_ct_list()\n",
"print(cl.ct_list_titles)\n",
"```"
]
},
{
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="1721323042672" 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="1721410850177" 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.599" timestamp="2024-07-18T17:17:04.417245" hostname="fv-az2021-355"><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.195" /><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.226" /><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.064" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_compare_file_size" time="0.754" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_get_outline_list" time="0.851" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_show_outline_tree" time="0.891" /></testsuite></testsuites>
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="38" time="8.964" timestamp="2024-07-19T17:40:31.062208" hostname="fv-az883-876"><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.002" /><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.202" /><testcase classname="tests.test_health_emt.TestEmt" name="test_expected_file_lists" time="0.005" /><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.008" /><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.007" /><testcase classname="tests.test_health_emt.TestEmt" name="test_find_pt_given_soc_primary_only" time="0.007" /><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.026" /><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.014" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree2" time="0.009" /><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.018" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_bootstrap_cohen_ci" time="0.236" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_cohen" time="0.071" /><testcase classname="tests.test_statlab_kappa.TestKappaCalculator" name="test_fleiss_kappa" time="0.071" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_compare_file_size" time="0.777" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_get_outline_list" time="0.926" /><testcase classname="tests.test_stdiso_pdfsummary.TestPdfSummary" name="test_show_outline_tree" time="0.855" /></testsuite></testsuites>
4 changes: 2 additions & 2 deletions _static/reports/junit/report.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions example_cdtg.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,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/9d09cb6faf2b296604203697d5dc338374e9885fd9d57fbbd440268a5f0c8ade.png" src="_images/9d09cb6faf2b296604203697d5dc338374e9885fd9d57fbbd440268a5f0c8ade.png" />
<img alt="_images/f3002788b186396814f829242835a3a845acaf96c4efdd948a22c5baf25dc495.png" src="_images/f3002788b186396814f829242835a3a845acaf96c4efdd948a22c5baf25dc495.png" />
</div>
</div>
<p>To create a line plot:</p>
Expand All @@ -145,7 +145,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/d998a589c240d64fdb44e3e809ed77a5755919c33257cfb01c24ed50373a473c.png" src="_images/d998a589c240d64fdb44e3e809ed77a5755919c33257cfb01c24ed50373a473c.png" />
<img alt="_images/b970724bd86e53fdab86a5e64b3d4dd18cd362cd3c04fe49b5e93a7aa1bc77c3.png" src="_images/b970724bd86e53fdab86a5e64b3d4dd18cd362cd3c04fe49b5e93a7aa1bc77c3.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 1371
1 STD1 TRT1 SUBJ01 VISIT1 2 810
0 STD1 TRT1 SUBJ01 VISIT1 1 1319
1 STD1 TRT1 SUBJ01 VISIT1 2 1432
</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 2
0 STD1 TRT1 SUBJ01 VISIT1 0 1
1 STD1 TRT1 SUBJ01 VISIT2 0 0

N(1000&lt;=V&lt;=2000) N(all)
0 1 3
1 3 3
0 4 5
1 2 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 4 12 4 20
1 STD1 TRT1 VISIT2 4 7 4 15
2 STD1 TRT1 VISIT3 6 5 2 13
3 STD1 TRT1 VISIT4 3 3 2 8
4 STD1 TRT2 VISIT1 5 11 4 20
5 STD1 TRT2 VISIT2 5 6 3 14
6 STD1 TRT2 VISIT3 2 5 2 9
7 STD1 TRT2 VISIT4 0 3 1 4
8 STD2 TRT1 VISIT1 6 10 4 20
9 STD2 TRT1 VISIT2 6 5 4 15
10 STD2 TRT1 VISIT3 1 5 2 8
11 STD2 TRT1 VISIT4 1 2 0 3
12 STD2 TRT2 VISIT1 6 6 8 20
13 STD2 TRT2 VISIT2 4 11 3 18
14 STD2 TRT2 VISIT3 6 5 6 17
15 STD2 TRT2 VISIT4 0 3 2 5
0 STD1 TRT1 VISIT1 9 9 2 20
1 STD1 TRT1 VISIT2 3 8 8 19
2 STD1 TRT1 VISIT3 8 5 1 14
3 STD1 TRT1 VISIT4 2 3 3 8
4 STD1 TRT2 VISIT1 5 7 8 20
5 STD1 TRT2 VISIT2 5 4 3 12
6 STD1 TRT2 VISIT3 1 5 0 6
7 STD1 TRT2 VISIT4 2 0 1 3
8 STD2 TRT1 VISIT1 5 12 3 20
9 STD2 TRT1 VISIT2 6 4 5 15
10 STD2 TRT1 VISIT3 5 3 1 9
11 STD2 TRT1 VISIT4 0 2 1 3
12 STD2 TRT2 VISIT1 5 6 9 20
13 STD2 TRT2 VISIT2 3 12 3 18
14 STD2 TRT2 VISIT3 2 5 4 11
15 STD2 TRT2 VISIT4 1 3 1 5
</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 8 42 20 70
1 STD1 TRT1 VISIT2 8 24 20 52
2 STD1 TRT1 VISIT3 12 18 10 40
3 STD1 TRT1 VISIT4 6 10 10 26
4 STD1 TRT2 VISIT1 10 34 20 64
5 STD1 TRT2 VISIT2 10 23 15 48
6 STD1 TRT2 VISIT3 4 16 10 30
7 STD1 TRT2 VISIT4 0 10 5 15
8 STD2 TRT1 VISIT1 12 34 20 66
9 STD2 TRT1 VISIT2 12 17 20 49
10 STD2 TRT1 VISIT3 2 17 10 29
11 STD2 TRT1 VISIT4 2 7 0 9
12 STD2 TRT2 VISIT1 12 23 40 75
13 STD2 TRT2 VISIT2 8 39 15 62
14 STD2 TRT2 VISIT3 12 18 30 60
15 STD2 TRT2 VISIT4 0 10 10 20
0 STD1 TRT1 VISIT1 18 30 10 58
1 STD1 TRT1 VISIT2 6 30 40 76
2 STD1 TRT1 VISIT3 16 17 5 38
3 STD1 TRT1 VISIT4 4 10 15 29
4 STD1 TRT2 VISIT1 10 25 40 75
5 STD1 TRT2 VISIT2 10 15 15 40
6 STD1 TRT2 VISIT3 2 18 0 20
7 STD1 TRT2 VISIT4 4 0 5 9
8 STD2 TRT1 VISIT1 10 41 15 66
9 STD2 TRT1 VISIT2 12 15 25 52
10 STD2 TRT1 VISIT3 10 11 5 26
11 STD2 TRT1 VISIT4 0 8 5 13
12 STD2 TRT2 VISIT1 10 21 45 76
13 STD2 TRT2 VISIT2 6 42 15 63
14 STD2 TRT2 VISIT3 4 18 20 42
15 STD2 TRT2 VISIT4 2 9 5 16
</pre></div>
</div>
</div>
Expand Down
6 changes: 0 additions & 6 deletions example_ectd2.html
Original file line number Diff line number Diff line change
Expand Up @@ -598,9 +598,6 @@ <h2>Module 4<a class="headerlink" href="#module-4" title="Link to this heading">
└── 4.3 Literature references
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>
</pre></div>
</div>
</div>
</div>
</section>
Expand Down Expand Up @@ -788,9 +785,6 @@ <h2>Module 5<a class="headerlink" href="#module-5" title="Link to this heading">
└── 5.4 Literature references
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>
</pre></div>
</div>
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit b6004de

Please sign in to comment.