You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/stats/strided/dztest/README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,11 @@ limitations under the License.
26
26
27
27
<sectionclass="intro">
28
28
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`.
30
34
31
35
</section>
32
36
@@ -150,6 +154,10 @@ var bool = ( out === results );
150
154
151
155
<sectionclass="notes">
152
156
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.
0 commit comments