Description Usage Arguments Details Value Examples
View source: R/mypvalue from Lab 12.R
Plots the p-value corresponding to a given t-statistic, sample size, and alpha
1 | mypvalue(t0, xmax = 4, n = 20, alpha = 0.05)
|
t0 |
value of the t statistic |
xmax |
the maximum value of x shown on the graph |
n |
the number of data points in the sample |
alpha |
value that determines the quantiles |
Plots rejection region for t values as well
plot of p-value and rejection region for t distribution
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.