Description Usage Arguments Value
Performs a hypothesis test with 100(1-alpha) percent confidence for the difference in the means of two populations
1 2 3 | Mean.2Pop.Hypothesis(xbar1, xbar2, n1, n2, var1, var2,
differenceInPopulationMeans = 0, popVarKnown = F,
alternative = "two.sided", equal = "F", alpha = 0.05)
|
xbar1 |
the sample mean of population 1 |
xbar2 |
the sample mean of population 2 |
n1 |
the size of the sample from population 1 |
n2 |
the size of the sample from population 2 |
var1 |
the sample or population variance of population 1 (the latter only if it is known). |
var2 |
the sample or population variance of population 2 (the latter only if it is known). |
differenceInPopulationMeans |
the hypothesized difference between the population means. Set to 0 by default. |
popVarKnown |
boolean denoting whether the population variance is known. False by default. |
alternative |
string denoting the form of the alternative hypothesis Acceptable values are "smaller" (<), "greater" (>), and "one.sided" (=/=). |
equal |
boolean denoting whether the population variances are equal. False by default. Used only in the case when the population variances are unknown. |
alpha |
the significance level. Set to 0.05 by default. |
The test statistic, p-value, and conclusion of the hypothesis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.