Description Usage Arguments Details Value Examples
hypo returns test statistic (z or t-value), location of x_bar on the graph (relative to centre), which test is used and the corresponding p-value.
1 |
one_tail |
boolean value for type of test, e.g. |
unknown_pop_sd |
boolean, e.g. |
x_bar |
value, e.g. |
mu |
value, e.g. |
sd |
value, e.g. |
sample_size |
integer, e.g. |
By default, the computation assumes that sample standard deviation is used - if using population standard deviation (where it is known or given), set unknown_pop_sd to FALSE.
Similarly, the computation assumes that the one-tail test is used - if using the two-tail test, set one-tail to FALSE.
Returns the p-value.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.