Description Usage Arguments Value Author(s) Examples
Given T ~ t(df) the function calculates the p-value and visualizes the result as the area under the density function. Furthermore the mean and the values one and two standard deviations from the mean are highlighted.
1 2 |
T_value |
The value of a test statistic with the underlying student-t distribution (values that are very far away from the mean - roughly more than 4 times the standard deviation - are not recommend to use as the p-value will be approximately 0 or 1 anyways) |
df |
The degree of freedom of the underlying student-t distribution (only df greater than 2). |
direction |
The 'direction' of the test with respect to T:
So for the first three options a one sided hypothesis gets tested and for the last one a two sided hypothesis is tested. |
a ggplot2 object displaying the results
Emanuel Sommer
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.