pval_t | R Documentation |
Calculates the p-value for a proposed mean for a population with unknown standard deviation, using the t-statistic (t distribution).
pval_t(x, s, n, mu, side = c("two", "one"))
x |
Sample mean |
s |
Sample standard deviation |
n |
Sample size |
mu |
Population mean |
side |
To either get a two-tail or one-tail p-value (Default is "two") |
P-value
x <- 6.14 s <- 0.803 n <- 9 mu <- 7 pval_t(x, s, n, mu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.