Skip to content

Commit 05c699b

Browse files
committed
docs: add notes
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 2f3cca7 commit 05c699b

File tree

1 file changed

+9
-1
lines changed
  • lib/node_modules/@stdlib/stats/strided/dztest

1 file changed

+9
-1
lines changed

lib/node_modules/@stdlib/stats/strided/dztest/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ limitations under the License.
2626
2727
<section class="intro">
2828

29-
TODO: add introduction
29+
A Z-test commonly refers to a one-sample location test which compares the mean of a set of measurements `X` to a given constant when the standard deviation is known. A Z-test supports testing three different null hypotheses `H0`:
30+
31+
- `H0: μ ≥ μ0` versus the alternative hypothesis `H1: μ < μ0`.
32+
- `H0: μ ≤ μ0` versus the alternative hypothesis `H1: μ > μ0`.
33+
- `H0: μ = μ0` versus the alternative hypothesis `H1: μ ≠ μ0`.
3034

3135
</section>
3236

@@ -150,6 +154,10 @@ var bool = ( out === results );
150154

151155
<section class="notes">
152156

157+
## Notes
158+
159+
- As a general rule of thumb, a Z-test is most reliable when `N >= 50`. For smaller sample sizes or when the standard deviation is unknown, prefer a t-test.
160+
153161
</section>
154162

155163
<!-- /.notes -->

0 commit comments

Comments
 (0)