Formulas, Statistical Tables and R Commands: VVA Formula sheet
VVA Formula sheet V (Hypothesis Testing and Confidence Intervals)
Means
One-sample Test for a Population Mean
known
Standard error for :
Test statistic:
Distribution of the test statistic under :
unknown
Standard error for :
Test statistic:
Distribution of the test statistic under :
Confidence Interval for a Population Mean
known
General formula for computing a CI for :
Where is the critical value of the Standard Normal Distribution such that:
If we want the margin of error for a confidence interval for a population mean to be no larger than , then the minimum sample size required is:
rounded up to the next whole number.
unknown
General formula for computing a CI for :
Where is the critical value of the distribution such that:
Paired Samples t-Test
Standard error for :
Test statistic:
Assuming is true, the -statistic follows the -distribution with degrees of freedom.
Confidence Interval for a Population Mean Difference
The general formula for computing a for is:
Where is the critical value of the distribution such that:
Independent Samples t-Test
Standard error for :
Test statistic:
Assuming is true, the -statistic follows the -distribution with degrees of freedom.
Confidence Interval for the Difference Between Two Population Means
The general formula for computing a for is:
Where is the critical value of the -distribution with degrees of freedom such that:
Proportions
One-sample Test for a Population Proportion
Standard error for :
Test statistic:
Assuming is true, the -statistic follows the Standard Normal Distribution.
Confidence Interval for a Population Proportion
The general formula for computing a for is:
Where is the critical value of the Standard Normal Distribution such that:
If we want the margin of error for a confidence interval for a population proportion to be no larger than , then the minimum sample size required is:
rounded up to the next whole number.
If you want to use a confidence interval to perform a hypothesis test about a population proportion , you should use the hypothesized value of the population proportion to calculate the confidence interval:
Independent Proportions Z-Test
Pooled sample proportion:
Standard error for :
Test statistic:
Assuming is true, the -statistic follows the Standard Normal Distribution.
Confidence Interval for the Difference Between Two Population Proportions
The general formula for computing a for is:
Where is the critical value of the Standard Normal Distribution such that:
Categorical Association
Chi-square Goodness of Fit Test
The observed frequency is the number of individuals in the sample that are classified as a particular category and is denoted by .
The expected frequency is the number of individuals that one would expect to be classified as a particular category based on the null hypothesis and is denoted by .
To calculate the expected frequency of category , multiply the proportion specified by the null hypothesis by the total sample size:
Test statistic:
Assuming is true, the -statistic will (approximately) follow a distribution with degrees of freedom, where is the number of possible categories.
Chi-square Test for Independence
The observed frequency is the number of individuals in the sample that are classified as a particular category and is denoted by .
The expected frequency is the number of individuals that one would expect to be classified as a particular category based on the null hypothesis and is denoted by .
The expected frequency of a cell is calculated with the following formula:
where is frequency total for the row and is the frequency total for the column.
Test statistic:
Assuming is true, the -statistic will (approximately) follow a -distribution with degrees of freedom, where is the number of rows and the number of columns.